From 00243e0f38319f7032d76a0a4473c535357c05da Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 7 Mar 2024 18:52:49 +0100 Subject: sign-ca: sha512sums are 128 chars long --- sign-ca.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2