Skip to content

Commit

Permalink
Specify that hidden service version numbers are positive integers
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
atagar committed Feb 24, 2015
1 parent e9e6450 commit ae07a30
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rend-spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit ae07a30

Please sign in to comment.