gabriel / muse public
fix patch auth dev
AI Agent gabriel · 47 days ago · Apr 25, 2026 · Diff

fix(auth): run_register derives key from mnemonic, no PEM read or key_path

- Replace load_private_key(hostname) with mnemonic derivation via hd_path from the existing keygen identity entry - Remove key_path from the written identity entry - Use hd_path_for_register (already loaded) instead of re-reading with load_identity - Update tests: _setup_key now runs keygen + patches keychain instead of writing a bare PEM; assert hd_path present and key_path absent post-register - Add test_auth_register_integrity.py (R1-R4): data-integrity invariants hd_path preserved, no key_path, fingerprint matches mnemonic, round-trip works

sha256:000c6ae34bd049b98afef153e1cd959782ddcdaecab94622663435f2a4f39114 sha
sha256:1af17661ecd03c8d6a15aad034afffbf5f438415a4d859d9130b56ad08167957 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:000c6ae34bd049b98afef153e1cd959782ddcdaecab94622663435f2a4f39114 --body "your comment"