Skip to content

Conversation

@bmansvk
Copy link

@bmansvk bmansvk commented Oct 28, 2025

The app is refactored using Claude Code.

bmansvk and others added 6 commits June 1, 2025 22:29
This commit adds the ability to specify a custom description text when
retrieving keys from the Keychain. When running 'keymaster get', users
can now:

- See which key is being read with a message before authentication
- Use --description or -d flag to customize the biometric prompt text
- Example: keymaster get vpn_password -d "VPN wants to authenticate"

The default behavior remains unchanged - showing "get the secret for <key>"
if no custom description is provided.

Updated documentation with usage examples and the new flag.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- keymasterd.swift: Persistent HTTP daemon with socket server
  - Listens on configurable port (default 8787)
  - HTTP Basic Authentication support
  - Password via KEYMASTERD_PASSWORD env var (not visible in ps)
  - Biometric/password prompt per Keychain request
  - GET /key/<name> and GET /health endpoints

- keymasterd-inetd.swift: On-demand inetd-style version
  - Spawned by launchd only when request arrives
  - Zero memory footprint when idle
  - Reads from stdin, writes to stdout

- com.keymaster.keymasterd.plist: Launchd plist for persistent daemon
- com.keymaster.keymasterd-inetd.plist: Launchd plist for on-demand mode
- README.md: Documentation for both modes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant