diff options
author | Erich Eckner <git@eckner.net> | 2024-03-07 18:06:55 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-03-07 18:06:55 +0100 |
commit | 18dc785aa1f5b4feac81c480c89b3fcf8a5c4048 (patch) | |
tree | 9c3f6f086ddf7689b339c9e3e38848fb2d927a5f | |
parent | d73e62ddb055d334198a5fec13e23c4335d42fb9 (diff) | |
download | simple-pki-18dc785aa1f5b4feac81c480c89b3fcf8a5c4048.tar.xz |
sign-ca: do not remove old certificates blindly
-rwxr-xr-x | sign-ca.in | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -115,11 +115,7 @@ rsync --ignore-missing-args \ | ssh "${remote_host}" ' cd "'"${remote_dir}"'" while read -r time sum file; do - rm -f ????-??-??T??\:??\:??".${file}" mv "${file}" "${time}.${file}" - sed -i '"'"' - / [^.]\+\.'"'"'"${file//./\.}"'"'"'$/d - '"'"' sha512sums printf '"'"'%s %s\n'"'"' "${sum}" "${time}.${file}" \ >> sha512sums done |