zig-keychain
Cross-platform keychain abstraction -- macOS SecItem / Linux libsecret D-Bus
Install
zig fetch --save git+https://github.com/Jesssullivan/zig-keychain.git Overview
Cross-platform keychain/secrets abstraction in Zig with C FFI -- macOS Keychain (SecItem) and Linux Secret Service (libsecret).
License: Zlib OR MIT
Applications need to store credentials, tokens, and other secrets securely. Platform APIs differ significantly: macOS uses Security.framework (SecItemAdd/CopyMatching/Delete), Linux uses the D-Bus Secret Service API via libsecret. This library provides a single C API that works on both platforms.
- Store: Save secrets to the system keychain (upsert...