🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #7948

An example conflicting Key IDs (Was: Uniqueness of Key ID)

#7948
From: Thomas J. Boschloo
Date: Fri, 10 Sep 1999 00:00
92 lines
4170 bytes
"Imad R. Faiad" wrote:

> On Wed, 08 Sep 1999 20:17:07 +0200, in alt.security.pgp "Thomas J. Boschloo"
> <nospam@multiweb.nl> wrote:
> 
> >"Imad R. Faiad" wrote:
> >>
> >> It is correct that the Key ID is a 64 bits value, however, the Key ID need
> >> not be unique.  That is you may have 2 keys in your keyring sharing the same
> >> 64 bits Key ID and they will still be distinct keys.  The same applies for
> >
> >Not true. In PGP 553i I tried to add two keys with the same 64 bit KeyID
> >value, couldn't add it. The 64 bit value is how pgp distinquises two
> >keys, not by fingerprint.
> 
> Could you please post those keys?  I suspect that the keys must be corrupt.
> This is why you could not add them to your keyring, at times when you try to
> add corrupt keys PGP will crash too.

This is a key a made with the same Key ID as PZ's key. It will not add
to your keyring:
 
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQA9AzfZq9QAAAEBgN12TtG8T3MWzXxBD4YTGxkZ7H1fxFTK3446FqdjWlPSPDcX
dzSMSbNleYS4x6lm3QAFEbQFQm9ndXM=
=Xc7F
-----END PGP PUBLIC KEY BLOCK-----

But if you (temporarily) delete Phil's key (or the whole keyring), you
can add it like this:

> C:\WINDOWS\Desktop\x>type bogus.txt
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> mQA9AzfZq9QAAAEBgN12TtG8T3MWzXxBD4YTGxkZ7H1fxFTK3446FqdjWlPSPDcX
> dzSMSbNleYS4x6lm3QAFEbQFQm9ndXM=
> =Xc7F
> -----END PGP PUBLIC KEY BLOCK-----
> 
> C:\WINDOWS\Desktop\x>pgp -ka bogus.txt
> Pretty Good Privacy(tm) 2.6.3ia - Public-key encryption for the masses.
> (c) 1990-96 Philip Zimmermann, Phil's Pretty Good Software. 1996-03-04
> International version - not for use in the USA. Does not use RSAREF.
> Current time: 1999/09/10 20:43 GMT
> 
> Looking for new keys...
> pub   384/C7A966DD 1999/09/11  Bogus
> 
> Checking signatures...
> 
> 
> Keyfile contains:
>    1 new key(s)
> 
> One or more of the new keys are not fully certified.
> Do you want to certify any of these keys yourself (y/N)? n
> 
> C:\WINDOWS\Desktop\x>pgp -kvv bogus
> Pretty Good Privacy(tm) 2.6.3ia - Public-key encryption for the masses.
> (c) 1990-96 Philip Zimmermann, Phil's Pretty Good Software. 1996-03-04
> International version - not for use in the USA. Does not use RSAREF.
> Current time: 1999/09/10 20:43 GMT
> 
> Key ring: 'pubring.pgp', looking for user ID "bogus".
> Type Bits/KeyID    Date       User ID
> pub   384/C7A966DD 1999/09/11 Bogus
> 1 matching key found.
> 
> C:\WINDOWS\Desktop\x>

And here is a message encrypted to the 'bogus' key:

-----BEGIN PGP MESSAGE-----
Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>

hQA8A2V5hLjHqWbdAQF+OOQs7UgAeCZTteyYGUb65VQ/4uINJSIedit54W0E9wa4
4cUBIy7uDiTFI5dQzKKPpD55Z4gFAdtAy46E1VRdQ5HTCY3ohXtnFqageU+61or9
lDdcw0J7gB+cKPBmjqfVZ+VovxxEcUCife9lbLZUBg==
=wJdI
-----END PGP MESSAGE-----

It will show up as if it was encrypted to Phil's key, but that is
because of the 64 bit Key ID that is the same. It was really encrypted
to the 'bogus' key (of which I haven't got the secret key, seems like
PITA to calculate that).

Regards,
Thomas
-- 
AMD K7 Athlon 650 Mhz! <http://www.bigbrotherinside.com/#help>

PGP key: http://x11.dejanews.com/getdoc.xp?AN=453727376
Email: boschloo_at_multiweb_dot_nl
Technical Details
Message-ID: <37D937A3.9D58C74B@multiweb.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.mbox.zip!not-for-mail
References: <7qtmmq$nia$1@lure.pipex.net> <37D4161B.B0AE1BB2@multiweb.nl> <37d4b9e5.37031520@news.cyberia.net.lb> <37D6A823.AD38FB7@multiweb.nl> <37dafe4a.89059501@news.cyberia.net.lb>

Show Full Headers
Complete Article Headers
Message-ID: <37D937A3.9D58C74B@multiweb.nl>
Subject: An example conflicting Key IDs (Was: Uniqueness of Key ID)
Date: Fri, 10 Sep 1999 00:00:00 +0000
From: "Thomas J. Boschloo" <user@multiweb.nl>
References: <7qtmmq$nia$1@lure.pipex.net> <37D4161B.B0AE1BB2@multiweb.nl> <37d4b9e5.37031520@news.cyberia.net.lb> <37D6A823.AD38FB7@multiweb.nl> <37dafe4a.89059501@news.cyberia.net.lb>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.mbox.zip!not-for-mail
X-Deja-AN: 523502104
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Unorganized
Mime-Version: 1.0
Newsgroups: alt.privacy,alt.privacy.anon-server,alt.security.pgp