How do I flush a bad symmetric password from gpg-agent?
dougb at dougbarton.us
Wed Aug 19 21:32:20 CEST 2009
Werner Koch wrote:
> On Tue, 18 Aug 2009 20:28, dougb at dougbarton.us said:
>> Today I mis-typed a passphrase for a symmetrically encrypted file and
>> was surprised to discover that gpg-agent had stored the bad passphrase
>> and would not let me access the file. I have occasionally in the past
> This is a new and probably not too well tested feature. I'll check whey
> this is going wrong.
Fair enough, thanks.
>> Looking through the man page I don't see any way to flush the bad
>> password from the agent. Killing and restarting works of course, but
> That is pretty easy: Give the gpg-agent a HUP ("pkill -HUP gpg-agent")
> or better use "gpgconf --reload gpg-agent" which basically does the
> This signal flushes all cached passphrases
Ok, now I'm really embarrassed. I thought sure I had read the whole
gpg-agent man page AND searched for the word "flush" but obviously I
was wrong on both counts. :-/
More information about the Gnupg-users