From f797057c3d627853982b121686dd4db3a44c8462 Mon Sep 17 00:00:00 2001 From: KiekerJan Date: Thu, 29 Dec 2022 22:58:49 +0100 Subject: [PATCH] force move if necessary --- setup/dkim.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/dkim.sh b/setup/dkim.sh index 35b059ad..c1420bdf 100755 --- a/setup/dkim.sh +++ b/setup/dkim.sh @@ -50,7 +50,7 @@ if [ ! -f "$STORAGE_ROOT/mail/dkim/box-rsa.key" ]; then dknewkey --ktype rsa $STORAGE_ROOT/mail/dkim/box-rsa # Change format from pkcs#8 to pkcs#1, dkimpy seemingly is not able to handle the #8 format openssl pkey -in $STORAGE_ROOT/mail/dkim/box-rsa.key -traditional -out $STORAGE_ROOT/mail/dkim/box-rsa.key.1 - mv $STORAGE_ROOT/mail/dkim/box-rsa.key $STORAGE_ROOT/mail/dkim/box-rsa.key.8 + mv -f $STORAGE_ROOT/mail/dkim/box-rsa.key $STORAGE_ROOT/mail/dkim/box-rsa.key.8 cp -f $STORAGE_ROOT/mail/dkim/box-rsa.key.1 $STORAGE_ROOT/mail/dkim/box-rsa.key dknewkey --ktype ed25519 $STORAGE_ROOT/mail/dkim/box-ed25519