feat: pin keychain item ACLs to the app's code signature (macOS) (#21)

This commit was merged in pull request #21.
This commit is contained in:
2026-09-04 03:41:54 +00:00
parent a86f5f7199
commit fd451d219d
6 changed files with 223 additions and 4 deletions
+9
View File
@@ -49,3 +49,12 @@ rustls-pemfile = "2"
rustls-pki-types = "1"
rustls-native-certs = "0.7"
# Keychain ACL normalization (explicit SecAccess on stored secrets so items
# survive app re-signs without permission prompts) — macOS only.
[target.'cfg(target_os = "macos")'.dependencies]
security-framework = "3.7"
security-framework-sys = "2.17"
# core-foundation: CFString/CFArray/TCFType helpers for the SecAccess FFI
# (already a transitive dep of security-framework; pinned to the same 0.10 line)
core-foundation = "0.10"