Article View: alt.privacy.anon-server
Article #19293Re: Is or isn't MD5 broken ? Let's find that out.
From: Rich Wales
Date: Fri, 27 Jul 2001 16:18
Date: Fri, 27 Jul 2001 16:18
36 lines
2585 bytes
2585 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Johan Wevers wrote:
> I was thinking about how pgp can see if a passphrase is
> correct or not. If you just decrypt a key with a wrong
> passphrase you get garbage, but how does pgp detect this?
My understanding of the PGP 2.6.x code is that an incorrect pass phrase
is supposed to be detected because the "decrypted" key parameters will
not make sense together, and/or the checksum of the secret key data will
be wrong. (See the "readkeypacket" routine in keymgmt.c, and look for
"bad pass phrase" in the comments.)
> Is there some hash of the unencrypted key stored?
There is a 16-bit checksum of the secret key parameters. Note, though,
that this checksum offers little in the way of true protection against
attacks -- as was illustrated by the Klima/Rosa attack from last March.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3n
Charset: noconv
Comment: Rich Wales's public keys at http://www.webcom.com/richw/pgp/
iQEVAwUBO2GUXkm4X0z9+PxlAQFyCAf9FaivbotVG9l7PwHEAxFtuxxZV7DYpMth
tEs6RvTWRZeMUNulfXbvrZGMZXL+1KThAosyOozhH2FKfKEKYAMFh8aw7IXYoFRu
1AsZBWctP16SCDzO+mZK+tFyvKetfFhK5veq/ml6IRUOUSxIvviqGCVmNLPtMRHU
2UsVF+tUDquoZmMFYF1Z6eweA/sqv7pv0C/swvM5xGgAuFlWgAuc9LOpXPjglq8b
Rb7cjt8DQiReJXILmbeYqQZ8xtWA1T3xmxQpWhq5oPA5ZAU8XXOZcYMsIZeD9JTY
d5A7K9nZxthagDZN+VoYpV8+0M38ruW8XPGoKApEmxy0bIyEzaiJFQ==
=HnVx
-----END PGP SIGNATURE-----
Rich Wales richw@webcom.com http://www.webcom.com/richw/pgp/
RSA, 2048 bits, ID 0xFDF8FC65, print 2A67F410 0C740867 3EF13F41 528512FA
Technical Details
Message-ID:
<20010727160357.84418.richw@wyattearp.stanford.edu>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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!richw!not-for-mailReferences:
<2f8f7b06d78fcb3431c8316991dcbe6f@dizum.com> <3B601A5B.53465EBF@iae.nl> <20010726213429.49600.richw@wyattearp.stanford.edu> <3B610EE0.523242F5@iae.nl>Show Full Headers
Complete Article Headers
Message-ID: <20010727160357.84418.richw@wyattearp.stanford.edu> Subject: Re: Is or isn't MD5 broken ? Let's find that out. Date: Fri, 27 Jul 2001 16:18:45 +0000 From: richw@webcom.com (Rich Wales) References: <2f8f7b06d78fcb3431c8316991dcbe6f@dizum.com> <3B601A5B.53465EBF@iae.nl> <20010726213429.49600.richw@wyattearp.stanford.edu> <3B610EE0.523242F5@iae.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!richw!not-for-mail Newsgroups: alt.privacy.anon-server,alt.privacy,alt.security.pgp Organization: I don't do business with people who mail me spam Lines: 36 Sender: richw@wyattearp.stanford.edu NNTP-Posting-Host: wyattearp.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1