summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rwxr-xr-xstatic/get-dkim-privates.sh10
1 files changed, 10 insertions, 0 deletions
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