openssl-rs, a native Rust reimplementation of OpenSSL 3.6.4 targeting source, ABI, and behavioural compatibility.

Riaan de Beer rdebeer.infinityabundance at gmail.com
Fri Nov 20 11:47:36 AEDT 2026


Hello OpenSSH developers,

I'm the developer of openssl-rs, a native Rust reimplementation of OpenSSL
3.6.4 targeting source, ABI, and behavioural compatibility.

Repository:
https://github.com/infinityabundance/openssl-rs

https://crates.io/crates/openssl-rs

I'm reaching out because OpenSSH Portable is the first downstream consumer
for which I've completed a scoped compatibility and memory-safety evidence
campaign.

Using unmodified OpenSSH 9.9p1 client and server binaries on Linux x86-64,
the recorded results include:

   -

   Functional L7 tests covering SSH login, key operations, algorithm
   negotiation, concurrency and SFTP.
   -

   Successful comparisons against an OpenSSL-linked reference.
   -

   A conservative dependency-closure analysis reporting 290/290 scoped
   obligations discharged, with no unresolved target-bounded indirect-call
   sites.
   -

   Focused Miri, AddressSanitizer and ThreadSanitizer testing, with
   documented coverage limitations.

The project aims to eliminate classes of memory-safety vulnerabilities
through Rust ownership and carefully controlled FFI boundaries, while
preserving compatibility with existing C consumers.

I want to distinguish this work from a general security claim: the library
is not yet fully verified or independently established to be safer than
OpenSSL. The OpenSSH-specific safety graduation is an internal,
scope-limited verdict.

https://github.com/infinityabundance/openssl-rs/blob/main/evidence/SAFE-COMPATIBLE-openssh-b85c.json

https://github.com/infinityabundance/openssl-rs/blob/main/evidence/b85c-adjudication.json

I'd appreciate your perspective on what additional compatibility,
cryptographic assurance, memory-safety or operational evidence would be
required before this could be considered a credible alternative libcrypto
implementation for OpenSSH Portable.

I'm interested in technical feedback and in understanding the standards the
OpenSSH team would expect.

Thank you for your work on OpenSSH and for considering this.

Best regards
Riaan de Beer
https://github.com/infinityabundance


More information about the openssh-unix-dev mailing list