Repository navigation
Keep the master key in the macOS Keychain: one command, README how-to - #25
Merged
Merged
Conversation
…move it scripts/master_key_to_keychain.py moves HYPERLIQUID_MASTER_PRIVATE_KEY from the env file into the login Keychain: stores it via `security -i` on stdin (never argv, never history), reads it back and compares, and only then removes the line (atomic, mode kept). Prints no key. --dry-run. README: a safety bullet for everyone (links the GitHub SECRETS.md, since the plugin README omits the maintainer section) and a Maintainer how-to. docs/SECRETS.md has the same steps. Tests: tests/test_master_key_to_keychain.py (fake Keychain). Run by hand on macOS 15 against the real Keychain with a fake key and a dummy item: dry run, move, mode 600 kept, read back, second run is a no-op. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Julian-dev28
added a commit
that referenced
this pull request
Nov 16, 2026
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.
Adds scripts/master_key_to_keychain.py (stores the key via stdin, reads back to verify, then removes it from .env.local; prints no key) and the how-to in README (safety bullet + Maintainer section) and docs/SECRETS.md. Tested with a fake Keychain and by hand against the real Keychain with a fake key.
🤖 Generated with Claude Code