diff options
author | Nick Mathewson <nickm@torproject.org> | 2023-11-09 21:50:10 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2023-11-09 21:50:10 +0000 |
commit | 9205c7a86ffbea46d16f0a13e205100fc3ba1c76 (patch) | |
tree | b71d7302e03fba149b8b389599668f72f97f390f /spec/tor-spec | |
parent | 7e952cdcbb13f2bc2d360994812ff1c39e1011ea (diff) | |
parent | 964a8aca24913d498a2677686e88d96b118ad536 (diff) | |
download | torspec-9205c7a86ffbea46d16f0a13e205100fc3ba1c76.tar.gz torspec-9205c7a86ffbea46d16f0a13e205100fc3ba1c76.zip |
Merge branch 'mermaid2' into 'main'
Improved mermaid branch, with server-side rendering.
See merge request tpo/core/torspec!207
Diffstat (limited to 'spec/tor-spec')
-rw-r--r-- | spec/tor-spec/negotiating-channels.md | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/spec/tor-spec/negotiating-channels.md b/spec/tor-spec/negotiating-channels.md index c328e12..1184fd8 100644 --- a/spec/tor-spec/negotiating-channels.md +++ b/spec/tor-spec/negotiating-channels.md @@ -22,7 +22,7 @@ In brief: to establish clock skew and IP addresses. - The initiator checks whether the CERTS cell is correct, and decides whether to authenticate. - - If the initiator does not wants to authenticate, + - If the initiator does not wants to authenticate, it sends a [NETINFO cell](#NETINFO-cells). - If the initiator wants to authenticate, it sends a [CERTS cell](#CERTS-cells), @@ -38,6 +38,24 @@ except for VPADDING cells. by scanning-resistance designs. It is not specified here.) +```mermaid +sequenceDiagram + Initiator --> Responder: TLS Handshake + + Note over Initiator,Responder: The rest is encrypted + + Initiator ->> Responder: VERSIONS + Responder ->> Initiator: VERSIONS, CERTS, AUTH_CHALLENGE, NETINFO + + opt if the initiator wants to authenticate + Initiator ->> Responder: CERTS, AUTHENTICATE + end + + Initiator ->> Responder: NETINFO +``` + + + ## The TLS handshake {#tls} <span id="in-protocol">The |