signing a file using gnuPG libraries

Werner Koch wk at gnupg.org
Mon Aug 16 20:07:14 CEST 2004


On Mon, 16 Aug 2004 16:24:46 +0200, Cyprien Simons said:

> I'm trying to use the GnuPG libraries, and I encounter a problem in signing a 

Libraries?  GnuPG is not a library.  However, GPGME provides a library
based interface to GnuPG.

> file. I use read_passphrase_from_fd( int pwd_fd ) and then 
> clearsign_file( ... ) to do the job. But somehow I get a "bad
> passphrase". 

Cannibalizing GnuPG is not a simple task; you need to understand how
the modules interact with each other.

  Werner




More information about the Gnupg-devel mailing list