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

[switch] Support multiple crypto modules #437

Closed
jacobheun opened this issue Oct 18, 2018 · 1 comment
Closed

[switch] Support multiple crypto modules #437

jacobheun opened this issue Oct 18, 2018 · 1 comment

Comments

@jacobheun
Copy link
Contributor

As mentioned at libp2p/js-libp2p-switch#278 (comment) we don't currently support multiple crypto modules in Switch, even though multiple modules can be given. While the listener will select the proper crypto module via multistream-select, the dialer only ever uses a single crypto module.

The dialer and listener need to be able to negotiate which crypto they want to use. While libp2p currently only has the libp2p-secio module, once the TLS1.3 module is created (likely some time next year) we will need to support this properly.

Depends on libp2p/js-libp2p-switch#278

@daviddias daviddias changed the title Support multiple crypto modules [switch] Support multiple crypto modules Aug 22, 2019
@daviddias daviddias transferred this issue from libp2p/js-libp2p-switch Aug 22, 2019
@vasco-santos
Copy link
Member

Closing this, as we now support multiple crypto modules and libp2p-noise is being used in examples together with libp2p-secio.

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

No branches or pull requests

2 participants