stevefan1999-personal / rustls-provider-rustcrypto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rustls-provider-rustcrypto

WIP provider implementations using RustCrypto for the upcoming major patch of rustls.

Some code comes directly from one of main rustls contributor, @ctz. Some part of this code is directly derived from his work but modified to use generic instead.

⚠️USE THIS AT YOUR OWN RISK! DO NOT USE THIS IN PRODUCTION⚠️

Not only that this is incomplete (only few selected TLS suites implemented), but the elephant in the room is that neither did rustls nor RustCrypto packages were formally verified and certified with FIPS compliance.

The upstream PR is also constantly force pushed, and I do not guarantee I can catch up with the changes rapidly. We also have a part 4 of this saga, so the work done here may also need to refresh.

This package is still in its very early phase, so until the grand part 3 PR is done, this won't be published to crates.io. Meanwhile you can try it out using git crate installation:

rustls-provider-rustcrypto = { git = "https://github.com/stevefan1999/rustls-provider-rustcrypto", version = "0.0.2" }

Supported Cipher Suites

  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
  • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
  • TLS13_AES_128_GCM_SHA256
  • TLS13_AES_256_GCM_SHA384
  • TLS13_CHACHA20_POLY1305_SHA256

About

License:MIT License


Languages

Language:Rust 100.0%