aboutsummaryrefslogtreecommitdiff
path: root/spec/rend-spec/fs-contents.md
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-10-14 18:54:14 -0400
committerNick Mathewson <nickm@torproject.org>2023-10-14 18:54:41 -0400
commit45f94858fb831fd69e8c2ff0d6ae6ccd792ac7b8 (patch)
treee410e1e7322d48afada4d71f1b409a4f69788d94 /spec/rend-spec/fs-contents.md
parent3457b0720834c8347d8318c1080ebc9486d77300 (diff)
downloadtorspec-45f94858fb831fd69e8c2ff0d6ae6ccd792ac7b8.tar.gz
torspec-45f94858fb831fd69e8c2ff0d6ae6ccd792ac7b8.zip
Rename rend-spec-v3 urls to rend-spec.
Diffstat (limited to 'spec/rend-spec/fs-contents.md')
-rw-r--r--spec/rend-spec/fs-contents.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/spec/rend-spec/fs-contents.md b/spec/rend-spec/fs-contents.md
new file mode 100644
index 0000000..f5c06f4
--- /dev/null
+++ b/spec/rend-spec/fs-contents.md
@@ -0,0 +1,30 @@
+<a id="rend-spec-v3.txt-F"></a>
+
+# Appendix F: Hidden service directory format \[HIDSERVDIR-FORMAT\]
+
+This appendix section specifies the contents of the HiddenServiceDir directory:
+
+- "hostname" \[FILE\]
+
+This file contains the onion address of the onion service.
+
+- "private_key_ed25519" \[FILE\]
+
+This file contains the private master ed25519 key of the onion service.
+\[TODO: Offline keys\]
+
+```text
+ - "./authorized_clients/" [DIRECTORY]
+ "./authorized_clients/alice.auth" [FILE]
+ "./authorized_clients/bob.auth" [FILE]
+ "./authorized_clients/charlie.auth" [FILE]
+```
+
+If client authorization is enabled, this directory MUST contain a ".auth"
+file for each authorized client. Each such file contains the public key of
+the respective client. The files are transmitted to the service operator by
+the client.
+
+See section \[CLIENT-AUTH-MGMT\] for more details and the format of the client file.
+
+(NOTE: client authorization is implemented as of 0.3.5.1-alpha.)