summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/about.md8
-rwxr-xr-xstatic/get-dkim-privates.sh10
2 files changed, 12 insertions, 6 deletions
diff --git a/content/about.md b/content/about.md
index d7096c9..5a80040 100644
--- a/content/about.md
+++ b/content/about.md
@@ -84,10 +84,6 @@ I also timestamped this journal so that its human provenance can be verified. Se
## Email Deniability
-I publish old DKIM private keys for better email deniability.
+I publish old DKIM private keys for better email deniability. Run the script below to retrieve them.
-[:old_key: DKIM4](/old-dkim-privates/dkim4.pem)
-[:old_key: DKIM3](/old-dkim-privates/dkim3.pem)
-[:old_key: DKIM2](/old-dkim-privates/dkim2.pem)
-[:old_key: DKIM1](/old-dkim-privates/dkim1.pem)
-[:old_key: Mail](/old-dkim-privates/mail.pem)
+[:old_key: DKIM Privates Script](/get-dkim-privates.sh)
diff --git a/static/get-dkim-privates.sh b/static/get-dkim-privates.sh
new file mode 100755
index 0000000..c99f663
--- /dev/null
+++ b/static/get-dkim-privates.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+url="https://nicholasjohnson.ch/old-dkim-privates"
+curl="curl --silent --fail -O"
+
+$curl "$url/mail.pem"
+
+i=1
+while $curl "$url/dkim$i.pem"; do
+ i=$((i+1))
+done