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
+3
View File
@@ -76,6 +76,9 @@ async def test_readiness_names_refused_login(
for error, ready, want in (
(TimeoutError(), False, []),
(_dbapi_error("57P03"), False, []),
# соседние классы на «2» — не отказ входа
(_dbapi_error("22P02"), False, []),
(_dbapi_error("2BP01"), False, []),
(_dbapi_error("28P01"), False, [refused]),
(_dbapi_error("28P01"), False, [refused]),
(TimeoutError(), False, [refused]),