summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-03-07 18:52:49 +0100
committerErich Eckner <git@eckner.net>2024-03-07 18:52:49 +0100
commit00243e0f38319f7032d76a0a4473c535357c05da (patch)
tree4b1ac932aca0a303f9980bacd9111c7a5f365b88
parent2d800598eda638b9ddefacbdfbca50d77dc5fee9 (diff)
downloadsimple-pki-00243e0f38319f7032d76a0a4473c535357c05da.tar.xz
sign-ca: sha512sums are 128 chars long
-rwxr-xr-xsign-ca.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sign-ca.in b/sign-ca.in
index bfd25a7..a830220 100755
--- a/sign-ca.in
+++ b/sign-ca.in
@@ -120,7 +120,7 @@ rsync --ignore-missing-args \
if [ $(date -d"$(openssl x509 -noout -enddate -in "${f}" | cut -d= -f2)" +%s) -ge $(($(date +%s)-24*60*60*30)) ]; then
rm "${f}"
sed -i '"'"'
- /^[0-9a-f]\{127\} '"'"'"${f//./\\.}"'"'"'$/d
+ /^[0-9a-f]\{128\} '"'"'"${f//./\\.}"'"'"'$/d
'"'"' sha512sums
fi
done