Skip to content

Commit 3d4eac0

Browse files
authored
expanded rki
1 parent 1a46d4b commit 3d4eac0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

standards/application/inbox.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ The noise handshake is implemented with the following functions:
126126
DH: X25519 cipher: AEAD_CHACHA20_POLY1305 hash: BLAKE2b
127127

128128
## Recipient Key Identifer
129-
Recipients need to know which ephemeral public key was used in the senders noise handshake. To communicate this, senders include a short identifier for the key.
129+
When receiving a payload it is initially unclear which Recipients ephemeral key was used by the sender in the noise handshake.
130+
The Recipient sends their ephemeral key out of band, and there may exist many such keys. The recipient could exhaustively attempt decryption with it's available keys however this is potentially inefficient. Additionally in the case of decryption failure, its ambiguious whether the ephemeral keys was never valid or has expired/consumed.
131+
132+
To make this efficient, the Sender includes a short identifier for the key.
130133

131134
Calculated as: `blake2b(utf8ToBytes('WAP') || K)`[0..4]
132135

0 commit comments

Comments
 (0)