[pkg-gnupg-maint] Bug#935966: gpg-agent: move of sockets to /run breaks bind mount setups

Thorsten Glaser t.glaser at tarent.de
Wed Aug 28 15:10:53 BST 2019


Dixi quod…

> > Please add an option (e.g. in ~/.gnupg/gpg-agent.conf) for users to re‐
> > vert it.

I’ve tried the following:

• add “extra-socket /home/tglase/.gnupg/S.gpg-agent” to
  /home/tglase/.gnupg/gpg-agent.conf

• kill the currently-running agent

• start a new one

• run “echo x | gpg --clearsign” outside the chroot, so
  gpg-agent asks pinentry-kwallet for the password and
  caches it

It doesn’t work in the chroot still though:

(sid-amd64)tglase at tglase:~ $ export -p | fgrep -e GNUPG -e GPG
export GNUPGHOME=/home/tglase/.gnupg
export GPG_AGENT_INFO=/home/tglase/.gnupg/S.gpg-agent:0:1
export GPG_TTY=/dev/pts/18
(sid-amd64)tglase at tglase:~ $ echo x | gpg --clearsign

You need a passphrase to unlock the secret key for
user: "Thorsten Glaser (tarent GmbH) <t.glaser at tarent.de>"
4096-bit RSA key, ID 5EB8D3B3, created 2009-01-05

gpg: problem with the agent - disabling agent use
Enter passphrase: 


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

**********

Mit der tarent Academy bieten wir auch Trainings und Schulungen in den
Bereichen Softwareentwicklung, Agiles Arbeiten und Zukunftstechnologien an.

Besuchen Sie uns auf www.tarent.de/academy. Wir freuen uns auf Ihren Kontakt.

**********



More information about the pkg-gnupg-maint mailing list