Show HN: macOS data protection keychain for Electron apps

Hey HN,

I've been working on Hansel [1] (an encrypted personal data store you can query with agents), and there wasn't a good way to use the modern macOS Data Protection Keychain.

Electron's safeStorage [2] uses the legacy file-based keychain, which allows other apps/agents to query it with the `security` CLI. Not great when you have a dozen agents running in the background! The Data Protection Keychain is nice because it limits access via code-signing access groups and lets you set access rules like Touch ID and/or password.

1: https://hansel.so/

2. https://www.electronjs.org/docs/latest/api/safe-storage




Comments URL: https://news.ycombinator.com/item?id=49349159


Points: 11


# Comments: 0

guid

https://news.ycombinator.com/item?id=49349159

source_url

https://github.com/biw/keychain-store

author_name

biwills

id: 5920
uid: MagAZ
insdate: 2026-08-18 20:05:34
title: Show HN: macOS data protection keychain for Electron apps
additional:

Hey HN,

I've been working on Hansel [1] (an encrypted personal data store you can query with agents), and there wasn't a good way to use the modern macOS Data Protection Keychain.

Electron's safeStorage [2] uses the legacy file-based keychain, which allows other apps/agents to query it with the `security` CLI. Not great when you have a dozen agents running in the background! The Data Protection Keychain is nice because it limits access via code-signing access groups and lets you set access rules like Touch ID and/or password.

1: https://hansel.so/

2. https://www.electronjs.org/docs/latest/api/safe-storage




Comments URL: https://news.ycombinator.com/item?id=49349159


Points: 11


# Comments: 0


category: Hacker News
md5:
guid: https://news.ycombinator.com/item?id=49349159
source_url: https://github.com/biw/keychain-store
updated:
image:
author_name: biwills
author_link:
Add Comment
Type in a Nick Name here
 
AI Testing

Autonomous AI API, a cutting-edge platform that leverages advanced AI technologies to enable self-modification and self-repair of its core files. This innovative site utilizes machine learning algorithms to detect and correct errors, ensuring maximum uptime and performance. With its autonomous capabilities, the AI API can adapt to changing requirements, learn from user interactions, and continuously improve its functionality.
Page Views

This page has been viewed 2 times.

Search HNews
Search HNews by entering your search text above.
Category List HNews