diff options
author | Tim Ruffing <crypto@timruffing.de> | 2023-09-24 13:00:34 +0000 |
---|---|---|
committer | Tim Ruffing <crypto@timruffing.de> | 2023-09-28 10:19:53 +0200 |
commit | 75dc363d201072579289cc6d20d40ef7a67db291 (patch) | |
tree | aa4f403198ed551dededa8c2d466f2074216ca46 /bip-0156/dandelion-debug-logs-example.pdf | |
parent | 7004ad1a825a0422b78bbf1a96bf748d5e380569 (diff) | |
download | bips-75dc363d201072579289cc6d20d40ef7a67db291.tar.xz |
bip324: Remove garbage authentication packet (breaking change)
by merging it with the version packet. Or more accurately, by merging
it with the first packet sent after garbage termination, which may be
a decoy packet or the version packet.
The new protocol simplifies implementations:
- A protocol state machine won't need separate states for garbage
authentication and version phases.
- The special case of "ignoring the ignore bit" is removed.
- The freedom to choose the contents of the garbage authentication
packet is removed. This simplifies testing.
The reason for having a separate garbage authentication packet was
to materialize the separation of the key exchange phase and version
negotiation phase even in the bytestream on the wire. However, this
is not necessary, and arguably, these phases are still properly
separated: Since the AEAD will ensure that AAD (=garbage) is checked
before looking at the contents (=version), the peers won't interpret
version data before having authenticated the garbage.
Diffstat (limited to 'bip-0156/dandelion-debug-logs-example.pdf')
0 files changed, 0 insertions, 0 deletions