keychain-store - Secure macOS Data Protection Keychain for Electron apps

keychain-store - Secure macOS Data Protection Keychain for Electron apps

keychain-store is a secure storage library for signed Electron and Node.js applications, leveraging the modern macOS Data Protection Keychain. It protects sensitive data with code-signing access groups, ensuring only explicitly entitled apps can access items, and blocks the `security` CLI. The library supports optional device-owner authentication (Touch ID or password), iCloud Keychain synchronization, and declares immutable and mutable accounts for fine-grained control. With a simple API for storing strings and binary data, it's ideal for managing tokens, installation IDs, and encryption keys. The package also includes a Swift library for native macOS targets, making it a versatile solution for cross-platform development.

Secure storage for signed Electron and Node apps, backed by the modern macOS Data Protection Keychain.

More from this day

2026-08-18