Summary
RustCrypto provider for Rustls should not be used in production because
it has not been externally verified for FIPS compliance. We should discuss
which crypto provider we should use for Rustls.
Crypto providers to consider
1. aws-lc-rs
- Pro: Covers all TLS suites
- Pro: FIPS 140-3 support available (testing complete, NIST certification pending)
- Con: Requires cmake build dependency
2. ring
- Pro: Production-ready, well-tested
- Pro: Simpler build dependencies
- Con: 15-21% slower than aws-lc-rs, no FIPS support
3. rustls-rustcrypto
- Pro: Pure Rust thus it is maximally compatible
- Production warning, no audit, incomplete, slower
Proposed solution
- Use the cargo "feature" mechanism to make the crypto provider optional
- Default to aws-lc-rs since it is faster and compliant
Resources
Summary
RustCrypto provider for Rustls should not be used in production because
it has not been externally verified for FIPS compliance. We should discuss
which crypto provider we should use for Rustls.
Crypto providers to consider
1. aws-lc-rs
2. ring
3. rustls-rustcrypto
Proposed solution
Resources