gpg-preset-passphrase
kkaputa
kenny at meshmx.com
Mon Mar 8 06:07:34 CET 2010
I have a patch for fixing the 'forget' option. I hope this is of some help.
http://old.nabble.com/file/p27817136/clear_passphrase.patch
clear_passphrase.patch
It would be nice to have a more complete tool for administering passphrases,
or a simpler interface to pinentry :)
/K
Daniel Eggleston-2 wrote:
>
> I'm looking for some help explaining the behavior of
> gpg-preset-passphrase.
>
> First, the manpage states:
>
> Passphrases set with this utility don't expire unless the
> --forget
> option is used to explicitly clear them from the cache --- or
> gpg-agent
> is either restarted or reloaded (by sending a SIGHUP to it). It
> is
>
> But it looks like gpg-preset-passphrase cached passphrases are still
> subject
> to the --max-cache-ttl option in gpg-agent ... this behavior is hardly
> "Don't expire". Is there a way to change this behavior?
>
> Second, the manpage also states:
>
> --forget
> Flush the passphrase for the given cache ID from the cache.
>
> The implication (to me) is that if I cache a passphrase with
> gpg-preset-passphrase, then run gpg-preset-passphrase with the same key
> fingerprint and the --forget option, that gpg-agent will no longer cache
> that entry. When this didn't pan out, I thought maybe the forget command
> simply makes the cached passphrase obey the --default-cache-ttl option,
> but
> no dice.
>
> So, basically the --preset command is subject to --max-cache-ttl (although
> the documentation implies otherwise), and the --forget command doesn't
> appear to change anything at all. Am I doing it wrong?
>
> Any help is appreciated,
>
> --
>
> Daniel
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>
>
--
View this message in context: http://old.nabble.com/gpg-preset-passphrase-tp27812444p27817136.html
Sent from the GnuPG - User mailing list archive at Nabble.com.
More information about the Gnupg-users
mailing list