ЛР 7 — БПИ2304 — Яковлев — на 3 #61

Open
tankist wants to merge 2 commits from tankist/mtusi2026lab7:solution/BPI2304-Yakovlev into main
First-time contributor

Лабораторная 7

Автор / группа: Яковлев Матвей Дмитриевич / БПИ2304
Целевая оценка: 3

Что реализовано: внешний TLS (nginx, SAN localhost/127.0.0.1), внутренний mTLS LB→API с отдельным mesh-CA и единственной разрешённой identity lb, TLS/verify-full ко всем stateful-сервисам (PostgreSQL, MinIO, Redis, OTel Collector, OpenBao), Argon2id (m=19MiB, t=2, p=1), OpenBao не в dev-mode с file-бэкендом, KV-v2 и scoped AppRole (policy только secret/data/messenger/app), общий login rate limit через Redis (429 + Retry-After), заполненная trust matrix и отрицательные тесты.

Команды: python scripts/generate_certs.py; docker compose --env-file .env up -d; python scripts/bootstrap_bao.py; make test BASE_URL=https://localhost:8443 CA_FILE=; make test-security ...; python scripts/verify_security.py; python scripts/verify_telemetry.py.

Результаты: smoke HTTPS — PASS; security — PASS (untrusted CA rejected); verify_security — TLS/mTLS x2/BAO/RATE OK; verify_telemetry — OK; persistence — PASS; failover — PASS (2 реплики, 103 записи, recovery 0.879 с); 16 юнит-тестов — OK. Отчёт: REPORT.md, trust matrix: contracts/trust-matrix.md, вывод: evidence/lifecycle.txt.

Ограничения: уровень 4 не заявлен (нет rotation/expiry, DLQ, outbox, полной mTLS-матрицы и разбора инцидентов).

## Лабораторная 7 Автор / группа: Яковлев Матвей Дмитриевич / БПИ2304 Целевая оценка: 3 Что реализовано: внешний TLS (nginx, SAN localhost/127.0.0.1), внутренний mTLS LB→API с отдельным mesh-CA и единственной разрешённой identity lb, TLS/verify-full ко всем stateful-сервисам (PostgreSQL, MinIO, Redis, OTel Collector, OpenBao), Argon2id (m=19MiB, t=2, p=1), OpenBao не в dev-mode с file-бэкендом, KV-v2 и scoped AppRole (policy только secret/data/messenger/app), общий login rate limit через Redis (429 + Retry-After), заполненная trust matrix и отрицательные тесты. Команды: python scripts/generate_certs.py; docker compose --env-file .env up -d; python scripts/bootstrap_bao.py; make test BASE_URL=https://localhost:8443 CA_FILE=<CA>; make test-security ...; python scripts/verify_security.py; python scripts/verify_telemetry.py. Результаты: smoke HTTPS — PASS; security — PASS (untrusted CA rejected); verify_security — TLS/mTLS x2/BAO/RATE OK; verify_telemetry — OK; persistence — PASS; failover — PASS (2 реплики, 103 записи, recovery 0.879 с); 16 юнит-тестов — OK. Отчёт: REPORT.md, trust matrix: contracts/trust-matrix.md, вывод: evidence/lifecycle.txt. Ограничения: уровень 4 не заявлен (нет rotation/expiry, DLQ, outbox, полной mTLS-матрицы и разбора инцидентов).
tankist added 1 commit 2026-11-28 14:30:33 +03:00
ЛР 7: TLS/mTLS, Argon2id, OpenBao и negative tests (оценка 3)
Skeleton contracts / contracts (pull_request) Canceled after 0s
8c75b7266f
tankist added 1 commit 2026-11-28 14:31:02 +03:00
ЛР 7: указать ссылку на PR #61
Skeleton contracts / contracts (pull_request) Canceled after 0s
007b0934b3
Some required checks failed
1 workflow awaiting approval

The workflow will only run after approval from the repository maintainer.

Skeleton contracts / contracts (pull_request) Canceled after 0s
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u https://gitea.privcloud.tech/tankist/mtusi2026lab7 solution/BPI2304-Yakovlev:tankist-solution/BPI2304-Yakovlev
git checkout tankist-solution/BPI2304-Yakovlev
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mtusi2026/mtusi2026lab7#61