Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This implements a protocol change adding an additional round of
communication to share Streamlined NTRU Prime 4591^761 ciphertexts
between all peers. This key exchange occurs in addition to an x25519
key exchange as previously, such that if a weakness in sntrup4591761
is discovered, the security won't reduce to anything worse than just
x25519.
Due to the large size of sntrup4591761 public keys and ciphertexts,
only a single key is exchanged between any two peers, regardless of
how many messages are being mixed. The resulting shared key is used
to seed a shared ChaCha20 CSPRNG which derives shared keys for the SR
and DC mixes. This differs from the previous key exchange where
x25519 keys were exchanged for every message in the DC-net.
The module's major version is bumped to v2 to represent the breaking
change. There is no other API change for consumers, but v2 clients
are not compatible with v1 servers and vice-versa.