js-peer-id icon indicating copy to clipboard operation
js-peer-id copied to clipboard

Add matchesPrivateKey and matchesPublicKey

Open dignifiedquire opened this issue 8 years ago • 3 comments

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 avatar May 21 '16 23:05 dignifiedquire

👍

daviddias avatar May 22 '16 10:05 daviddias

@dignifiedquire can you add these methods? Right now secio is not doing this verification, right?

daviddias avatar Sep 07 '16 19:09 daviddias

Yes currently we are not doing this verification, as these methods are missing.

dignifiedquire avatar Sep 07 '16 20:09 dignifiedquire