You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[`rustls`](https://github.com/rustls/rustls) is a popular Rust TLS implementation,
285
+
but currently it [does not support system-wide policies](https://github.com/rustls/rustls/issues/2402).
286
+
Ubuntu [announced a partnership with rustls](https://discourse.ubuntu.com/t/addressing-linuxs-missing-pki-infrastructure/73314) to build a centralized PKI system written in Rust.
287
+
288
+
Until the needed cryptographic infrastructure and system-wide policies are operational,
289
+
Rust code in `main` that uses TLS must use OpenSSL with the system-wide OpenSSL configuration.
290
+
291
+
This may require significant changes to some Rust code, but it is required for now to
292
+
ensure that system-wide cryptographic policies are followed as described by the MIR
293
+
reporter's rule {ref}`"Check for security relevant binaries, services and behavior" <mir-reporter-s-template>`.
294
+
295
+
### OpenSSL crate configuration
296
+
The [`openssl` crate](https://docs.rs/openssl/latest/openssl/) provides a safe Rust
297
+
interface for the system OpenSSL package. The `vendored` Cargo feature MUST NOT
298
+
be used to ensure that the system OpenSSL package and corresponding policy are used.
0 commit comments