fix: address rotation-revocation re-verify findings

Name only the repeat of rotate_secret while sessions of the previous
PostgreSQL password may stay open, compare KV version time with the
container start when the load record is gone, refuse run_docker and
rolling_update next to a running rotation, defer SIGQUIT, and name the
remaining windows and cases in the trust matrix and threat model.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 12:40:25 +03:00
co-authored by Claude Opus 5.5
parent 6b637109de
commit d4a882ddd6
32 changed files with 1371 additions and 215 deletions
+2 -1
View File
@@ -561,7 +561,8 @@ OpenBao»; правила оператора — `secrets.md`, «OpenBao про
S3 штатным загрузчиком (`load("api", log=<тихий логгер>)`) в контейнере API — окружением ключей у
него нет; `role-password break|restore` (change `rotation-revocation`) — SCRAM-верификатор роли `api` в файл
каталога прогона (0600), случайный пароль и обрыв её сессий (новое соединение — 28P01, ждём 503), возврат
верификатора; проверка — `test_role_password_rejected`. Сводка секретов прогона короче 2/3 срока токена
верификатора; проверки — `test_role_password_rejected` и `test_role_password_refusal_is_named` (одна запись готовности
на отказ и одна на возврат, по `api-log`). Сводка секретов прогона короче 2/3 срока токена
(выборка одного теста) — ненулевой код «roles without renewals», это не падение теста;
- проверки (конец `test_failures.py`): `test_openbao_down_under_running_stand[stop|pause]`,
`test_openbao_sealed_by_operator`, `test_api_start_without_openbao`,