Re:Typing The Letters A-E-S Into Your Code? You’re Doing It ...
by tptacek on Wednesday June 03, 2009 @01:16PM
(#640032)
Diffie Hellman is also remarkably easy to screw up. Here's an old post of mine I don't think ever made it on to Hacker News:
http://www.matasano.com/log/962/adam-bozanovich-did-not-unco...
Re:Typing The Letters A-E-S Into Your Code? You’re Doing It ...
by three14 on Wednesday June 03, 2009 @02:18PM
(#640140)
Off topic of the main thread, but isn't the attack mentioned in that post still problematic if you can't reliably act as a MITM for a whole session, but you can disrupt the session long enough to confuse both sides into agreeing on an insecure session key?
Re:Typing The Letters A-E-S Into Your Code? You’re Doing It ...
by tptacek on Wednesday June 03, 2009 @02:33PM
(#640168)
If you can manipulate a DH exchange, you definitely have bigger problems than forgetting to check DH parameters. It's worth noting that DH is one of those crypto building blocks that by itself provides basically no security (for instance, DH in SSL/TLS is secure because it's backed by an RSA trust anchor). It's just a tool for making other crypto primitives more flexible.
Re:Typing The Letters A-E-S Into Your Code? You’re Doing It ...
by three14 on Wednesday June 03, 2009 @04:18PM
(#640330)
Agreed. Still, I can't decipher the IKE spec, but does it really prevent this - i.e. do any of the other building blocks actually prevent the conversation from continuing using a compromised shared key?
You've made me so nervous about everything I thought was true that I did a hg revert and am looking at gpgme bindings.
You've done a good deed, I think.