js-peer-id
js-peer-id copied to clipboard
Add matchesPrivateKey and matchesPublicKey
These are needed in js-libp2p-secio. Reference implementation in go: https://github.com/ipfs/go-libp2p-peer/blob/master/peer.go#L55-L67
👍
@dignifiedquire can you add these methods? Right now secio is not doing this verification, right?
Yes currently we are not doing this verification, as these methods are missing.