Subkey revocation signature

Daniel Kahn Gillmor dkg at
Tue Feb 4 16:28:34 CET 2014

On 02/04/2014 06:53 AM, Thomas Oberndörfer wrote:
> I'm trying to verify subkey revocation signatures created with GPG.
> RFC4880 says:
> "Key revocation signatures (types 0x20 and 0x28) hash only the key
> being revoked"
> But when I compute the hash data only with the subkey packet the
> verification fails.
> I then tried to hash primary and subkey packet together and the
> verification succeeded.
> So it looks like GPG is calculating subkey revocation signature
> (type 0x28) in the same way as the binding signature (type 0x18).
> Is this correct? And if yes is this not a deviation from RFC4880?
> I'm currently implementing this verification in OpenPGP.js and
> not sure how to handle this case.

This is an error in the RFC, which i reported here:

Please see the discussion on openpgp at starting here:



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1010 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20140204/a43ce3bd/attachment.sig>

More information about the Gnupg-devel mailing list