Basis: Certvia dev@a48c5fb als Fundament für Craftvia
CI / build-and-check (push) Canceled after 0s
CI / audit (push) Canceled after 0s
CI / sbom (push) Canceled after 0s

Unveränderter Stand von certvia/dev (a48c5fb) plus Craftvia-Spezifikation
und Brandbook unter docs/craftvia/. ISMS-Module werden im Folgecommit entfernt.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-14 11:05:39 +02:00
co-authored by Claude Opus 5
commit c8e6f30a27
720 changed files with 140143 additions and 0 deletions
@@ -0,0 +1,14 @@
-- F-17: TOTP-Replay-Schutz — zuletzt akzeptierter RFC-6238-Zeitschritt je Identität.
-- Ein bereits verwendeter (oder älterer) Zeitschritt wird beim Login/2FA abgelehnt.
--
-- Nur EIGENE DDL (die geteilte lokale DB kann Änderungen paralleler Branches
-- enthalten; fremde Blöcke wurden bewusst NICHT übernommen). "users" hat bereits
-- eine aktive RLS-Policy (tenant_isolation, Migration 20260702095816); das reine
-- Hinzufügen einer Spalte erfordert keinen neuen RLS-DO-Block. "platform_admins"
-- ist plattformweit (kein tenant_id/RLS).
-- AlterTable
ALTER TABLE "platform_admins" ADD COLUMN "last_totp_step" BIGINT;
-- AlterTable
ALTER TABLE "users" ADD COLUMN "last_totp_step" BIGINT;