Re:Urgent Upcoming OpenSSL release patches critical vulnerab...
by JSGdev on Saturday October 29, 2022 @01:04AM
(#33381146)
Or, instead of expecting people to go rewrite stuff for you, you could go switch to rustls. It literally costs zero money.
[ Parent
| on HN ]
Re:Urgent Upcoming OpenSSL release patches critical vulnerab...
by gpm on Saturday October 29, 2022 @01:25AM
(#33381240)
Genuine question, should I prefer rustls or openssl for security in rust.
A reasonable number of crates let you switch between them with just a cfg flag, and when using them the only difference that makes it way to the user is security (and maybe performance), but I'm not sure which I should consider to be more secure?
Re:Urgent Upcoming OpenSSL release patches critical vulnerab...
by JSGdev on Saturday October 29, 2022 @01:38AM
(#33381297)
At this point we consider rustls about as secure or a little more. Ring is a high-quality set of primitives thats basically some carefully ported boringssl code, and both it and rustls have been around for a good while and have plenty of contributors. Tbh we like the lack of old legacy cruft (where most openssl bugs get found) as much as a memory-safe language, ditching all that ancient code we don't need really cuts down attack surface.