Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tls.md #357

Merged
merged 1 commit into from
Aug 2, 2021
Merged

Fix tls.md #357

merged 1 commit into from
Aug 2, 2021

Conversation

kpp
Copy link
Contributor

@kpp kpp commented Jul 30, 2021

The go implementation uses OCTET STRING instead of BIT STRING for elements of SignedKey.

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

Fix tls.md to use OCTET STRING instead of BIT STRING for elements of SignedKey
@Stebalien
Copy link
Member

Nice catch!

@mxinden what does rust-libp2p do here?

@dvc94ch
Copy link

dvc94ch commented Aug 1, 2021

Nothing yet, this was found by @kpp testing the upcoming rust implementation.

@Stebalien Stebalien merged commit 1544b68 into libp2p:master Aug 2, 2021
@Stebalien
Copy link
Member

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).

@kpp kpp deleted the patch-1 branch August 2, 2021 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants