aboutsummaryrefslogtreecommitdiff
path: root/spec/dir-spec/computing-microdescriptors.md
diff options
context:
space:
mode:
Diffstat (limited to 'spec/dir-spec/computing-microdescriptors.md')
-rw-r--r--spec/dir-spec/computing-microdescriptors.md32
1 files changed, 16 insertions, 16 deletions
diff --git a/spec/dir-spec/computing-microdescriptors.md b/spec/dir-spec/computing-microdescriptors.md
index 1b88e42..5270ffa 100644
--- a/spec/dir-spec/computing-microdescriptors.md
+++ b/spec/dir-spec/computing-microdescriptors.md
@@ -26,8 +26,8 @@ same microdescriptor.
"onion-key" NL a public key in PEM format
-[Exactly once, at start]
-[No extra arguments]
+\[Exactly once, at start\]
+\[No extra arguments\]
The "onion-key" element as specified in section 2.1.1.
@@ -37,18 +37,18 @@ earlier, the trailing = sign must be present.
"ntor-onion-key" SP base-64-encoded-key NL
-[Exactly once]
+\[Exactly once\]
The "ntor-onion-key" element as specified in section 2.1.1.
(Only included when generating microdescriptors for
consensus-method 16 or later.)
-[Before Tor 0.4.5.1-alpha, this field was optional.]
+\[Before Tor 0.4.5.1-alpha, this field was optional.\]
"a" SP address ":" port NL
-[Any number]
+\[Any number\]
Additional advertised addresses for the OR.
@@ -64,7 +64,7 @@ consensus-methods 14 to 27.)
"family" names NL
-[At most once]
+\[At most once\]
The "family" element as specified in section 2.1.1.
@@ -98,20 +98,20 @@ this is what makes the algorithm forward-compatible.)
"p" SP ("accept" / "reject") SP PortList NL
-[Exactly once.]
+\[Exactly once.\]
The exit-policy summary as specified in sections 3.4.1 and 3.8.2.
-[With microdescriptors, clients don't learn exact exit policies:
+\[With microdescriptors, clients don't learn exact exit policies:
clients can only guess whether a relay accepts their request, try the
BEGIN request, and might get end-reason-exit-policy if they guessed
-wrong, in which case they'll have to try elsewhere.]
+wrong, in which case they'll have to try elsewhere.\]
-[In consensus methods before 5, this line was omitted.]
+\[In consensus methods before 5, this line was omitted.\]
"p6" SP ("accept" / "reject") SP PortList NL
-[At most once]
+\[At most once\]
The IPv6 exit policy summary as specified in sections 3.4.1 and
3.8.2. A missing "p6" line is equivalent to "p6 reject 1-65535".
@@ -121,7 +121,7 @@ consensus-method 15 or later.)
"id" SP "rsa1024" SP base64-encoded-identity-digest NL
-[At most once]
+\[At most once\]
The node identity digest (as described in tor-spec.txt), base64
encoded, without trailing =s. This line is included to prevent
@@ -135,7 +135,7 @@ consensus-method 18 or later.)
"id" SP "ed25519" SP base64-encoded-ed25519-identity NL
-[At most once]
+\[At most once\]
The node's master Ed25519 identity key, base64 encoded,
without trailing =s.
@@ -149,18 +149,18 @@ consensus-method 21 or later.)
"id" SP keytype ... NL
-[At most once per distinct keytype.]
+\[At most once per distinct keytype.\]
Implementations MUST ignore "id" lines with unrecognized
key-types in place of "rsa1024" or "ed25519"
"pr" SP Entries NL
-[Exactly once.]
+\[Exactly once.\]
The "proto" element as specified in section 2.1.1.
-[Before Tor 0.4.5.1-alpha, this field was optional.]
+\[Before Tor 0.4.5.1-alpha, this field was optional.\]
(Note that with microdescriptors, clients do not learn the RSA identity of
their routers: they only learn a hash of the RSA identity key. This is