Thread View: alt.privacy.anon-server
4 messages
4 total messages
Started by Rick W
Sat, 27 Feb 1999 00:00
PGP design flaw (?) - Doubtful, I know
Author: Rick W
Date: Sat, 27 Feb 1999 00:00
Date: Sat, 27 Feb 1999 00:00
34 lines
2422 bytes
2422 bytes
Alright, here's the apperent design flaw I'm concerned about.. I know the odds are that my concern is unfounded.. I just want clarification, please. No matter what size the PGP key, the session key is still fixed (at 128 bits or 160 bits, depending on version), right? So, why can't the PGP key be entirely ignored, and all possibilities of the session key be tried, brute-force or otherwise, to decrypt the message? This would make the strength of *every* PGP message, "only" 128 (or 160) bits, and not 1024 (or 4096 or however many bits the PGP key itself is). Especially with 56-bits currently feasibly breakable, PGP users should have a clearer idea how close their messages are to being broken (within 128-56 = 72 bits, not within 1024-128 = 896 bits), right? (And this is not meant to dismiss the difficulty of moving from 56-bit-breakability to 128-bit breakability.) Admittedly, finding the session key for one message from a user, and being able to decrypt that message, wouldn't help decrypt even other messages somehow known to be to or from the same user. But still, 128-bit security is far less than 1024-bit, and doesn't "128-bit" accurately describe the strength of PGP messages whereas the commonly-quoted "1024-bit" (or "whatever-PGP-key-size-you-choose") does not? Maybe this isn't a "design flaw", but *is* a matter of poor popular description, or of at least popular misperception, of the strength of PGP-encrypted messages? TIA for your replies. Rick W <wmdi-3-4@NOSPAM>
Re: PGP design flaw (?) - Doubtful, I know
Author: Bill Unruh
Date: Sat, 27 Feb 1999 00:00
Date: Sat, 27 Feb 1999 00:00
18 lines
1631 bytes
1631 bytes
In <199902270230.DAA11418@replay.com> nospam@NOSPAM (Rick W) writes: >No matter what size the PGP key, the session key is still fixed (at >128 bits or 160 bits, depending on version), right? >So, why can't the PGP key be entirely ignored, and all possibilities of the >session key be tried, brute-force or otherwise, to decrypt the message? Because doing that is extremely difficult. 2^128=10^38 which is a LOT of trials. >This would make the strength of *every* PGP message, "only" 128 (or 160) >bits, and not 1024 (or 4096 or however many bits the PGP key itself is). The public key is much much weaker than the symmetric key, because you give out information about it (the public key). Thus the best way to break the public key is NOT by brute force. Various factoring techniques are far far faster. That is why you need 1024 04 2048 bits for the public key ( and the public key is still weaker than the public one).
Re: PGP design flaw (?) - Doubtful, I know
Author: Sam Simpson
Date: Mon, 01 Mar 1999 00:00
Date: Mon, 01 Mar 1999 00:00
49 lines
2612 bytes
2612 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 PGP maintains a "pool" of random data which is used (in conjunction with a symmetric cipher) as RNG. Occasionally you get messages from PGP complaining that there is insufficient randomness - and it makes you wiggle the mouse and press keys. I am unaware of any highly-respected cryptographer having looked at the code (though it was mentioned in passing J.Kelsey, B.Schneier, D.Wagner, C.Hall, "Cryptanalytic Attacks on Pseudorandom Number Generators", 1998.). I have looked at the code (and tested the output) - and it looks fine. RNG's are strange things though; I guess it could be subtly flawed.... As a precautionary measure it is certainly worth protecting the randseed.rnd / randseed.bin file. AFAIK the best publicly known method of breaking PGP involves either "breaking" the public key, or brute forcing the session key. The latter will take around 2^127 operations - unless the RNG is biased in some way that allows an adversary to better select likely keys for testing (which I seriously doubt). Regards, - -- Sam Simpson Comms Analyst http://www.hertreg.ac.uk/ss/ for ScramDisk hard-drive encryption & Delphi Crypto Components. PGP Keys available at the same site. If you're wondering why I don't reply to Sternlight, it's because he's kill filed. See http://www.openpgp.net/FUD for why! Stray Cat wrote in message <6666721422.5447646@news.stray.cat.edu>... >On Mon, 01 Mar 1999 14:50:21 +0900, Eric Hildum ><Eric.Hildum@Japan.NCR.com> wrote: > -----BEGIN PGP SIGNATURE----- Version: PGP 6.0.2 iQA/AwUBNtq0Fu0ty8FDP9tPEQLXZQCg1Pwtzkc8K7FITrBSIXUvu6Me/EMAoJL+ JKB8TvaZlAO9WDF06kqdVEgR =p7QD -----END PGP SIGNATURE-----
Re: PGP design flaw (?) - Doubtful, I know
Author: Eric Hildum
Date: Mon, 01 Mar 1999 00:00
Date: Mon, 01 Mar 1999 00:00
43 lines
2353 bytes
2353 bytes
Stray Cat wrote: > On Sat, 27 Feb 1999 03:30:53 +0100, nospam@NOSPAM (Rick W) wrote: > > >Alright, here's the apperent design flaw I'm concerned about.. > > > >I know the odds are that my concern is unfounded.. I just want clarification, > >please. > > > >No matter what size the PGP key, the session key is still fixed (at > >128 bits or 160 bits, depending on version), right? > > Yes. > > >So, why can't the PGP key be entirely ignored, and all possibilities of the > >session key be tried, brute-force or otherwise, to decrypt the message? > > The general consensus is that 128 IDEA has no known exploitable weakness > and the only way to crack it is by brute force checking each and every > key in the 128 bit space until the correct one is found. This will yield > you the cleartext for that ONE message. I think you would expect to check on average half the keys, not all of them, if and only if the session keys are truely randomly distributed. I do not recall any discussion of the selection method of the session key, but I doubt that it is truely random, in which case decoding one message may prove helpful in decoding other messages. However, I don't know if it is of practical significance. I think that the selection of the session key may be an area that would be the most vulnerable to attack, rather than the encryption systems themselves. How is the session key selected? -- --------------------------- Eric Hildum Eric.Hildum@Japan.NCR.COM
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads