#745193 pgpdump: Skips any additional signatures

Package:
pgpdump
Source:
pgpdump
Description:
PGP packet visualizer
Submitter:
Christoph Biedl
Date:
2026-09-28 17:37:09 UTC
Severity:
normal
Tags:
#745193#5
Date:
2014-04-18 18:32:34 UTC
From:
To:
Dear Maintainer,

if a .pgp file contains more than one signature, pgpdump processes
only the first one and ignores everything else. This is a least a bit
surprising.

Such files do exist, for example the Release.gpg file used by Debian
at e.g. http://ftp.de.debian.org/debian/dists/wheezy/Release.gpg
(md5:82e5cd8577ae381288c789d083e4d9c5 at the time of this writing).

pgpdump's output is

Old: Signature Packet(tag 2)(540 bytes)
        Ver 4 - new
        Sig type - Signature of a binary document(0x00).
        Pub alg - RSA Encrypt or Sign(pub 1)
        Hash alg - SHA256(hash 8)
        Hashed Sub: signature creation time(sub 2)(4 bytes)
                Time - Sat Feb  8 11:36:35 CET 2014
        Sub: issuer key ID(sub 16)(8 bytes)
                Key ID - 0x8B48AD6246925553
        Hash left 2 bytes - 97 45
        RSA m^d mod n(4096 bits) - ...
                -> PKCS-1

However, pgpdump sould also show the second signature, i.e.

Old: Signature Packet(tag 2)(540 bytes)
        Ver 4 - new
        Sig type - Signature of a binary document(0x00).
        Pub alg - RSA Encrypt or Sign(pub 1)
        Hash alg - SHA256(hash 8)
        Hashed Sub: signature creation time(sub 2)(4 bytes)
                Time - Sat Feb  8 11:50:57 CET 2014
        Sub: issuer key ID(sub 16)(8 bytes)
                Key ID - 0x6FB2A1C265FFB764
        Hash left 2 bytes - f2 3b
        RSA m^d mod n(4096 bits) - ...
                -> PKCS-1

If this is now feasible, please put at least a warning into the
manpage.

    Christoph

#745193#12
Date:
2014-04-24 21:39:36 UTC
From:
To:
forwarded 745193 https://github.com/kazu-yamamoto/pgpdump/issues/5
tag 745193 confirmed
thanks

Hi Christoph, just letting you know I confirm this and already
forwarded it to upstream.

He acknowledges the behavior and says it's not a bug, but I side with
you that since pgpdump's is supposed to be a `gpg --list-packets` but
more detailed then it should have at least the same behavior with
multiple signatures in one file.

Kind regards.