24 lines
1.2 KiB
Plaintext
24 lines
1.2 KiB
Plaintext
Public HTTPS security verification
|
|
Date: 2026-11-27 (Europe/Moscow)
|
|
|
|
Commands:
|
|
python tests/security.py --base-url https://localhost:8443 --ca-file secrets/pki/public-ca/ca.crt
|
|
python tests/smoke.py --base-url https://localhost:8443 --ca-file secrets/pki/public-ca/ca.crt
|
|
python tests/session_expiry.py --base-url https://localhost:8443 --ca-file secrets/pki/public-ca/ca.crt
|
|
|
|
Observed:
|
|
PASS: trusted HTTPS, ACL/attachment isolation, session cap, upload and login limits.
|
|
PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
|
|
PASS: an expired server-side session is rejected over verified HTTPS.
|
|
|
|
Verified failures and boundaries:
|
|
- empty trust store rejects the ingress certificate with a certificate verification error;
|
|
- outsider and cross-chat access return 404 without object disclosure;
|
|
- attachment body above 10 MiB returns 413;
|
|
- the fifth failed login in the configured window returns 429 with positive Retry-After;
|
|
- session replacement, logout and expiry make the old Bearer token return 401;
|
|
- all positive and negative HTTP probes use HTTPS with CA and hostname verification.
|
|
|
|
Certificates and credentials were created locally. No token, password, private key
|
|
or secret value is included in this file.
|