What is Nostr?
/ Colby Serpa💡
npub1t89…a5h9
2024-10-20 01:20:20

Colby Serpa💡 on Nostr: You could theoretically tailor TCP + TFO + Noise to achieve 1 RTT, but that sounds ...

You could theoretically tailor TCP + TFO + Noise to achieve 1 RTT, but that sounds like a headache to implement. If any pre-made libraries are available with that setup, drop a link! 🔗

While it’s true that QUIC’s 0-RTT mode isn’t widely used due to replay attack risks, libp2p QUIC achieves 1 RTT with encryption, which is still faster than typical WebSockets over TLS (3 RTT).

What’s neat is that libp2p exchanges peer IDs during the QUIC handshake, meaning MITM attacks are mitigated if you’ve already retrieved the relay’s key from a trusted profile.

Why do you dislike QUIC/TLS so much if it’s free of CAs? How does it compare to TCP+TFO+Noise?
Author Public Key
npub1t89vhkp66hz54kga4n635jwqdc977uc2crnuyddx7maznwfrpupqwra5h9