forked from mtusi2026/mtusi2026lab7
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:
@@ -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]),
|
||||
|
||||
Reference in New Issue
Block a user