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
@@ -246,7 +246,8 @@ TLS и до клиентов хранилищ, входит в OpenBao серт
`run_relay`, `upgrade`, `revision`, `service_test_db`; `start_db`,
`start_cache`, `start_s3` зависят от `pki_stand`: хранилищам нужны
файлы стенда);
- `run_docker: env_setup pki_stand` (с лабы 7 — сначала CA и файлы
- `run_docker: rotation_idle env_setup pki_stand` (с лабы 7 — сначала
отказ, если идёт команда ротации (`rotation.md`), затем CA и файлы
стенда, `tls.md`; недостающие `.env` и `config.toml` из
шаблонов, затем `DOCKER_BUILDKIT=1 $(DC) build` и `$(DC) up -d`:
хранилища → migrate и s3-bootstrap → `api` × `API_REPLICAS` →