Closed dignifiedquire closed 8 years ago
How did you solve the PCKS#1 vs PKCS#6. Can we confirm that we are manipulating and storing the keys in the same way as in go? This will be crucial for config file share, identify and secio crypto handshake.
How did you solve the PCKS#1 vs PKCS#6. Can we confirm that we are manipulating and storing the keys in the same way as in go? This will be crucial for config file share, identify and secio crypto handshake.
We already had tests for this (the go interop part) here and in libp2p-crypto. You can see the details of the conversion here: https://github.com/libp2p/js-libp2p-crypto/commit/eb5de1017be263a0344dd6358ec1ca17dea87d2a
@diasdavid should be ready now
Ref https://github.com/libp2p/js-libp2p-crypto/pull/10
BREAKING CHANGE
New method PeerInfo.create(cb) replaces the previous new PeerInfo() to create a fresh id