diff options
author | Alexander Færøy <ahf@torproject.org> | 2024-01-15 13:53:29 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2024-01-15 13:53:29 +0000 |
commit | 18c77a790fdc3c6914fd5494f17d8b702526b560 (patch) | |
tree | 146147fdc570754261458c3b609eec10ce2d9f0e | |
parent | 34038400f099bcf5c540c7c6a90e24d4ac8051d9 (diff) | |
parent | 6b48ce0351f079f578cac6ce318d1fc9af9fbb35 (diff) | |
download | torspec-18c77a790fdc3c6914fd5494f17d8b702526b560.tar.gz torspec-18c77a790fdc3c6914fd5494f17d8b702526b560.zip |
Merge branch 'rend-spec-fixes' into 'main'
rend-spec: Various markdown fixes
See merge request tpo/core/torspec!239
-rw-r--r-- | spec/rend-spec/deriving-keys.md | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/spec/rend-spec/deriving-keys.md b/spec/rend-spec/deriving-keys.md index 89de90d..69eeee6 100644 --- a/spec/rend-spec/deriving-keys.md +++ b/spec/rend-spec/deriving-keys.md @@ -21,19 +21,20 @@ leaving the hidden service's private key offline. The subcredential for a period is derived as: +```text N_hs_subcred = H("subcredential" | N_hs_cred | blinded-public-key). +``` In the above formula, credential corresponds to: +```text N_hs_cred = H("credential" | public-identity-key) +``` -where public-identity-key is the public identity master key of the hidden +where `public-identity-key` is the public identity master key of the hidden service. -```text -2.2. Locating, uploading, and downloading hidden service descriptors - [HASHRING] -``` +# Locating, uploading, and downloading hidden service descriptors {#HASHRING} To avoid attacks where a hidden service's descriptor is easily targeted for censorship, we store them at different directories over @@ -84,9 +85,9 @@ the minutes since the epoch, to get 24341715. If the current time period length is 1440 minutes, by doing the division we see that we are currently in time period number 16903. -Specifically, time period #16903 began 16903*1440*60 + (12*60*60) seconds -after the epoch, at 2016-04-12 12:00 UTC, and ended at 16904*1440*60 + -(12*60*60) seconds after the epoch, at 2016-04-13 12:00 UTC. +Specifically, time period #16903 began 16903\*1440\*60 + (12\*60\*60) seconds +after the epoch, at 2016-04-12 12:00 UTC, and ended at 16904\*1440\*60 + +(12\*60\*60) seconds after the epoch, at 2016-04-13 12:00 UTC. <a id="rend-spec-v3.txt-2.2.2"></a> |