Bug#835075: [PATCH] use fake-pinentry (Closes: #835075)

gregor herrmann gregoa at debian.org
Sat Sep 3 07:58:34 UTC 2016


On Fri, 02 Sep 2016 10:49:23 -0400, Daniel Kahn Gillmor wrote:

Thanks for the patch!


I can confirm that it works but I still have some issues:

1) After the build finishes there are 6 instances of gpg-agent
  running. In my cowbuilder setup this doesn't cause any issues and
  they time out after some time (1 minute I guess).

2) autopkgtests initially failed with:

t/30.inline-decrypt.t .... 
1..5
ok 1 - An object of class 'MIME::Entity' isa 'MIME::Entity'
gpg: keybox '/tmp/autopkgtest.n6im1C/autopkgtest_tmp/smoke7NpYaR/mgtrYHsk/pubring.kbx' created
gpg: /tmp/autopkgtest.n6im1C/autopkgtest_tmp/smoke7NpYaR/mgtrYHsk/trustdb.gpg: trustdb created
gpg: key 49539D60EFEA4EAD marked as ultimately trusted
gpg: key 49539D60EFEA4EAD: public key "Mail::GnuPG Test Key <mail at gnupg.dom>" imported
gpg: key 49539D60EFEA4EAD/49539D60EFEA4EAD: error sending to agent: No pinentry
gpg: error building skey array: No pinentry
[..]

3) This is in schroot-on-lvm. And here unmounting fails because of the
   running gpg-agents leaving my schroot/lvm setup in a sad state.

4) I can fix 2) with debian/tests/pkg-perl/smoke-setup containing
   chmod a+x $TDIR/t/fake-pinentry.pl
   like in d/rules. Then the tests pass, but 3) still remains.
   (Cleaning up manually again now ...)


Alltogether I think we need to think a bit more about this gpg-agent
thing, currently this seems a bit too fragile to me.

Another question is if we could have a fake-pinentry in some central
place (gnupg binary package?) to be used from all packages instead of
adding it everywhere?


Thanks again for your work on this bug!


Cheers,
gregor

-- 
 .''`.  Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160903/007c4a52/attachment.sig>


More information about the pkg-perl-maintainers mailing list