From 42804ed6fa740eca3dbc3e08e28c63b0eb0b0715bc5b6082d3306b676ff2aeb2 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sun, 26 May 2024 00:00:00 +0000 Subject: Replace DKIM private key links with script One less thing to update when I publish a new DKIM private. --- static/get-dkim-privates.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 static/get-dkim-privates.sh (limited to 'static') 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 -- cgit v1.2.3