NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #2431 most downloaded on crates.io
Data structures and algorithms for identifying peers in libp2p.
Latest stable
0.3.1
Last release 26 days ago
27 Oct 2026
Ships fairly regularly
a new release about every 3 months
Most releases are documented
notes for 18 of 21 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
21 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
For now, the rsa feature is not supported on the wasm32 target. However, the ring crate supports wasm32 targets by enabling the wasm32_unknown_unknown
For now, the rsa feature is not supported on the wasm32 target. However, the ring crate supports wasm32 targets by enabling the wasm32_unknown_unknown_js feature.
I know that migrating to the rsa crate is planned, but it is not expected in the near future. These changes allow us to connect to public bootstrap nodes (which use RSA by default) from the browser.
Approved-by: elenaf9 57632201+elenaf9@users.noreply.github.com
Bump identity deps: k256 0.14, p256 0.14, ed25519-dalek 3, hkdf 0.13, sha2 0.11, sec1 0.8
Your coding agent can read these notes before it upgrades. Set up the MCP server →
After merging this PR, we'll need to release libp2p-identity,
then update and release https://github.com/multiformats/rust-multiaddr
and then update here again
secp256k1: PublicKey::verify now enforces low-S signatures.
High-S signatures that were previously accepted are now rejected
(ecdsa 0.17 gates low-S normalization on k256's NORMALIZE_S
feature, set to true in k256 0.14). This aligns with go-libp2p
and js-libp2p which already sign low-S and may reject high-S.
See PR 6559.
Raise MSRV to 1.88.0. See PR 6559.
Revert migration to quick-protobuf, migrate back to prost.
See PR 6363.
Nothing published for this version
it's not required for the peerid feature
it's not required for the peerid feature
Pull-Request: #6226.
quick-protobuf dependency optional to only the features which require it.
See PR 6226Avoid depending on the rand_core feature in ed25519-dalek crate. See PR 6070
rand_core feature in ed25519-dalek crate.
See PR 6070Switch from libsecp256 to k256 for secp256k1 support. See PR 5892
libsecp256 to k256 for secp256k1 support.
See PR 5892Deprecate void crate. See PR 5676.
void crate.
See PR 5676.Add rand feature gate to ecdsa methods requiring a random number generator. See PR 5212.
rand feature gate to ecdsa methods requiring a random number generator.
See PR 5212.Bump ring to 0.17.5. See PR 4779.
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 n
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 and PeerId::to_base58 take self by value to follow Rust convention of Copy types. See PR 4653.
PeerId::to_bytes and PeerId::to_base58 take self by value to follow Rust convention of Copy types.
See PR 4653.Fix usage of HKDF within Keypair::derive_secret. See PR 4554.
Keypair::derive_secret.
See PR 4554.Implement Keypair::derive_secret, to deterministically derive a new secret from the embedded secret key. See [PR 4554].
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 to 2.0. See [PR 4337]
ed25519-dalek to 2.0.
See PR 4337Implement from_protobuf_encoding for RSA Keypair. See [PR 4193].
from_protobuf_encoding for RSA Keypair.
See PR 4193.Expose KeyType for PublicKey and Keypair. See [PR 4107].
KeyType for PublicKey and Keypair.
See PR 4107.Remove deprecated items. See [PR 3928].
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 and PublicKey opaque.
See PR 3866.
Remove identity::secp256k1::SecretKey::sign_hash and make identity::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 a PeerId 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.
Nothing published for this version
Add impl From for PublicKey so that PublicKey::from(ed25519::PublicKey) works. See [PR 3805].
Add From impl for specific keypairs. See [PR 3626].
From impl for specific keypairs.
See PR 3626.Nothing published for this version
One column per quarter.