ietf-openpgp
[Top] [All Lists]

Re: Public Keyring

1998-07-27 08:11:26
On Sun, 26 Jul 1998, William H. Geiger III wrote:

In 
<3(_dot_)0(_dot_)2(_dot_)32(_dot_)19980726121000(_dot_)006e33f0(_at_)studm(_dot_)hrz(_dot_)uni-siegen(_dot_)de>,
 on 07/26/98

   at 05:10 AM, Christoph Moser 
<moser(_at_)student(_dot_)uni-siegen(_dot_)de> said:

At 15:44 25.07.98 -0700, you wrote:
Just one (simple) question:

How can I figure out which UserID fits to which KeyID ?

The userid belongs to the key which precedes it in the keyring.

Only the DSA key precedes most user IDs.

Well, that's right, but how can I find out the KeyID the UserID belongs
to ? There is no field in a Public Key Packet.

In the old RSA keys (V2 & v3) the KeyID was the last 64bits of the 1st MPI
(public modulus). In the version 4 keys the KeyID is the last 64bits of
the 160bit hash (fingerprint) of the public key packet.

Read section 11.2 Key IDs and Fingerprints starting on page 49 of the
draft.

There can be multiple encryption subkeys, but I think one is a default
(determined in the signature packets) and extra UserIDs can be attached to
the subkeys if I remember, but am not sure.

--- reply to tzeruch - at - ceddec - dot - com ---


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