Package: gnupg2
Version: 2.0.19-2
Severity: normal

Dear Eric,
thanks again for maintaining GnuPG2, it is a very important package!


I've upgraded to Wheezy using a new gnupg2 package and suddely my S/MIME 
stopped working. My old gnupg was a standard build
(actually gnupg2_2.0.19-0kk1 from
http://files.kolab.org/apt/releases/dists/squeeze/stable/source/ )

One difference I've found its that gpg-agent now searches a different
paths /etc/gnupg2/trustlist.txt is searched because of 
debian/patches/01-gnupg2-rename.diff (I believe)

And the documentation (manpages, info pages) does not reflect this
fact. I consider it severity "normal" because GnuPG users - even experienced
ones - will have a really hard time if they follow the instructions,
but stuff does not work as expected. Especially with the approval
of trust for gpgsm, this is hard to debug.

Suggestion: Improve the patch to change the documentation as well.

Details:
Some place where I saw the wrong documentation:
zgrep '/etc/gnupg' /usr/share/man/man1/gpg-agent.1.gz
list of trusted certificates (e.g. \(oq\fI/etc/gnupg/trustlist.txt\fR\(cq).

zgrep '\/etc\/gnupg' /usr/share/info/gnupg*
/usr/share/info/gnupg.info-1.gz:searched in the directory `/etc/gnupg' and 
variable data below `/var';
/usr/share/info/gnupg.info-1.gz:/etc/gnupg/trustlist.txt.
/usr/share/info/gnupg.info-1.gz:     list of trusted certificates (e.g. 
`/etc/gnupg/trustlist.txt').
/usr/share/info/gnupg.info-1.gz:     system configuration directory (e.g. 
`/etc/gnupg/help.de.txt').
/usr/share/info/gnupg.info-1.gz:     configuration file (usually 
`/etc/gnupg/gpgconf.conf').
/usr/share/info/gnupg.info-1.gz:`/etc/gnupg/gpgconf.conf'
/usr/share/info/gnupg.info-1.gz:configuration files for all users after 
`/etc/gnupg/gpgconf.conf' has

How to prove that gpg-agent for instance looks in the wrong place:


LANG=C gpg-agent -vvv --debug-all --log-file=- --server --no-detach
gpg-agent[7520]: reading options from `/home/bernhard/.gnupg/gpg-agent.conf'
gpg-agent[7520]: enabled debug flags: assuan
gpg-agent[7520]: chan_5 -> OK Pleased to meet you
OK Pleased to meet you
ISTRUSTED 11B91B31EE09E0844D254E587A65CE5184F36B70
gpg-agent[7520]: chan_5 <- ISTRUSTED 11B91B31EE09E0844D254E587A65CE5184F36B70
2013-10-08 17:15:12 gpg-agent[7520] system trustlist 
`/etc/gnupg2/trustlist.txt' not available
gpg-agent[7520]: chan_5 -> ERR 67108962 Not trusted <GPG Agent>
ERR 67108962 Not trusted <GPG Agent>
BYE
gpg-agent[7520]: chan_5 <- BYE
gpg-agent[7520]: chan_5 -> OK closing connection
OK closing connection

ii  gnupg-agent      2.0.19-2

I expect the problem to be there with 2.0.22-1 as well.

Best Regards,
Bernhard


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to