All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Updated to latest version of BoringSSL
- Exposed getters for RSA public exponent and modulus
- Exposed MD5 digest and HMAC in the
insecuremodule.
- Documentation on docs.rs now includes all items behind feature flags.
- Fixed issue where 0.4.1 was released without updating BoringSSL symbols.
- Fixed issue caused by a bad interaction between
#[derive(Clone)]and#[deprecated].
hmac::Hmacnow implementsCloneandstd::hash::Hasher, allowing it to be used with any type that implementsstd::hash::Hash.hash::Hashernow similarly impliesCloneandstd::hash::Hasher.
public::rsanow supports RSA-PKCS1v1.5 signing (behind thersa-pkcs1v15feature flag).- Added
bytesmodule guarded by thebytesfeature, containingconstant_time_eq.
build.rsimplements symbol name scraping natively, and no longer relies on BoringSSL'sread_symbols.go.- Minimum required Rust version raised to 1.36
- Minimum required Go version lowered to 1.10
- Moved
rand_bytestobytes::rand. - Removed
rand-bytesfeature in favor of the new featurebytes.
build.rsno longer respects$GOPATH, instead it always uses thego.modfrom the vendored boringssl.
- Added
public::rsamodule which supports RSA-PSS signing.
- In the
publicmodule, functions to parse and marshal DER-encoded public/private keys have been moved from bare functions to methods on theDerPublicKeyandDerPrivateKeytraits. - In the
public::ecmodule, functions to parse and marshal DER-encoded public/private keys as theEcPubKeyAnyCurveandEcPrivKeyAnyCurvetypes have been moved from bare functions to methods on those types. - The
public::Signature::verifymethod has been renamed tois_validto make the meaning of its return value more self-evident. - The
public::ecmodule added experimental support for ECDSA-SHA512 under theexperimental-sha512-ecfeature.