aboutsummaryrefslogtreecommitdiff
path: root/docs/submission.md
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2024-06-01 15:35:45 +0200
committerRasmus Dahlberg <rasmus@rgdd.se>2024-06-02 13:04:04 +0200
commit62f94ac6a1404834ac6f0723ef57e25fcd5e67f9 (patch)
tree5a70ce3dec39229d37816dafed0d944016c1dd54 /docs/submission.md
parent279de6a1195adb739a8d1f2afb445b68793b28b8 (diff)
Improve terminology and documentationmain
Diffstat (limited to 'docs/submission.md')
-rw-r--r--docs/submission.md22
1 files changed, 0 insertions, 22 deletions
diff --git a/docs/submission.md b/docs/submission.md
deleted file mode 100644
index 1d9c189..0000000
--- a/docs/submission.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# Submission
-
-docdoc
-
-## Format
-
- NAME MAC
- <PEM CHAIN>
- silentct:separator
- ...
- <PEM CHAIN>
-
-`NAME`: identifier that the monitor uses to locate the right secret.
-
-`MAC`: HMAC with SHA256 as the hash function, computed for line two and forward.
-The HMAC key is derived by the node and the monitor from their shared secret:
-
- hkdf := hkdf.New(sha256.New, SECRET, []byte("silentct"), NAME)
- key := make([]byte, 16)
- io.ReadFull(hkdf, key)
-
-`<PEM CHAIN>`: certificate chain in PEM format the node considers legitimate.