aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-06-26 13:18:23 +0000
committerNick Mathewson <nickm@torproject.org>2023-06-26 13:18:23 +0000
commit769946837e30e1e3e39993065fb3379cb9b1c7ee (patch)
tree7049e94a3a05d9cf8a5d7d4abf321c5dd39a5bc7
parent1d8636116efe95e05748d97807e1999120f7ddbc (diff)
parentdb8511aff560786949f6666df5d794515631ff0c (diff)
downloadtorspec-769946837e30e1e3e39993065fb3379cb9b1c7ee.tar.gz
torspec-769946837e30e1e3e39993065fb3379cb9b1c7ee.zip
Merge branch 'cert-sign' into 'main'
cert-spec: improve signature formulation See merge request tpo/core/torspec!146
-rw-r--r--cert-spec.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/cert-spec.txt b/cert-spec.txt
index 1782141..ef6ec01 100644
--- a/cert-spec.txt
+++ b/cert-spec.txt
@@ -92,8 +92,9 @@ Table of Contents
Before processing any certificate, parties SHOULD know which
identity key it is supposed to be signed by, and then check the
- signature. The signature is formed by signing the first N-64
- bytes of the certificate.
+ signature. The signature is created by signing all the fields in
+ the certificate up until "SIGNATURE" (that is, signing
+ sizeof(ed25519_cert) - 64 bytes).
2.2. Basic extensions