ietf-openpgp
[Top] [All Lists]

Re: pgp-6.5.8 secret key keyID export bug? / rfc doesn't specify keyIDs

2001-03-23 21:28:16
Yes you are right.  I'll see if I can fix pgpacket.pl.  (It is internally
computing hashes using some perl sha1 code.)  It has an option not
to do it even because the hashes are slow, I should have remembered
that as Mark Shoulson was telling me about it.

Adam

On Fri, Mar 23, 2001 at 08:14:37PM -0800, hal(_at_)finney(_dot_)org wrote:
The keyID is not present as a field in key packets.  It must be computed
from the key data.  For DSA keys it is defined as the last 64 (or 32)
bits of the fingerprint, which is itself a hash of the data in the public
key packet.

Probably that packet-dump program you were using computes keyids
incorrectly for private key packets.  It is probably hashing too much
data.

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