HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
flynn
noise
Go2023–2023
flynn / noise

noise

Go implementation of the Noise Protocol Framework

2Distinct people
2Mentions
0Explicit recommenders
583GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Go implementation of the Noise Protocol Framework

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2023-02-19 15:23:42 UTC to 2023-02-19 18:00:33 UTC.

012023-02-19 15:00:00 UTC to 2023-02-19 16:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsFeb 19, 15:002023-02-19 16:00:00 UTC to 2023-02-19 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsFeb 19, 16:002023-02-19 17:00:00 UTC to 2023-02-19 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-02-19 18:00:00 UTC to 2023-02-19 19:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsFeb 19, 18:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Feb 19, 15:002023-02-19 15:00:00 UTC2023-02-19 16:00:00 UTC101
Feb 19, 16:002023-02-19 16:00:00 UTC2023-02-19 17:00:00 UTC000
Feb 19, 17:002023-02-19 17:00:00 UTC2023-02-19 18:00:00 UTC000
Feb 19, 18:002023-02-19 18:00:00 UTC2023-02-19 19:00:00 UTC101

What Hacker News says

2 sources
There is no description of the protocol or of its security goals, so I am making some guesses based on a cursory look at the source and what I imagine this might be for. A single symmetric key is derived for both directions, and there is no checking of nonces, so as far as I can tell any message can be dropped, reordered, or replayed in both directions. (Including replaying message from A to B as if they were from B to A.) This is a bit like using ECB and likely to lead to fun application-specific attacks like [0]. This is very much rolling your own crypto, in a dangerous way. I am on the record as being "against" the "don't roll your own crypto" refrain [1], but mostly because it doesn't work: it should discourage people from publishing hand-rolled protocols such as this, but instead people think it means "don't roll your own primitives"
Read the rest
and accept any use of "Ed25519/X25519" as probably secure. Please read about the Noise framework [2] to get an idea of how much nuance there is to this, and consider using a Go implementation of it [3] instead. P.S. This kind of issue is also why I maintain that NaCl is not a high-level scheme [4]: this could have used NaCl and have the exact same issues. libsodium has a couple slightly higher-level APIs that could have helped, secretstream [5] and kx [6], but again please use Noise. [0] https://cryptopals.com/sets/2/challenges/13 [1] https://securitycryptographywhatever.buzzsprout.com/1822302/... [2] https://noiseprotocol.org/noise.html [3] https://github.com/flynn/noise [4] https://words.filippo.io/dispatches/nacl-api/ [5] https://libsodium.gitbook.io/doc/secret-key_cryptography/sec... [6] https://libsodium.gitbook.io/doc/key_exchange
In Whisper: Wraps any Go io.ReadWriter in a secure tunnel using Ed25519/X25519

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.