[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torspec/master] Update spec to match correct v3 handshake with fix for bug 4361.



commit afcbbacedfddfbb8520a44003c6b81f6aee8743a
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Mar 8 14:29:34 2012 -0500

    Update spec to match correct v3 handshake with fix for bug 4361.
    
    Partial revert of 075e215564c76bba
---
 tor-spec.txt |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/tor-spec.txt b/tor-spec.txt
index 7443644..28a51c9 100644
--- a/tor-spec.txt
+++ b/tor-spec.txt
@@ -393,13 +393,11 @@ see tor-design.pdf.
    initiator the certificates it needs to learn the responder's
    identity, an AUTH_CHALLENGE cell (4.3) that the initiator must include
    as part of its answer if it chooses to authenticate, and a NETINFO
-   cell (4.5).  The initiator can use the CERTS cell to confirm whether
-   the responder is correctly authenticated. If the initiator does not wish
-   to authenticate, it can send a NETINFO cell once it has received the
-   VERSIONS cell from the responder. If the initiator does wish to
-   authenticate, it waits until it gets the AUTH_CHALLENGE cell, and then
-   sends a CERTS cell, an AUTHENTICATE cell (4.4), and a NETINFO
-   cell.  When this handshake is in use, the first cell must
+   cell (4.5).  As soon as it gets the CERTS cell, the initiator knows
+   whether the responder is correctly authenticated.  At this point the
+   initiator may send a NETINFO cell if it does not wish to
+   authenticate, or a CERTS cell, an AUTHENTICATE cell (4.4), and a NETINFO
+   cell if it does.  When this handshake is in use, the first cell must
    be VERSIONS, VPADDING or AUTHORIZE, and no other cell type is allowed to
    intervene besides those specified, except for PADDING and VPADDING cells.
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits