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

Blumenthal, Uri - 0553 - MITLL uri at ll.mit.edu
Fri Nov 20 12:24:59 AEDT 2026


How does your openssl-rs compare with rustls <bc35e306-745f-4ce1-8806-8edfd4e92608> crate (pretty well-maintained, currently at v1.71.0)? I.e., when would I want to use one, or the other, and why?



--
V/R,
Uri



________________________________________
From: openssh-unix-dev <openssh-unix-dev-bounces+uri=ll.mit.edu at mindrot.org> on behalf of Riaan de Beer <rdebeer.infinityabundance at gmail.com>
Date: Thursday, November 19, 2026 at 19:53
To: openssh-unix-dev at mindrot.org <openssh-unix-dev at mindrot.org>
Subject: [EXT] openssl-rs, a native Rust reimplementation of OpenSSL 3.6.4 targeting source, ABI, and behavioural compatibility.



!-------------------------------------------------------------------|
This Message Is From an External Sender
This message came from outside the Laboratory.
|-------------------------------------------------------------------!

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 <6ee96994-5442-4571-8676-ca5dcb1815d0>

https://crates.io/crates/openssl-rs <988c49ba-e4ed-4378-b22e-65f800a566fd>

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 <21d09dca-92a7-4c04-98d5-328148800158>

https://github.com/infinityabundance/openssl-rs/blob/main/evidence/b85c-adjudication.json <4c7c956e-dc0c-4187-aa2f-b905c781390d>

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 <486b1814-9aee-41f5-8425-33951318ded1>
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev at mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev <89552453-339b-4931-9692-75551f62133f>



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8236 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20261120/565e47c1/attachment-0001.p7s>


More information about the openssh-unix-dev mailing list