Subkey revocation signature

Daniel Kahn Gillmor dkg at fifthhorseman.net
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"
> http://tools.ietf.org/html/rfc4880#section-5.2.4
> 
> 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:

 http://www.rfc-editor.org/errata_search.php?rfc=4880&eid=3298

Please see the discussion on openpgp at ietf.org starting here:

 https://www.ietf.org/mail-archive/web/openpgp/current/msg07067.html

Regards,

	--dkg

-------------- 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