[Reportbug-maint] Bug#435818: reportbug: Use SSH agent

chaica chaica at ohmytux.com
Tue Jun 30 21:49:36 UTC 2009


tags 435818 patch
thanks

Hi,

Here is a patch to use gnupg-agent to store the passphrase in order to
only enter once your passphrase during a session.

- it checks if the GPG_AGENT_INFO variable is defined.
- if so, it means gpg-agent is or was running, so we can try to use it.
- if gpg-agent is not running, gpg will ask the passphrase as usual.
- If gpg-agent is running, it will ask the passphrase the first time
with pinentry. Next time you use reportbug in the same session the
passphrase won't be asked.

Bye,
Carl Chenet


> Please consider using SSH agent for PGP signing of mails since typing
> passphrases is a hassle.


More information about the Reportbug-maint mailing list