How to clear gpgme passphrase cache or enter the passphrase every time?
mgharibi at evertz.com
Wed Oct 31 18:02:18 CET 2012
I have invoked the program in the following way:
/root/gpgme-1.3.2/tests/run-sign.o --key FPR_ID_OF_KEY samplefile
From: Werner Koch [mailto:wk at gnupg.org]
Sent: Wednesday, October 31, 2012 12:52 PM
To: Mojtaba Gharibi
Cc: gnupg-users at gnupg.org
Subject: Re: How to clear gpgme passphrase cache or enter the passphrase
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
You don't need to paste the program, just the version of gpgme is
> However, the program never asks for my passphrase. Based on the error
> message, I suspect it has cached some wrong passphrase. So I either
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.
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gnupg-users