How to clear gpgme passphrase cache or enter the passphrase every time?
Mojtaba Gharibi
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
Thanks!
M.
-----Original Message-----
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
every time?
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