GPGME passphrase

Sebastian Hübner huebners at uni-potsdam.de
Thu Jul 22 15:48:51 CEST 2010


Hello everybody,

I am using the GPGME library for signing files with GnuPG.
Basically everthing works fine.

But I have the following question:

When I run my application for the first time I have to enter the
passphrase for the private key.
When I run the application again I don't have to enter the passphrase
anymore
even if I've cleared the context (gpgme_signers_clear(ctx)) before
signing the file.

I'd like to enter the passphrase every time I run the application.
How can I achive that?


Thanks in advance,
Sebastian Hübner



More information about the Gnupg-devel mailing list