diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2024-05-26 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2024-05-27 00:00:00 +0000 |
commit | 42804ed6fa740eca3dbc3e08e28c63b0eb0b0715bc5b6082d3306b676ff2aeb2 (patch) | |
tree | f9168dff4cd1c64f1e1ca14bd376e8d35512d8bd7e716c1e8e4727b716f48506 /static | |
parent | 028dd86a7c8d18b30860d678657131702d3f56dd3d75066946f3d37fb6ef0067 (diff) | |
download | journal-42804ed6fa740eca3dbc3e08e28c63b0eb0b0715bc5b6082d3306b676ff2aeb2.tar.gz journal-42804ed6fa740eca3dbc3e08e28c63b0eb0b0715bc5b6082d3306b676ff2aeb2.zip |
Replace DKIM private key links with script
One less thing to update when I publish a new DKIM private.
Diffstat (limited to 'static')
-rwxr-xr-x | static/get-dkim-privates.sh | 10 |
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 |