HarperFast / HarperFast/harper

Secrets hardening: context-bound envelopes (enc:v2), key rotation walk, audit stream

Open
#1,552 0 comments 0 reactions 1 assignee Claimed by @dawsontoth View on GitHub
Dominant language
JavaScript
Stars
89
Forks
10
Avg merge
2d 6h
Merged PRs (30d)
200

Description

Hardening phase (5) of the secrets-management plan, after the store (#715), consumption, and custody (harper-pro#166) land.

- `enc:v2`: AAD-bind ciphertext to its context (cluster | secret name) so a transplanted envelope fails to decrypt.
- Rotation: operator-triggered re-encrypt walk over hdb_secret keyed on envelope `kid`; custody layer holds a kid→key set during the walk so old ciphertext keeps decrypting until re-encrypted.
- First-class audit stream for secret writes/grants/reads (component-granularity for reads) — who/what/when, never values.
- External KMS/vault custody provider (#816) belongs to this phase.

🤖 Drafted by Claude (Fable 5) on Kris's behalf.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.