- Add
rand
feature gate to ecdsa methods requiring a random number generator. See PR 5212.
- Bump
ring
to `0.17.5. See PR 4779.
- Add
rand
feature to gate methods requiring a random number generator, enabling use in restricted environments (e.g. smartcontracts). This feature is not enabled by default. See PR 4349.
- Make
PeerId::to_bytes
andPeerId::to_base58
takeself
by value to follow Rust convention ofCopy
types. See PR 4653.
- Fix usage of HKDF within
Keypair::derive_secret
. See PR 4554.
- Implement
Keypair::derive_secret
, to deterministically derive a new secret from the embedded secret key. See PR 4554.
- Fix RUSTSEC-2022-0093 by updating
ed25519-dalek
to2.0
. See PR 4337
- Implement
from_protobuf_encoding
for RSAKeypair
. See PR 4193.
- Expose
KeyType
forPublicKey
andKeypair
. See PR 4107.
-
Raise MSRV to 1.65. See PR 3715.
-
Add support for exporting and importing ECDSA keys via the libp2p protobuf format. See PR 3863.
-
Make
Keypair
andPublicKey
opaque. See PR 3866. -
Remove
identity::secp256k1::SecretKey::sign_hash
and makeidentity::secp256k1::SecretKey::sign
infallible. See PR 3850. -
Remove deprecated items. See PR 3928.
-
Remove
PeerId::try_from_multiaddr
.multiaddr::Protocol::P2p
is now type-safe and contains aPeerId
directly, rendering this function obsolete. See PR 3656. -
Remove
PeerId::is_public_key
because it is unused and can be implemented externally. See PR 3656.
- Add
impl From<ed25519::PublicKey> for PublicKey
so thatPublicKey::from(ed25519::PublicKey)
works. See PR 3805.
- Follow Rust naming conventions for conversion methods. See PR 3775.
- Add
From
impl for specific keypairs. See PR 3626.