Re:Whisper: Wraps any Go io.ReadWriter in a secure tunnel us...
by d-z-m on Sunday February 19, 2023 @01:36PM
(#34860418)
As far as language support goes, it doesn't get much easier than working with TLS, especially in Go.
As far as alternatives go, Noise Pipes[0] never took off, but feel like they'd be well suited to this task.
Re:Whisper: Wraps any Go io.ReadWriter in a secure tunnel us...
by mwcampbell on Sunday February 19, 2023 @01:44PM
(#34860490)
IIUC the correct answer, according to the 2009 blog post that popularized the saying you're referring to, is to just use TLS anyway. In most cases it's better to accept some extra complexity than to get crypto wrong.
Edit: Here's that classic: https://web.archive.org/web/20090606064715/http://www.matasa...
If you want to secure a stream with asymmetric cryptography and don't need all the bells and whistles of TLS, what's the correct way to do it? Noise? Is there nothing simpler?