PASS make check (offline contract)
PASS rogue PKI material present
PASS external TLS trust (public test-security) — PASS: trusted HTTPS works; untrusted CA rejected. This does NOT verify internal mTLS, OpenBao or hardening.
PASS external TLS: wrong hostname rejected by verification — cert_error:IP address mismatch, certificate is not valid for '127.0.0.1'.
PASS exposure: no service published on all interfaces
PASS hardening: api replicas non-root, read-only, cap_drop, no-new-privileges — messenger-lab7-api-1 user=10001 ro=True; messenger-lab7-api-2 user=10001 ro=True
PASS public smoke over HTTPS — PASS: lab7 public API scenario; infrastructure and grading evidence remain separate.
PASS mTLS LB->API: allowed identity lb — {'result': 'ok', 'status': 200}
PASS mTLS LB->API: no client certificate rejected — {'result': 'tls_error', 'error': 'SSLError'}
PASS mTLS LB->API: same-CA foreign identity rejected — {'result': 'http', 'status': 403}
PASS mTLS LB->API: certificate from foreign CA rejected — {'result': 'tls_error', 'error': 'SSLError'}
PASS mTLS LB->API: health identity cannot call business API — {'result': 'http', 'status': 403}
PASS broker mTLS: messenger-api identity accepted — {'result': 'ok'}
PASS broker mTLS: messenger-worker identity accepted — {'result': 'ok'}
PASS broker mTLS: same-CA foreign identity rejected — {'result': 'connect_error', 'error': 'ProbableAuthenticationError'}
PASS broker ACL: worker cannot declare a foreign queue — {'result': 'access_denied', 'code': 403}
PASS OTLP ingress: api identity accepted — {'result': 'http', 'status': 200}
PASS OTLP ingress: same-CA foreign identity rejected — {'result': 'http', 'status': 403}
PASS OTLP ingress: no client certificate rejected — {'result': 'http', 'status': 400}
PASS S3: api may write staging/ — {'result': 'ok', 'key': 'staging/probe-3cb3dbbe06014d7a9d3d81d556eb93d3'}
PASS S3: api cannot write originals/ — {'result': 'denied', 'code': 'AccessDenied'}
PASS S3: worker cannot write staging/ — {'result': 'denied', 'code': 'AccessDenied'}
PASS S3: worker may write originals/ — {'result': 'ok', 'key': 'originals/probe-5de56aed653140afa82a85c35ed111de'}
PASS ACL: outsider cannot read chat
PASS ACL: outsider cannot read attachment metadata
PASS ACL: forged X-User-Id does not change identity
PASS ACL: token invalid after logout
PASS auth: identical error for wrong password and unknown user — statuses=401/401 codes=unauthorized/unauthorized
PASS worker pipeline ready over TLS — ready
PASS OpenBao: api reads own secret, denied elsewhere — DENIED=
PASS OpenBao: sealed by operator — 204
PASS sealed OpenBao: running API stays ready
PASS sealed OpenBao: running API still serves business requests
PASS sealed OpenBao: new process fails instead of using cached/file secrets
PASS OpenBao: unsealed again
PASS rotation: stack back to ready after recreating ingress/api
PASS rotation: old lb identity rejected on new connections — {'result': 'http', 'status': 403}
PASS rotation: new lb identity works — {'result': 'ok', 'status': 200}
PASS rotation: image not rebuilt
PASS rotation: stack back to ready after recreating worker
PASS rotation: disabled S3 identity denied — {'result': 'denied', 'code': 'InvalidAccessKeyId'}
PASS rotation: worker works with rotated secret
PASS rotation: image not rebuilt (secret)
PASS telemetry: no secrets or user identifiers in logs/metric labels — {'result': 'ok', 'log_matches': [], 'forbidden_labels': [], 'lines_scanned': 54}
PASS rehash: legacy hash replaced on successful login — status=201 prefix=$argon2id$v=19$m=19456,t=2,p=1$C
PASS rate limit: 429 returned — statuses=401,401,401,401,429
PASS rate limit: Retry-After present — 29
PASS rate limit: shared across replicas (both instances observed before 429) — instances=160a1aca3c0e,82747fb33d1f

SUMMARY: 48 passed, 0 failed
