Generate a key pair with only one command line

Werner Koch wk at
Tue Mar 31 11:37:30 CEST 2009

On 03/27/2009 07:54 AM, Joao Paulo Fernandes wrote:
>  is it possible to generate a gpg key--pair with only one command line ?
> Im trying to integrate GPG with Java but i m unable to, because gpg need a
> human interaction to choose data to gen the key.
> Some body could help me ?

FWIW, there is a Java binding for gpgme at
      50216 Jan 31  2005
     204984 Jan 31  2005 gnupgjava-0.1.2-alpha.jar
         65 Jan 31  2005 gnupgjava-0.1.2-alpha.jar.sig
It is a bit rusty and probably needs some polishing but might be useful.

GPGME is a library to make access to GnuPG easier and the recommended
way for applications to use GnuPG.



Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.

More information about the Gnupg-devel mailing list