On Sun, 25 Sep 2011, Andreas Radke wrote:
> Can you suggest any solution to keep the gpg passphrase in a terminal
> session under Awesome WM?
Erm, gpg-agent?
You can put something like this in ~/.gnupg/gpg-agent.conf
write-env-file /home/anrxc/.gnupg/gpg-agent.info
no-grab
pinentry-program /usr/bin/pinentry-gtk-2
And something like this in ~/.xinitrc
gnupglog="${HOME}/.gnupg/gpg-agent.info"
if (pgrep -u "${USER}" gpg-agent); then
eval `cat ${gnupglog}`
eval `cut -d= -f1 ${gnupglog} | xargs echo export`
else
eval `gpg-agent --enable-ssh-support --daemon`
fi
--
Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618
PGP FP: 02A5 628A D8EE 2A93 996E 929F D5CB 31B7 D20A 0618
--
To unsubscribe, send mail to [email protected].