Encrypt authored-action idempotency ledger at rest #1123

Merged
rockachopa merged 1 commits from timmy/1122-encrypt-idempotency-ledger into main 2026-08-19 09:35:56 +00:00
Member

Closes #1122

Encrypts authored-action request fingerprints and completed Gitea responses with AES-256-GCM envelopes authenticated to the operation key and field purpose. Legacy plaintext rows migrate atomically on first use; wrong keys and ciphertext substitution fail closed.

Tests:

  • pytest -q tests/test_idempotency_ledger.py tests/test_authored_idempotency.py (18 passed)
  • pytest tests/ -q (2137 passed, 8 skipped)
Closes #1122 Encrypts authored-action request fingerprints and completed Gitea responses with AES-256-GCM envelopes authenticated to the operation key and field purpose. Legacy plaintext rows migrate atomically on first use; wrong keys and ciphertext substitution fail closed. Tests: - `pytest -q tests/test_idempotency_ledger.py tests/test_authored_idempotency.py` (18 passed) - `pytest tests/ -q` (2137 passed, 8 skipped)
rockachopa added 1 commit 2026-08-19 09:29:39 +00:00
security: encrypt idempotency ledger at rest (Closes #1122)
All checks were successful
CI / lint (pull_request) Successful in 2m49s
CI / build-release (pull_request) Successful in 5s
CI / browser-journey (pull_request) Successful in 2m57s
CI / release-candidate (pull_request) Has been skipped
3822ec4536
rockachopa merged commit db85bfa5f9 into main 2026-08-19 09:35:56 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#1123
No description provided.