All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Loosen
signature
bound to2.0, <2.3
(#756)
hazmat::{sign_prehashed, verify_prehashed}
(#731)
- Refactor
Signature
constructors and improve docs (#730)
- bump
elliptic-curve
from 0.13.3 to 0.13.4 (#709) der::Signature
citation to RFC5912 (#711)- make
fmt
impls more consistent (#713)
serde
doc fixup (#712)
- Test macro handling of serialized field size (#707)
- Use
C::FieldBytesSize
instead ofC::Uint::BYTES
(#705)
RecoveryId
computation inSignPrimitive
(#702)
- RFC5758 OID support (#686)
SignatureAlgorithmIdentifier
impls forSigningKey
/VerifyingKey
(#688)SignatureWithOid
(#689, #690)AssociatedAlgorithmIdentifier
impls forSigningKey
/VerifyingKey
(#698)
- Loosen
signature
bound to2.0, <2.2
(#697)
- Handle the reduced R.x case in public key recovery (#680)
Signature::{from_bytes, from_slice}
methods (#684)
VerifyingKey::to_sec1_bytes
+ more conversions (#675)
Decode
andEncode
impls forder::Signature
(#666)
- Use
Scalar::invert_vartime
for faster verification (#651) - Bump
serdect
dependency to 0.2 (#657) - Bump
elliptic-curve
dependency to v0.13; MSRV 1.65 (#660, [#663]) - Bump
rfc6979
dependency to v0.4 (#662)
SigningKey::*_recoverable
methods (#635)
DigestPrimitive::Digest
now has bounds that work with RFC6979 (#568)*Signer
/*Verifier
impls forder::Signature
(#569)VerifyingKey
recovery support (#576)- Trial recovery support (#580)
- Signature now internally structured with
r
ands
components (#565) SigningKey::verifying_key
now returns a reference (#567)- Refactor
prehash_to_field_bytes
tobits2field
free function (#574) - Rename
sign
feature tosigning
(#610) - Rename
verify
feature toverifying
features (#610) - Bump
signature
crate dependency to v2.0 (#614)
- Impl
From<SigningKey>
forSecretKey
(#548)
- Prehash must receive zero-pads on left (#547)
- Relax
Keypair
bounds (#539)
- Impl
signature::hazmat::{PrehashSigner, PrehashVerifier}
(#534) - Impl
signature::Keypair
forSigningKey
(#535)
- Impl
EncodePrivateKey
forSigningKey
(#523) SigningKey::as_nonzero_scalar
(#528)VerifyingKey::as_affine
(#528)RecoveryId::from_byte
(#531)
- Make
RecoveryId
methodsconst fn
(#529)
- Security warning in README.md (#486)
- Use
serdect
forSignature
types (#497)
VerifyingKey::from_affine
(#452)
- Bump
digest
dependency to v0.10 (#433) SignPrimitive
andVerifyPrimitive
to acceptFieldBytes<C>
rather thanScalar<C>
(#460)- Replace
hazmat::rfc6979_generate_k
withSignPrimitive::try_sign_prehashed_rfc6979
(#460) - Bump
der
dependency to v0.6 (#468) - Bump
elliptic-curve
dependency to v0.12 (#468) - Bump
rfc6979
dependency to v0.2 (#470)
Signature::to_vec
(#428)
- Use revised
LinearCombination
trait (#419)
- Use
LinearCombination
trait (#417)
hazmat::rfc6979_generate_k
function (#414)
RecoveryId
type (#392)- Default generic impl of
SignPrimitive::try_sign_prehashed
(#396) - Default generic impl of
VerifyPrimitive::verify_prehashed
(#397) serde
support (#406)
- Make
Signature::normalize_s
non-mutating (#355) - Switch from
ScalarBytes<C>
toScalarCore<C>
(#356) - Use
PrimeCurve
trait (#357) - Replace
FromDigest
trait withReduce
(#372) - 2021 edition upgrade; MSRV 1.56 (#384)
- Allow
signature
v1.4 as a dependency (#385) - Bump
der
dependency to v0.5 (#408) - Bump
elliptic-curve
dependency to v0.11 (#408) - Split out
rfc6979
crate (#409)
- Impl
Clone
,Debug
,*Eq
forSigningKey
(#345)
- Use
signature::Result
alias (#331)
- Zeroization on drop for
SigningKey
(#321)
- Explicit
Copy
bounds onVerifyingKey
(#318)
- Bump
der
crate to v0.4 (#302, #315) - Bump
elliptic-curve
crate dependency to v0.10 (#315) - MSRV 1.51+ (#302, #315)
- Bounds now expressed via
*Arithmetic
traits (#303, [#312])
- Bump
elliptic-curve
dependency to v0.9.12 (#299)
- Use
der
crate for decoding/encoding signatures (#226, #267) - Support
HmacDrbg
with variable output size (#243) - Bump
base64ct
andpkcs8
; MSRV 1.47+ (#262) - Flatten and simplify public API (#268)
- Use
verifying_key
name consistently (#273) - Bound curve implementations on Order trait (#280)
- Bump
elliptic-curve
to v0.9.10+; useScalarBytes
(#284) - Bump
hmac
crate dependency to v0.11 (#287)
- Trigger docs.rs rebuild with nightly bugfix (RustCrypto/traits#412)
- Bump
elliptic-curve
dependency to v0.8 (#215)
- PKCS#8 support (#203)
- Bump
elliptic-curve
crate dependency to v0.7; MSRV 1.46+ (#204) - Rename
VerifyKey
toVerifyingKey
(#200) - Rename
VerifyingKey::new()
to::from_sec1_bytes()
(#198) - Rename
SigningKey::new()
to::from_bytes()
(#205)
- Additional validity checks on ASN.1 DER-encoded signatures (#192)
- Bug in default impl of CheckSignatureBytes (#184)
- Work around
nightly-2020-10-06
breakage (#180)
- 32-bit builds for the
dev
feature (#177)
- Conditional
Copy
impl onVerifyKey<C>
(#171)
CheckSignatureBytes
trait (#151)- Add
Signature::r
/::s
methods which returnNonZeroScalar
values (#151) alloc
feature (#150)- Impl
From<&VerifyKey<C>>
forEncodedPoint<C>
(#144) - Serialization methods for
SigningKey
/VerifyKey
(#143) - RFC6979-based deterministic signatures (#133, #134, #136)
- Bump
elliptic-curve
crate dependency to v0.6 (#165) - Use
ProjectiveArithmetic
trait (#164) - Rename
ElementBytes
toFieldBytes
(#160) - Use
ff
andgroup
crates to v0.8 (#156) - MSRV 1.44+ (#156)
- Remove
rand
feature; makerand_core
a hard dependency (#154) - Use
impl Into<ElementBytes>
bounds onSignature::from_scalars
(#149) - Derive
Clone
,Debug
,Eq
, andOrd
onVerifyKey
(#148) - Renamed
{Signer, Verifier}
=>{SigningKey, VerifyKey}
(#140) - Use newly refactored
sec1::EncodedPoint
(#131)
- Conditional
PrehashSignature
impl forasn1::Signature
(#128)
- Use
all-features = true
on docs.rs (#126)
hazmat
traits:SignPrimitive
,RecoverableSignPrimitive
,VerifyPrimitive
,DigestPrimitive
(#96, #99, #107, #111)dev
module (#103)NormalizeLow
trait (#115, #118, #119)Copy
impl onSignature
(#117)RecoverableSignPrimitive
(#120)
- Bumped
elliptic-curve
crate to v0.5 release (#123) - Renamed
FixedSignature
toecdsa::Signature
(#98) - Renamed
Asn1Signature
toecdsa::asn1::Signature
(#98, #102)
- Curve-specific types - migrated to
k256
,p256
,p384
crates (#96)
doc_cfg
attributes for https://docs.rs (#91)ecdsa::curve::secp256k1::RecoverableSignature
(#90)
- Upgrade
signature
crate to v1.0 final release (#80)
- Upgrade
elliptic-curve
crate to v0.3.0; make curves cargo features (#68)
- Upgrade
elliptic-curve
crate to v0.2.0; MSRV 1.37+ (#65)
- Re-export
PublicKey
andSecretKey
from theelliptic-curve
crate (#61)
- Use curve types from the
elliptic-curve
crate (#58)
- Initial release