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
insecure
module.
- 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::Hmac
now implementsClone
andstd::hash::Hasher
, allowing it to be used with any type that implementsstd::hash::Hash
.hash::Hasher
now similarly impliesClone
andstd::hash::Hasher
.
public::rsa
now supports RSA-PKCS1v1.5 signing (behind thersa-pkcs1v15
feature flag).- Added
bytes
module guarded by thebytes
feature, containingconstant_time_eq
.
build.rs
implements 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_bytes
tobytes::rand
. - Removed
rand-bytes
feature in favor of the new featurebytes
.
build.rs
no longer respects$GOPATH
, instead it always uses thego.mod
from the vendored boringssl.
- Added
public::rsa
module which supports RSA-PSS signing.
- In the
public
module, functions to parse and marshal DER-encoded public/private keys have been moved from bare functions to methods on theDerPublicKey
andDerPrivateKey
traits. - In the
public::ec
module, functions to parse and marshal DER-encoded public/private keys as theEcPubKeyAnyCurve
andEcPrivKeyAnyCurve
types have been moved from bare functions to methods on those types. - The
public::Signature::verify
method has been renamed tois_valid
to make the meaning of its return value more self-evident. - The
public::ec
module added experimental support for ECDSA-SHA512 under theexperimental-sha512-ec
feature.