commit b4dbcf0011c80cba37a6ef969a36b0c48960ab0b Author: David Goulet dgoulet@torproject.org Date: Thu Mar 7 11:03:29 2019 -0500
fixup! prop289: Spec out the new SENDME cell payload --- proposals/289-authenticated-sendmes.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/proposals/289-authenticated-sendmes.txt b/proposals/289-authenticated-sendmes.txt index df5226b..19c3b84 100644 --- a/proposals/289-authenticated-sendmes.txt +++ b/proposals/289-authenticated-sendmes.txt @@ -242,15 +242,15 @@ Status: Open
0x01: Authenticated SENDME. The DATA section should contain:
- DIGEST [4 bytes] + DIGEST [20 bytes]
- If the DATA_LEN value is less then 4 bytes, the cell should be dropped - and the circuit closed. If the value is more than 4 bytes, then the - first 4 bytes should be read to get the correct value. + If the DATA_LEN value is less then 4 bytes, the cell should be + dropped and the circuit closed. If the value is more than 4 bytes, + then the first 20 bytes should be read to get the correct value.
- The DIGEST is the digest value from the cell that triggered this SENDME - as mentionned above. This value is matched on the other side from the - previous cell. + The DIGEST is the digest value from the cell that triggered this + SENDME as mentionned above. This value is matched on the other side + from the previous cell.
If a VERSION is unrecognized, the SENDME cell should be treated as version 0 meaning the payload is ignored.
tor-commits@lists.torproject.org