[pkg-gnupg-maint] Bug#796931: gnupg-agent: no longer writes $GNUPGHOME/gpg-agent-info-$(hostname) file
Thorsten Glaser
t.glaser at tarent.de
Wed Sep 9 07:27:22 UTC 2015
On Sun, 30 Aug 2015, Michael Gold wrote:
> > > Trying to support gpg2.0 and 2.1 in one startup script is still annoying
> >
> > This is a requirement, though.
>
> I've attached the script I'm using as an example. I didn't test this
Hmm, really complex stuff there. I guess whatever I cobbled together
in 2009 isn’t as sophisticated.
https://evolvis.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=shellsnippets/shellsnippets.git;a=blob;f=posix/sysadmin/agents.sh;h=485f025a5171a0721bb0cb10c3676f96393715f3;hb=HEAD
Anyway, at first glance, the new script (ignore the first part about
removing old gpg configs and running ssh-agent) appears to work,
although I’ve not yet tested after reboot. Thanks for the information!
Besides some logic changes (to avoid nesting ifs) I now set the
GPG_AGENT_INFO myself if not set, and write the “PID” file manually
instead of telling gpg-agent to do it. This appears to make pickup
from another session work, too.
bye,
//mirabilos
--
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
More information about the pkg-gnupg-maint
mailing list