Support for password fallback if biometric auth is not available#10
Open
bmansvk wants to merge 6 commits intojohnthethird:masterfrom
Open
Support for password fallback if biometric auth is not available#10bmansvk wants to merge 6 commits intojohnthethird:masterfrom
bmansvk wants to merge 6 commits intojohnthethird:masterfrom
Conversation
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
Feature/keymasterd http daemon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The app is refactored using
Claude Code.