![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@libp2p/interface-peer-routing
Advanced tools
Peer Routing interface for libp2p
$ npm i @libp2p/interface-peer-routing
The primary goal of this module is to enable developers to pick and swap their Peer Routing module as they see fit for their libp2p installation, without having to go through shims or compatibility issues. This module and test suite were heavily inspired by abstract-blob-store and interface-stream-muxer.
Publishing a test suite as a module lets multiple modules all ensure compatibility since they use the same test suite.
Include this badge in your readme if you make a module that is compatible with the interface-record-store API. You can validate this by running the tests.
TBD
A valid (read: that follows this abstraction) Peer Routing module must implement the following API.
findPeer(peerId)
Query the network for all multiaddresses associated with a PeerId
.
Parameters
Returns
It returns the peerId together with the known peers multiaddrs, as follows:
Promise<{ id: PeerId, multiaddrs: Multiaddr[] }>
Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
FAQs
Peer Routing interface for libp2p
The npm package @libp2p/interface-peer-routing receives a total of 0 weekly downloads. As such, @libp2p/interface-peer-routing popularity was classified as not popular.
We found that @libp2p/interface-peer-routing demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.