Closed kpp closed 3 years ago
Nice catch!
@mxinden what does rust-libp2p do here?
Nothing yet, this was found by @kpp testing the upcoming rust implementation.
Thanks!
@raulk anyone else we should notify?
@dvc94ch related, are there any interop tests for rust? Either with go-libp2p or go-ipfs? We currently run interop tests with js-ipfs (using the IPFS HTTP API) and js-libp2p (using the daemon, also implemented in javascript).
The go implementation uses
OCTET STRING
instead ofBIT STRING
for elements ofSignedKey
.The options are:
1) fix the go implementation 2) update the specs
However with 1) we should also notify every implementors to fix it, e.g. https://github.com/alanshaw/js-libp2p-quic/blob/1f3c1dd6dff3c2e94710a1ae76e815e0805c8a99/src/crypto.js#L44