Skip to content

Commit 7f7487c

Browse files
committed
docs(service-settings): the orphan-report note names keyedDigest for secret-valued keys
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018zT8d8NpiQ1ExhuNd5TxY6
1 parent f34f695 commit 7f7487c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/services/service-settings/src/sys-secret-orphan-report.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
* enumerable — it is every `secret`-typed field on every registered object,
3737
* including tenant-authored ones.
3838
* - ✅ The audit trail records digests, not handles (`old_hash` / `new_hash`
39-
* are content digests; `SettingsService` passes the provider's `digest()`),
39+
* are content digests; `SettingsService` passes the provider's
40+
* `keyedDigest()` for secret-valued keys, `digest()` otherwise),
4041
* so audit stays readable after a ciphertext is destroyed — and, the other
4142
* way round, audit can never be used to reconstruct which handles existed.
4243
*

0 commit comments

Comments
 (0)