ietf-openpgp
[Top] [All Lists]

Re: Message Integrity

1999-04-27 17:22:56
On Fri, 23 Apr 1999, Werner Koch wrote:

Jon Callas <jon(_at_)callas(_dot_)org> writes:

I presume that this is a V4 signature, with signature type of 0 (binary
document), PKALG of 0 (no public-key algorithm), hash algorithm type of the
appropriate hash, no subpackets, two hash bytes that duplicate the

Hmmm, I think I have subpackets but I can drop them.

In the message you posted, the length of both types of subpackets were
zero.  My program recognized everything fine, but didn't get the right
hash value.

I cannot get the hash to match - are you also hashing the 6 byte length
plus like a signature?  Are you also hashing the literal header?  Or maybe
I should just ask which portion is being hashed.