commit 41554149aadcaea5c6df94b5afa7b37fef7e3736 Author: Nick Mathewson nickm@torproject.org Date: Thu Nov 13 09:58:22 2014 -0500
Document what we mean by "PEM format".
Closes ticket 13042 --- dir-spec.txt | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/dir-spec.txt b/dir-spec.txt index fb12e27..401e99d 100644 --- a/dir-spec.txt +++ b/dir-spec.txt @@ -442,6 +442,10 @@ accepted for at least 1 week after any new key is published in a subsequent descriptor. It MUST be 1024 bits.
+ The key encoding is the encoding of the key as a PKCS#1 RSAPublicKey + structure, encoded in base64, and wrapped in "-----BEGIN RSA PUBLIC + KEY-----" and "-----END RSA PUBLIC KEY-----". + "ntor-onion-key" base-64-encoded-key
[At most once] @@ -458,6 +462,8 @@
The OR's long-term identity key. It MUST be 1024 bits.
+ The encoding is as for "onion-key" above. + "accept" exitpattern NL "reject" exitpattern NL