fix: address rotation-revocation narrow verify findings

Name restarting both the LB and the replicas when the LB has no ready
replica, state the measured 25 s bound of the LB metrics port, narrow the
missing files of a held identity to its certificate, and cover refusals
and signals during CRL issue with fast tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 17:45:36 +03:00
co-authored by Claude Opus 5.5
parent 10973231a0
commit 452c5953b8
17 changed files with 220 additions and 38 deletions
+2 -1
View File
@@ -416,14 +416,15 @@ cmd_stand() {
if [ -z "$reason" ]; then
describe_cert "valid $name" "$PKI_STAND_DIR/$name.crt"
elif [ -f "$held_dir/$name" ]; then
echo "held $name: $reason; revoked by make revoke_identity, a new leaf only from make rotate_leaf IDENTITY=$name"
case $reason in
missing | "bundle missing")
echo "held $name: $reason; revoked by make revoke_identity"
# каталог стенда создан заново: стенд для rotate_leaf не
# поднять, а прежние leaf остальных ещё действуют. Файлы
# всех таких identity нужны разом; шаги — и в rotation.py
echo "held $name: compose cannot start without its files; to return it: $(held_missing)make stop; make bao_unseal; make run_docker; make pki_renew"
;;
*) echo "held $name: $reason; revoked by make revoke_identity, a new leaf only from make rotate_leaf IDENTITY=$name" ;;
esac
else
echo "reissue $name: $reason"