Skip to content

Usage of RustCrypto in TLS Verifier #64

Description

@KerneyJ

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions