ietf-openpgp
[Top] [All Lists]

Re: [openpgp] calculating PGP signature on a public key

2012-07-30 15:59:56
On Mon, Jul 30, 2012 at 04:15:11PM -0400, George Lind wrote:
I am trying to figure out from the RFC exactly which fields get hashed when
calculating the public key signature.

You'll want RFC4880 §5.2.4.  If you are actually talking about a signature
over a public key, you just want the literal 0x99, the two-octet length
of the key, and the body of the key packet.

Perhaps you are conflating several different signature types into one.

The public key including the packet header and body
The user id including the packet header and body
signature version
signature type
public key algorithm
hashing algorithm
length of the hashed subpackets
all the hashed subpackets

Can anyone confirm if these are correct?
_______________________________________________
openpgp mailing list
openpgp(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/openpgp

<Prev in Thread] Current Thread [Next in Thread>