r/programming • • Apr 09 '14

Theo de Raadt: "OpenSSL has exploit mitigation countermeasures to make sure it's exploitable"

[deleted] — view deleted post

2.0k Upvotes

661 comments sorted by

View all comments

Show parent comment

4

u/hastor Apr 10 '14

Exactly, and a unit test would have caught the goto fail from Apple.

The problem with these crypto libraries is that their implementations are made to be untestable. The Chrome guys said that exactly the same code path as the goto fail from Apple was not testable in Chrome either.

We need to "dumb down" our crypto until we can at least write unit tests. Complex algorithms or implementations without tests cannot be used.