-
Notifications
You must be signed in to change notification settings - Fork 454
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
crypto channel: TLS 1.3 #9
Comments
How does this look? https://github.com/mkg20001/libp2p-tls |
@mkg20001 I that is probably TLS 1.2. I believe the goal of moving to TLS was only to do so with 1.3. |
@dignifiedquire ipfs/specs#29 (comment) . Here it says both will get implemented |
Btw, the "magic" thing is just a 7/8 bytes protocol buffers packet with a random integer (the peer which randomly chooses the highest number is determined to be the server) |
@mkg20001 thanks I didn't remember that and cool that you are implementing it :) |
@mafintosh I believe you mentioned you had an implementation of TLS 1.3, did I get that right? |
ipns://blog.ipfs.io/2020-08-07-deprecating-secio/ Just released more relevant info regarding TLS 1.3 support. |
Superseded by https://github.com/chainsafe/js-libp2p-noise |
Currently go-libp2p implements
secio
, an in house baked crypto channel library. However, IPFS will be moving to TLS eventually, which means that libp2p must offer it as a crypto channel upgrade to a connection.Our current endeavour is to have a TLS library that is compatible and exposes an connection interface, so that we can upgrade any connection to another peer on demand. forge is a full JavaScript implementation of TLS made by the folks at Digital Bazaar.
The text was updated successfully, but these errors were encountered: