How to clear gpgme passphrase cache or enter the passphrase every time?

Werner Koch wk at gnupg.org
Wed Oct 31 17:51:56 CET 2012


On Wed, 31 Oct 2012 16:36, mgharibi at evertz.com said:

> I am using the following test program shipped with GPGME to sign a
> document.

You don't need to paste the program, just the version of gpgme is
sufficient.

> However, the program never asks for my passphrase. Based on the error
> message, I suspect it has cached some wrong passphrase. So I either need

GPGME does not cache any passphrases.  That is the task of gpg-agent.

> run-sign: signing failed: Bad passphrase

It would be useful to see how you invoked the program what version of
GPGME, GnuPG, and what OS you are using.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-users mailing list