diff options
author | Erich Eckner <git@eckner.net> | 2024-03-07 18:52:49 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-03-07 18:52:49 +0100 |
commit | 00243e0f38319f7032d76a0a4473c535357c05da (patch) | |
tree | 4b1ac932aca0a303f9980bacd9111c7a5f365b88 | |
parent | 2d800598eda638b9ddefacbdfbca50d77dc5fee9 (diff) | |
download | simple-pki-00243e0f38319f7032d76a0a4473c535357c05da.tar.xz |
sign-ca: sha512sums are 128 chars long
-rwxr-xr-x | sign-ca.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |