summaryrefslogtreecommitdiff
path: root/doc/tor-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-01-30 00:20:15 +0000
committerNick Mathewson <nickm@torproject.org>2005-01-30 00:20:15 +0000
commit5cf6534bae43fd6c5116389aaf34454fc6f1f36e (patch)
tree9edebdbec166371755d4ff0d3be4bc29dd90f40c /doc/tor-spec.txt
parent8e7fc8d25998a4f464824d7e53321b406bb5e781 (diff)
downloadtor-5cf6534bae43fd6c5116389aaf34454fc6f1f36e.tar.gz
tor-5cf6534bae43fd6c5116389aaf34454fc6f1f36e.zip
Clarify who sends certs and chains
svn:r3462
Diffstat (limited to 'doc/tor-spec.txt')
-rw-r--r--doc/tor-spec.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/tor-spec.txt b/doc/tor-spec.txt
index 58aa296dec..380c840eb6 100644
--- a/doc/tor-spec.txt
+++ b/doc/tor-spec.txt
@@ -71,11 +71,10 @@ TODO: (very soon)
support any suite without ephemeral keys, symmetric keys of at
least 128 bits, and digests of at least 160 bits.
-[what kind of cert does an OP send? -RD]
- An OR always sends a two-certificate chain, consisting of a self-signed
- certificate containing the OR's identity key, and a second certificate
- using a short-term connection key. The commonName of the second
- certificate is the OR's nickname, and the commonName of the first
+ An OP or OR always sends a two-certificate chain, consisting of a
+ self-signed certificate containing the OR's identity key, and a second
+ certificate using a short-term connection key. The commonName of the
+ second certificate is the OR's nickname, and the commonName of the first
certificate is the OR's nickname, followed by a space and the string
"<identity>".
@@ -85,6 +84,10 @@ TODO: (very soon)
EXTEND cell, the expected identity key is the one given in the cell.) If
the key is not as expected, the party must close the connection.
+ All parties SHOULD reject connections to or from ORs that have malformed
+ or missing certificates. ORs MAY accept connections from OPs with
+ malformed or missing certificates.
+
Once a TLS connection is established, the two sides send cells
(specified below) to one another. Cells are sent serially. All
cells are 512 bytes long. Cells may be sent embedded in TLS