aboutsummaryrefslogtreecommitdiff
path: root/rend-spec.txt
diff options
context:
space:
mode:
authorDamian Johnson <atagar@torproject.org>2015-02-24 08:30:57 -0800
committerDamian Johnson <atagar@torproject.org>2015-02-24 08:30:57 -0800
commitae07a30d020c543e8fcaac4f90146d981a2ad00e (patch)
tree532ae94953dc0181ed9af09967f8a282ec6d5a14 /rend-spec.txt
parente9e6450f1be3e5eaf2fbb61fa703a5a783e6a020 (diff)
downloadtorspec-ae07a30d020c543e8fcaac4f90146d981a2ad00e.tar.gz
torspec-ae07a30d020c543e8fcaac4f90146d981a2ad00e.zip
Specify that hidden service version numbers are positive integers
Clarification for #15010. This specifies that both the hidden service descriptors and INTRODUCE cell versions must be positive ints. I tried to find a more succinct example in the dir-spec (thought there might be a POSITIVE_INT type or something like that) but no luck.
Diffstat (limited to 'rend-spec.txt')
-rw-r--r--rend-spec.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/rend-spec.txt b/rend-spec.txt
index a203453..5dd1828 100644
--- a/rend-spec.txt
+++ b/rend-spec.txt
@@ -277,7 +277,8 @@
[Exactly once]
- The version number of this descriptor's format. In this case: 2.
+ The version number of this descriptor's format. Version numbers are a
+ positive integer.
"permanent-key" NL a public key in PEM format
@@ -309,7 +310,7 @@
A comma-separated list of recognized and permitted version numbers
for use in INTRODUCE cells; these versions are described in section
- 1.8 below.
+ 1.8 below. Version numbers are positive integers.
"introduction-points" NL encrypted-string