-
Notifications
You must be signed in to change notification settings - Fork 972
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
feat(modp2p): websocket transport with TLS #3560
feat(modp2p): websocket transport with TLS #3560
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3560 +/- ##
==========================================
+ Coverage 44.83% 45.46% +0.63%
==========================================
Files 265 281 +16
Lines 14620 16002 +1382
==========================================
+ Hits 6555 7276 +721
- Misses 7313 7887 +574
- Partials 752 839 +87 ☔ View full report in Codecov by Sentry. |
bebbef9
to
97ae6bf
Compare
@vgonkivs can you please convert to draft and wait for this to be tested? Let's wait to confirm that this actually makes lumina work on safari |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving as we need this ASAP.
But generally I think this PR does more than needed. We don't need to store TLS config and we don't need a separate config for "tls" addresses. We only need a simple switch to enable WSS with the path to certificate and key, which could be an ENVVAR.
4dd41d9
to
5aca780
Compare
29837d0
to
a7ae113
Compare
3f34d4c
to
7f49843
Compare
We mainly need the bump for: * https://github.com/quic-go/quic-go/releases/tag/v0.45.2 which fixes the leak that could affect us * WebRTC becoming non-experimental We enable WebRTC by default to improve connectivity in some cases for Lumina. There are known issues on that front, but at least we unblock eiger team from waiting on us to enable the transport, once those issues are resolved. Waiting on #3560 to be merged first
We mainly need the bump for: * https://github.com/quic-go/quic-go/releases/tag/v0.45.2 which fixes the leak that could affect us * WebRTC becoming non-experimental We enable WebRTC by default to improve connectivity in some cases for Lumina. There are known issues on that front, but at least we unblock eiger team from waiting on us to enable the transport, once those issues are resolved. Waiting on celestiaorg#3560 to be merged first
Added support of the TLS certificates to satisfy conditions for the websocket connection. MinTLS version was set to 1.2 as a default version for now.(used lower versions but linter returned errors)