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

> Hacker News story 49349159 · language: en · submitted 2026-08-18
> Web version: https://zeli.app/story/49349159
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 24 · by [biwills](<https://news.ycombinator.com/user?id=biwills>) · 💬 3
[original](<https://github.com/biw/keychain-store>) · [HN discussion](<https://news.ycombinator.com/item?id=49349159>)

## Summary

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.

## Key quote

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

---

## Cite

- Page: https://zeli.app/story/49349159
- Date: 2026-08-18
- Source: github.com (https://github.com/biw/keychain-store)
- Hacker News: https://news.ycombinator.com/item?id=49349159

## Other languages

- zh: https://zeli.app/zh/story/49349159 · markdown: https://zeli.app/zh/story/49349159.md
- ja: https://zeli.app/ja/story/49349159 · markdown: https://zeli.app/ja/story/49349159.md
- ko: https://zeli.app/ko/story/49349159 · markdown: https://zeli.app/ko/story/49349159.md
- de: https://zeli.app/de/story/49349159 · markdown: https://zeli.app/de/story/49349159.md
- es: https://zeli.app/es/story/49349159 · markdown: https://zeli.app/es/story/49349159.md
