|
|
|
|
|
by MaxBarraclough
670 days ago
|
|
That would be a great solution, but full formal verification is a very high bar. The more realistic answer is to use safer languages than C for this sort of critical work. Rust and Ada spring to mind. They could even expose a C ABI/API. From a quick search, it looks like this has already been achieved for TLS, but it sees little real usage. [0] There are also Rust implementations of SSH (Russh and Thrussh), but I don't think they expose a C ABI/API. I'm surprised this rather obvious solution doesn't seem to even receive serious consideration. I'd be surprised if performance was seriously impaired. This blog post [1] found Rustls to be faster than OpenSSL. I couldn't find a similar performance evaluation for Russh or Thrussh. [0] https://github.com/rustls/rustls-ffi [1] https://bencher.dev/learn/case-study/rustls/ |
|