v/0.20.7
版本发布时间: 2023-07-07 22:32:04
rustls/rustls最新发布版本:v/0.23.15(2024-10-16 21:21:05)
- Expose secret extraction API under the
secret_extraction
cargo feature. This is designed to enable switching from rustls to kTLS (kernel TLS offload) after a successful TLS 1.2/1.3 handshake, for example. - Move filtering of signature schemes after config selection, avoiding the need
for linking in encryption/decryption code for all cipher suites at the cost of
exposing more signature schemes in the
ClientHello
emitted by theAcceptor
. - Expose AlertDescription, ContentType, and HandshakeType, SignatureAlgorithm, and NamedGroup as part of the stable API. Previously they were part of the unstable internals API, but were referenced by parts of the stable API.
- We now have a Discord channel for community discussions.
- The minimum supported Rust version is now 1.56.0 due to several dependencies requiring it.
What's Changed
- Derive Eq wherever PartialEq is derived. by @jsha in https://github.com/rustls/rustls/pull/1049
- impl Default for Acceptor by @jsha in https://github.com/rustls/rustls/pull/1046
- Move some enums that are part of the public API. by @jsha in https://github.com/rustls/rustls/pull/1048
- Document verifier certificate content guarantees by @complexspaces in https://github.com/rustls/rustls/pull/1056
- Fix use_self warnings by @ctz in https://github.com/rustls/rustls/pull/1058
- MessageFragmenter: return an iterator by @jsha in https://github.com/rustls/rustls/pull/1050
- Deprecate Acceptor::wants_read by @jsha in https://github.com/rustls/rustls/pull/1063
- Expose some enums as part of the stable API by @jsha in https://github.com/rustls/rustls/pull/1060
- Export DigitallySignedStruct in stable API by @jsha in https://github.com/rustls/rustls/pull/1062
- Deprecate RootCertStore::subjects() by @jsha in https://github.com/rustls/rustls/pull/1064
- doc: update {Client,Server}CertVerifier by @jsha in https://github.com/rustls/rustls/pull/1066
- server: move filtering of signature schemes after config selection by @djc in https://github.com/rustls/rustls/pull/1053
- Add some missing feature guards by @djc in https://github.com/rustls/rustls/pull/1077
- document the alpn method of ClientHello in more depth by @GlenDC in https://github.com/rustls/rustls/pull/1070
- Increase MSRV to 1.56.0 by @jsha in https://github.com/rustls/rustls/pull/1083
- Fix clippy: used
assert_eq!
with a literal bool by @TieWay59 in https://github.com/rustls/rustls/pull/1084 - Delete unused dev-deps
ct-logs
in rustls-mio by @TieWay59 in https://github.com/rustls/rustls/pull/1085 - server: further improve documentation for ClientHello::alpn() by @djc in https://github.com/rustls/rustls/pull/1078
- Add DTLSv1_3 variant to ProtocolVersion by @kbalt in https://github.com/rustls/rustls/pull/1093
- quic: remove unnecessary parentheses by @djc in https://github.com/rustls/rustls/pull/1094
- Upgrade coverage LLVM to 15 to track nightly Rust by @djc in https://github.com/rustls/rustls/pull/1095
- Minor cleanup in README by @bdaehlie in https://github.com/rustls/rustls/pull/1096
- Fix deprecation warnings for subjects() in tests by @jsha in https://github.com/rustls/rustls/pull/1082
- Fix code depending on updated ReadBuf API by @bdaehlie in https://github.com/rustls/rustls/pull/1098
- Add a Discord badge pointing to our chat by @djc in https://github.com/rustls/rustls/pull/1099
- Reorganize example programs for clarity by @bdaehlie in https://github.com/rustls/rustls/pull/1097
- Apply clippy suggestion to extend from array directly by @djc in https://github.com/rustls/rustls/pull/1100
- Add derive Hash for ServerName and DnsName by @wutchzone in https://github.com/rustls/rustls/pull/1102
- Documented codec Reader and renamed variables by @jacobtread in https://github.com/rustls/rustls/pull/1104
- Use From to convert from bool to u8 by @djc in https://github.com/rustls/rustls/pull/1105
- Disable unreachable_pub lint for a while by @djc in https://github.com/rustls/rustls/pull/1113
- feat: impl Debug for all public structs by @Xuanwo in https://github.com/rustls/rustls/pull/1111
- extract_secrets feature for kTLS support (owned) by @fasterthanlime in https://github.com/rustls/rustls/pull/1112
- Prepare 0.20.7 release by @djc in https://github.com/rustls/rustls/pull/1115
New Contributors
- @GlenDC made their first contribution in https://github.com/rustls/rustls/pull/1070
- @TieWay59 made their first contribution in https://github.com/rustls/rustls/pull/1084
- @kbalt made their first contribution in https://github.com/rustls/rustls/pull/1093
- @bdaehlie made their first contribution in https://github.com/rustls/rustls/pull/1096
- @wutchzone made their first contribution in https://github.com/rustls/rustls/pull/1102
- @jacobtread made their first contribution in https://github.com/rustls/rustls/pull/1104
- @Xuanwo made their first contribution in https://github.com/rustls/rustls/pull/1111
- @fasterthanlime made their first contribution in https://github.com/rustls/rustls/pull/1112
Full Changelog: https://github.com/rustls/rustls/compare/v/0.20.6...v/0.20.7