Выполнить лабораторную 7 по безопасности мессенджера
Application HTTPS smoke / smoke (pull_request) Blocked by required conditions
Skeleton contracts / contracts (pull_request) Blocked by required conditions

This commit is contained in:
2026-12-04 23:51:24 +03:00
parent 20afc2c790
commit 65bbf3224a
86 changed files with 6376 additions and 144 deletions
+8
View File
@@ -0,0 +1,8 @@
python3 tests/smoke.py --base-url "https://localhost:8443" --ca-file "secrets/trust/edge.crt"
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
python3 tests/security.py --base-url "https://localhost:8443" --ca-file "secrets/trust/edge.crt"
PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
python3 student-tests/public_security.py
{"hostname_mismatch": "PASS", "acl": "PASS", "logout": "PASS", "expiry": "PASS", "argon2_rehash": "PASS", "login_attempt_statuses": [401, 401, 401, 401, 401, 401, 401, 401, 429, 429], "replica_count": 2}
python3 tests/smoke.py --base-url "https://localhost:8443" --ca-file "secrets/trust/edge.crt"
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.