Commit Graph
34 Commits
Author SHA1 Message Date
ricoromaandClaude Opus 5.5 4dd73299cf fix: address openbao-secrets verify findings
bao_check now compares cert auth roles and policies in OpenBao with
the repository and tries every foreign identity against every role
and without a role name; API and migrations exit with code 2 on
invalid settings; stop-at-start runs its attempts next to the stand's
OpenBao again; openbao-outage checks the exit code, the record and
the restart; run_docker restarts only services started before seed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 15:17:57 +03:00
ricoromaandClaude Opus 5.5 3875db4007 docs: name the openbao-secrets code commit in its evidence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 13:55:31 +03:00
ricoromaandClaude Opus 5.5 64210dace0 feat: load process secrets from OpenBao via cert auth
OpenBao 2.7.3 (raft, TLS 1.3 with client certificates) holds the
PostgreSQL role passwords, the Valkey password and the S3 keys; each
process logs in with its own mTLS identity, reads only its paths and
renews its token in the background. Operator init, unseal, configure
and seed go through infra/openbao/bao.py and make bao_*; checks are
make bao_check and driver.py openbao-outage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 13:55:09 +03:00
ricoromaandClaude Opus 5.5 eaa5bca796 fix: address telemetry-backends-tls verify findings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 11:34:03 +03:00
ricoromaandClaude Opus 5.5 c34279c6b6 docs: name the telemetry-backends-tls code commit in its evidence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 10:20:45 +03:00
ricoromaandClaude Opus 5.5 1722fb0c35 feat: put telemetry backends, LB metrics and Grafana behind mTLS gateways
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 10:20:27 +03:00
ricoromaandClaude Opus 5.5 97b6dc25f0 fix: address telemetry-mtls verify findings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 00:45:12 +03:00
ricoromaandClaude Opus 5.5 845a8fc0e6 docs: name the telemetry-mtls code commit in its evidence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:50:13 +03:00
ricoromaandClaude Opus 5.5 0a4f95eca7 feat: accept OTLP only through an mTLS gateway with an identity allowlist
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:49:58 +03:00
ricoromaandClaude Opus 5.5 9d33c56311 docs: name the messaging-telemetry-mtls code commit in its evidence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:34:57 +03:00
ricoromaandClaude Opus 5.5 8236027e92 feat: require mTLS with certificate login for RabbitMQ and split relay and worker rights
Broker accepts only TLS 1.3 with a client certificate checked against the
stand CRL; login is EXTERNAL by certificate DNS SAN, broker passwords are
gone. Relay may declare its queue and publish, worker may only consume.
Definitions and TLS material checks come from infra/rabbitmq/start.sh;
temporary stands, CI, bench and the fault hook use the same mTLS identities.
Adds make broker_mtls_check [REPORT=1] and drops the rollback broker compose.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:34:47 +03:00
ricoromaandClaude Opus 5.5 a970082cfb docs: name the storage-roles verify fix commit in its evidence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:21:45 +03:00
ricoromaandClaude Opus 5.5 c26a24d2ae fix: address storage-roles verify findings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 16:21:34 +03:00
ricoromaandClaude Opus 5.5 e06017cd1a docs: name the storage-roles code commit in its evidence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:10:21 +03:00
ricoromaandClaude Opus 5.5 d5eaeb3183 feat: separate PostgreSQL roles and Valkey ACL per service
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 14:10:09 +03:00
ricoromaandClaude Opus 5.5 c078bfd271 docs: name the storage-tls verify fix commit in its evidence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:55:44 +03:00
ricoromaandClaude Opus 5.5 a1bfb8dde2 fix: address storage-tls verify findings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:55:33 +03:00
ricoromaandClaude Opus 5.5 9f01fcce4b docs: name the storage-tls code commit in its evidence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 21:18:05 +03:00
ricoromaandClaude Opus 5.5 8bca5543fd feat: require TLS to PostgreSQL, Valkey and S3
Storage servers accept only TLS 1.3 (pg_hba hostssl / hostnossl reject,
Valkey port 0, S3 gateway HTTPS only) with stand identities postgres,
valkey and s3. Clients trust only the stand CA from [client_tls] ca_file
and check the host name; no switch to disable verification. Processes
exit with code 2 without a CA or with an IP storage address. Temporary
stands, CI and bench/ run on TLS storages; make storage_tls_check adds
negative checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 21:17:49 +03:00
ricoromaandClaude Opus 5.5 7e4bdc7ff4 docs: name the verify fix commits in auth-hardening evidence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 10:42:46 +03:00
ricoromaandClaude Opus 5.5 fa5ba51d6a fix: delete login counters that drop to zero
A reserve returned after a KDF budget rejection or 503 left a zero key
in Valkey until the end of the window, so a flood with new usernames
created keys past the address limit and could evict real counters.
SETTLE_SCRIPT and LocalLoginLimiter now delete a counter at zero.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 10:42:25 +03:00
ricoromaandClaude Opus 5.5 3f4771c9d9 fix: address auth-hardening verify findings
Drop the body-limit rule from HAProxy (user decision 2026-11-18): the
replica middleware answers 400 with X-Instance-Id, tests require the
header again. Widen the failure_checks selection in the trust matrix,
name 13fdd18 in the evidence header, document Valkey LRU eviction of
login counters and the allowlist as trusted X-Forwarded-For senders,
check waited_ms of KDF budget rejections in the queue scenario.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 10:31:57 +03:00
ricoromaandClaude Opus 5.5 13fdd187c6 feat: harden authentication (Argon2id by measurement, login limits, body limit)
Apply auth-hardening up to the bench_login label: Argon2id parameters
from [auth] chosen by driver.py argon2-params (m=64 MiB, t=2, p=1),
rehash on login, per-process KDF budget with 429, shared login failure
limit in Valkey with a local fallback, X-Forwarded-For from HAProxy,
64 KiB body limit (400) in LB and middleware, bench login profile,
tests, threat model and trust matrix rows. Hypotheses H1-H4 are
committed here before the baseline label.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 17:52:48 +03:00
ricoromaandClaude Opus 5.5 6c912678c0 docs: name the ingress tickets commit in https-tooling evidence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 12:07:17 +03:00
ricoromaandClaude Opus 5.5 b56157b109 fix: disable TLS 1.3 session tickets on the HAProxy ingress
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 12:06:55 +03:00
ricoromaandClaude Opus 5.5 465d7383aa docs: name the fix commit in https-tooling evidence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 11:40:45 +03:00
ricoromaandClaude Opus 5.5 74e8e8fec2 fix: address https-tooling verify findings
Disable TLS 1.3 session tickets on the API so an aborted upload body
frees its slot at once; k6 trusts only the run CA.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 11:40:25 +03:00
ricoromaandClaude Opus 5.5 d82da0a8f6 docs: name the code commit in https-tooling evidence
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 07:09:04 +03:00
ricoromaandClaude Opus 5.5 b2ca2ae5d9 feat: run isolated tests, fault stand, CI and bench over HTTPS and mTLS
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 07:08:47 +03:00
ricoromaandClaude Opus 5.5 99b8d1b8d4 fix: address verify remarks for pki-ingress-mtls
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 04:49:45 +03:00
ricoromaandClaude Opus 5.5 50cb54f0a1 feat: implement pki-ingress-mtls
Local CA script, HTTPS ingress on :8443, mandatory mTLS LB -> API
with an identity allowlist, separate health listener, random
X-Instance-Id alias; tests, hooks and driver over HTTPS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 11:38:32 +03:00
ricoromaandClaude Opus 5.5 fef97b39ae wip: apply pki-ingress-mtls groups 6-7, start docs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 11:09:30 +03:00
ricoromaandClaude Opus 5.5 4759f71dec wip: apply pki-ingress-mtls groups 3-5, start group 6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 06:49:52 +03:00
ricoromaandClaude Opus 5.5 5c514b09e8 wip: apply pki-ingress-mtls groups 1-4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 06:42:44 +03:00