Bug: --list-packets ignores second public key
Peter Pentchev
roam at ringlet.net
Thu Jan 2 17:11:33 CET 2014
On Mon, Dec 23, 2013 at 09:07:08PM +0100, Hauke Laging wrote:
> Hello,
>
> I was just in a slightly embarrassing situation: I had a look with
> gpg --list-packets
> at the certificate(s) on
> http://www.westphal.de/index.php?id=18
>
> This is the (shortened) output:
> :public key packet:
> [...]
> :user ID packet:
> :signature packet:
> [...]
> :signature packet:
> [...]
> :user ID packet:
> :signature packet:
> [...]
> :signature packet:
> [...]
> :user ID packet:
> :signature packet:
> [...]
> :signature packet:
> [...]
>
> So I told the site owner that there was (in contrast to his statement above)
> just one certificate on the page. I had to realize that gpg sees both public
> keys when importing the block instead.
Hm, which version of GnuPG are you using? With both 1.4.15 and 2.0.22
on my Debian GNU/Linux system I can see a second 'public key packet':
[roam at straylight ~/tmp/v/roam/pgp]$ gpg --list-packets foo.txt | egrep -ve '^[[:space:]]'
:public key packet:
:user ID packet: "Christian Westphal (always use together with 0x73C0BB28) <christian.westphal at westphal.de>"
:signature packet: algo 1, keyid 1AC1BFC93FFF6951
:signature packet: algo 1, keyid A642416973C0BB28
:user ID packet: "Christian Westphal <christian.westphal at westphal.de>"
:signature packet: algo 1, keyid 1AC1BFC93FFF6951
:signature packet: algo 1, keyid 1AC1BFC93FFF6951
:user ID packet: "Christian Westphal <westphal at staff.uni-marburg.de>"
:signature packet: algo 1, keyid 1AC1BFC93FFF6951
:signature packet: algo 1, keyid A642416973C0BB28
:public sub key packet:
:signature packet: algo 1, keyid 1AC1BFC93FFF6951
:public sub key packet:
:signature packet: algo 1, keyid 1AC1BFC93FFF6951
:public key packet:
:user ID packet: "Christian Westphal <westphal at staff.uni-marburg.de>"
:signature packet: algo 1, keyid A642416973C0BB28
:user ID packet: "Christian Westphal (always use together with 0x3FFF6951) <christian.westphal at westphal.de>"
:signature packet: algo 1, keyid A642416973C0BB28
:signature packet: algo 1, keyid 1AC1BFC93FFF6951
:public sub key packet:
:signature packet: algo 1, keyid A642416973C0BB28
:public sub key packet:
:signature packet: algo 1, keyid A642416973C0BB28
[roam at straylight ~/tmp/v/roam/pgp]$
The 15th line of the output is ':public key packet:'.
G'luck,
Peter
--
Peter Pentchev roam at ringlet.net roam at FreeBSD.org p.penchev at storpool.com
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
If I had finished this sentence,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: </pipermail/attachments/20140102/8395716c/attachment.sig>
More information about the Gnupg-users
mailing list