Article View: alt.privacy.anon-server
Article #7847Re: Uniqueness of Key ID
From: Imad R. Faiad
Date: Tue, 07 Sep 1999 00:00
Date: Tue, 07 Sep 1999 00:00
65 lines
3905 bytes
3905 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greetings, 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 fingerprints. A PGP fingerprint need not be unique. Having two keys with the same Key ID and fingerprint does not necessarily mean that they are the same key. While it is easy to engineer a 32 bits PGP key ID (much much easier for DSS keys), it is a lot harder to engineer a 64 bits PGP key ID. I would venture to say that on average, engineering a fingerprint is as hard as breaking the hash or breaking the key. The Key ID and Fingerprint are nothing but tags to help us mortal men to identify a key. A proper implementation of PGP should be able to handle Key ID and fingerprint collisions. What makes a key unique are all it's components put together. Thus, if I ever manage to spoof your Key ID and it's fingerprint (highly unlikely), that does not mean that I will be able to decrypt your messages or sign messages on your behalf with my phony key. Unless of course, I cracked your key :-), which is fortunately or unfortunately impossible given the current state of the art. Best Regards Imad R. Faiad On Mon, 06 Sep 1999 21:29:31 +0200, in alt.security.pgp "Thomas J. Boschloo" <nospam@multiweb.nl> wrote: >Mouse wrote: >> >> In PGP Help, the definition of "Key ID" is "A legible code that uniquely >> identifies a key pair. Two key pairs may have the same user ID, but they >> will have different Key IDs." > >It is possible to two keys to share the same keyID. This is called a >'DEADBEEF' attack (note that 0xDEADBEEF is 3735928559 in decimal). You >would only need to change the last 32 bits of the RSA modulus for this. > >To make the pgp program as a completely identical key however, the last >64 bits of the RSA modulus should be changed. So you can have two >different keys with the same keyID on your keyring, but not two with the >same 64 last bits. > >With DH keys it is different. Here the keyID seems to be the last 32 >bits of the fingerprint. So here a 'DEADBEEF' attack might be harder to >mount. But the NSA could do it! If they wanted to. (32 bit 'signatures' >are considered very weak) > >Thomas -----BEGIN PGP SIGNATURE----- Version: 6.0.2ckt http://irfaiad.virtualave.net/ Comment: Assert your right to privacy, use PGP Comment: KeyID: 0x001FA1AD Comment: Fingerprint: D09D 1A66 A6C8 4FD6 E414 1E35 C9A0 B17F 001F A1AD iQA/AwUBN9TvZ8mgsX8AH6GtEQLw0gCfV9NA/N37blMIZlW707ip3ndZA68An1vt 2bvfHktILTYU7a+iTSxsvCSG =lza5 -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<37d4b9e5.37031520@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-mailReferences:
<7qtmmq$nia$1@lure.pipex.net> <37D4161B.B0AE1BB2@multiweb.nl>Show Full Headers
Complete Article Headers
Message-ID: <37d4b9e5.37031520@news.cyberia.net.lb> Subject: Re: Uniqueness of Key ID Date: Tue, 07 Sep 1999 00:00:00 +0000 From: maticREMOVETHIS@cyberia.net.lb (Imad R. Faiad) References: <7qtmmq$nia$1@lure.pipex.net> <37D4161B.B0AE1BB2@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 X-Deja-AN: 521994806 Distribution: world Cache-Post-Path: cordoba!unknown@opti.cyberia.net.lb Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@gtei.net X-Trace: +Lz3Y4CXp3gyIebr4bTVRoKtyPrFkDBCy+0S0AFOawtkaDcZxBp8+RfZqa5dfsQ9ALyF8gBv4W4A!kQ48jnIZrm6RQKVCxSQZ7LqMMbYYKFamB+u6Stk7aVdvDa/5+ucnzHQpYrZ2JsQQEG9GBAk/FCns Organization: Ye 'Ol Disorganized NNTPCache groupie MIME-Version: 1.0 NNTP-Posting-Date: Tue, 07 Sep 1999 07:08:05 GMT Newsgroups: alt.privacy,alt.privacy.anon-server,alt.security.pgp