4.2 KiB
4.2 KiB
Change Log
Unreleased
v0.2.10
Fixed
- Fixed the build for iOS.
v0.2.9
Added
- Added
Identity::from_pkcs8.
v0.2.8
Fixed
- Fixed an off by one error in the schannel backend's handling of max_protocol_version.
v0.2.7
Added
- Added support for ALPN in client APIs flagged under the
alpnCargo feature.
v0.2.6
Fixed
- Fixed compilation on iOS.
v0.2.5
Added
- Added
TlsConnectorBuilder::disable_built_in_rootsto only trust root certificates explicitly added to the builder.
Updated
- Updated security-framework to 2.0.
v0.2.4
Added
- Added a
Cloneimplementation forIdentity.
Updated
- Updated security-framework to 0.4.
v0.2.3
Fixed
- Adding an already-trusted certificate to the root certificate set no longer triggers an error with OpenSSL.
Updated
- Updated security-framework to 0.3.
v0.2.2
Fixed
- Failure to load a root certificate on Android now logs a message rather than producing an error.
- Fixed ordering of the certificate chain in the OpenSSL backend.
v0.2.1
Added
- The
vendoredCargo feature will cause the crate to compile and statically link to a vendored copy of OpenSSL on platforms that use that backend.
v0.2.0
Added
- The
openssl_probecrate is now used with the OpenSSL backend so that trusted root certificates will automatically be detected when statically linking to OpenSSL. - Root certificates are now automatically loaded from the Android trust root.
- Added
Certificate::to_derto serialize an X509 certificate to DER. - Added
TlsConnectorBuilder::danger_accept_invalid_certsto disable certificate verification. - Added
TlsAcceptor::newandTlsConnector::newto easily create an acceptor/connector with default settings. - Added
TlsStream::peer_certificateto obtain the peer's leaf certificate. - Added
TlsStream::tls_server_end_pointto retrieve RFC 5929 tls-server-end-point channel binding data.
Changed
- Upgraded to
openssl0.10 andsecurity-framework0.2. Pkcs12has been renamed toIdentity, andPkcs12::from_derhas been renamed toIdentity::from_pkcs12.HandshakeError::Interruptedhas been renamed toHandshakeError::WouldBlock.TlsConnectorBuilderandTlsAcceptorBuilderare now "traditional"-style builders. Their methods are now infallible and return&mut Selfto allow them to be chained together.supported_protocolshas been replaced bymin_protocol_versionandmax_protocol_versiononTlsConnectorBuilderandTlsAcceptorBuilder.- SNI and hostname verification are now configured separately via
TlsConnectorBuilder::use_sniandTlsConnectorBuilder::danger_accept_invalid_hostnames. They replace theTlsConnector::danger_connect_without_providing_domain_for_certificate_verification_and_server_name_indicationmethod, which has been removed.
Removed
- The backend-specific extension traits have been removed. We want to avoid exposing the specific version of the backend library in the public API to provide more flexibility.
Older
Look at the release tags for information about older releases.