[pkg-gnupg-maint] Bug#796931: gnupg-agent: no longer writes $GNUPGHOME/gpg-agent-info-$(hostname) file

Michael Gold michael at bitplane.org
Mon Aug 31 03:50:14 UTC 2015


On Mon, Aug 31, 2015 at 00:22:06 +0200, Thorsten Glaser wrote:
> On Sat, 29 Aug 2015, Michael Gold wrote:
> 
> > This seems to work for gpg1 and gpg2:
> > 	: "${GPG_AGENT_INFO=${GNUPGHOME-$HOME/.gnupg}/S.gpg-agent:0:1}"
> > 	export GPG_AGENT_INFO
> 
> I assume this needs to be written after the eval?

I was assuming that, but I don't think it matters.  2.1 won't give you
anything to eval, and 2.0 will overwrite any earlier setting.

> > 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
version with gpg 2.0 but I expect it will still work.  ('gpg2 --version'
is the obvious way to set $gpg21; I was just avoiding the subshell.)

-- Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 70gnupg-agent.sh
Type: application/x-sh
Size: 1962 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20150830/de42384e/attachment-0001.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnupg-maint/attachments/20150830/de42384e/attachment-0001.sig>


More information about the pkg-gnupg-maint mailing list