gnupg API access

David Shaw dshaw at jabberwocky.com
Fri Jan 9 11:12:35 CET 2004


On Fri, Jan 09, 2004 at 01:09:16PM +0100, Adrian von Bidder wrote:
Content-Description: signed data
> On Tuesday 06 January 2004 16:01, Dominik wrote:
> 
> > btw: the enigma project for mozilla mail seems to use the command line
> > utility directly, the console contains the output of it. But that cant
> > be the preferred way, is it? What do they do with localized versions of
> > gpg?!?
> 
> Hi,
> 
> Don't know anything about the gpgme library. But to access gnupg
> directly, you don't parse the normal userinterface, but you use the
> --status-fd, --passphrase-fd and --command-fd (and perhaps
> --attribute-fd) arguments, this interface should be stable and will
> not be localized.

Note that this interface is the same one that Enigmail and GPGME
uses.  It is a good general way to call GnuPG from another program.

David



More information about the Gnupg-users mailing list