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
r/programming • • Apr 09 '14
[deleted] — view deleted post
View all comments
Show parent comment
12
u/VortexCortex Apr 09 '14 edited Apr 09 '14
My philosophy is: Correct First, Clever Later. I have absolutely Correct, Cross Platform and often inefficient code separated from the Clever, Optimized and often platform dependent code by
#IFDEFblocks and I can run my unit tests and input fuzzing against either one by checking the optimized definition in the build system. I do this even for my indie games that hardly anyone plays, and an industry standard crypto lib doesn't? That's fucking irresponsible, and inexcusable.No, in this case the "fast" is FAR WORSE than useless, it's actively harmful and creates exploits that otherwise would not exist at all. Secure is ABSOLUTELY more important than fast, every damn time. Anyone who says otherwise is a fool.
For instance: If I become infamously known as the indie gamedev who's crappy code was exploited to steal user credentials, then it's game over for me. Fast is a luxury. I don't care if anyone uses my Open Source Software at all, my output doesn't depend on competing with proprietary shortcut-ware, that's the whole point of it.
Now, considering such isn't the first gaping flaw in OpenSSL, do you think I'll opt to use it over other options? Correct is more important than Fast.