diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-02-24 10:43:27 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-02-24 10:43:27 -0500 |
commit | 0f03581e748d4867a009d3d9473d61a400a3f5c1 (patch) | |
tree | acafdf72817ecfcf300211937ca911c91fccfefa | |
parent | 7e72cb0bd2eff1fc6096f7a288b1862f240e3a94 (diff) | |
download | torspec-0f03581e748d4867a009d3d9473d61a400a3f5c1.tar.gz torspec-0f03581e748d4867a009d3d9473d61a400a3f5c1.zip |
document sha256 digest in extra-info-digest
-rw-r--r-- | dir-spec.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/dir-spec.txt b/dir-spec.txt index d91f76f..9c8fd4a 100644 --- a/dir-spec.txt +++ b/dir-spec.txt @@ -658,16 +658,20 @@ [Versions before 0.2.0.1-alpha don't recognize this] - "extra-info-digest" digest NL + "extra-info-digest" SP sha1digest [SP sha256-digest] NL [At most once] - "Digest" is a hex-encoded digest (using upper-case characters) of the - router's extra-info document, as signed in the router's extra-info + "sha1-digest" is a hex-encoded digest (using upper-case characters) of + the router's extra-info document, as signed in the router's extra-info (that is, not including the signature). (If this field is absent, the router is not uploading a corresponding extra-info document.) - [Versions before 0.2.0.1-alpha don't recognize this] + "sha256-digest" is a base64-encoded SHA256 digest of the extra-info + document, computed over the same data. + + [Versions before 0.2.7.2-alpha did not include a SHA256 digest.] + [Versions before 0.2.0.1-alpha don't recognize this field at all.] "hidden-service-dir" *(SP VersionNum) NL |