Article View: alt.privacy.anon-server
Article #7940Re: Uniqueness of Key ID
From: Thomas J. Boschloo
Date: Fri, 10 Sep 1999 00:00
Date: Fri, 10 Sep 1999 00:00
84 lines
4226 bytes
4226 bytes
"Imad R. Faiad" wrote: > > So as not to cloud the issue, here is the meat of what I was discussing in > question and answer form.:- > > Q. Does a PGP Key ID need to be unique? > A. No, a PGP Key ID need not be unique. If you search long enough you will > find many PGP Keys sharing the same Key ID These keys are most likely generated like I generated mine, but even strong keys could be calculated with enough computing power. Just calculate a lot of primes and see which multiply with the 64 least significant bits as the Key ID you want. (2^31 tries?? NSA could do that!) > Q. Does a PGP Fingerprint need to be unique? > A. No, a PGP Fingerprint need not be unique. If you search long enough you > will find many PGP Keys sharing the same Fingerprint. I don't agree on this. The PGP Fingerprint is not stored in any way inside the public key packet, it is calculated from it and hashed with a *strong* hash. > Q. Does a PGP Key ID / Fingerprint pair need be unique? > A. No, PGP Key ID / Fingerprint pair need not be unique. If you search long > enough you will find many PGP Keys sharing the same Key ID and > Fingerprint. Even less likely. You would first need to find a key with the same Key ID and then check if it hashes the same!! (With DH keys it would be as difficult because the Key ID *is* the last 32/64 bits of the Fingerprint.) > Q. While doing a search on a key server, I found a PGP key other than mine > having the same Key ID as my key. Can the owner of the other key decrypt > my messages or sign messages on my behalf? > A. No, he will not be able to decrypt your messages or sign messages on your > behalf. What makes a key unique are all it's components put together. True. > Q. While doing a search on a key server, I found a PGP key other than mine > having the same Key ID as my key, I checked it's fingerprint, it was the > same as my key. Can the owner of the other key decrypt my messages or > sign messages on my behalf? > A. No, he will not be able to decrypt your messages or sign messages on your > behalf. What makes a key unique are all it's components put together. Contact that person and become famous for finding the first MD5 collision! <snip> > Here is a quote from the draft-ietf-openpgp-formats-06.txt, regarding the > uniqueness of PGP Key ID's and Fingerprints:- > > ***BEGIN QUOTE*** > 3.3. Key IDs > A Key ID is an eight-octet scalar that identifies a key. > Implementations SHOULD NOT assume that Key IDs are unique. Very wise indeed. > 11.2. Key IDs and Fingerprints > .... > Note that it is possible for there to be collisions of key IDs -- > two different keys with the same key ID. Note that there is a much > smaller, but still non-zero probability that two different keys have > the same fingerprint. That possibility would be about 1 in 2^128 (assuming the MD5 hash is as strong as it can be, which it isn't). This is indeed non zero, but as STL137 put it: "The chances are like saying 'may a meteorite smash my left finger now' and it actually did!". :-)) <snipped a lot> Well, 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:
<37D94FD8.3465BA41@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-mailReferences:
<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: <37D94FD8.3465BA41@multiweb.nl> Subject: Re: 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: 523502105 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