feat: HD-only keygen — remove JBOK, add agent derivation and recover
- Delete generate_keypair() (JBOK random keys) from keypair.py - Add agent_id_to_slot() to hdkeys.py: sha256(handle)[:4] & 0x7FFFFFFF - run_keygen: no --hd flag; human path generates fresh 24-word mnemonic; agent path derives from operator mnemonic via derive_agent_sub_seed() - run_recover: re-derives same key from BIP39 mnemonic (human or agent) - identity.py: provisioned_by_fingerprint field added to IdentityEntry - Fix run_recover bugs: use .get('handle','') and check validate_mnemonic() return value - Write test_hd_keygen_unified.py: 44 tests for agent_id_to_slot, human keygen, agent keygen, run_recover, no-JBOK, integration flow - Update test_cmd_auth_keygen_hd.py: remove --hd flags, fix 12→24 word defaults
sha256:910a8d48bf685659fdcaf595d029bb56512f8f75aaf3c41a942f2004fdd3f413
sha
sha256:fefe5476212ea6a736ae6632137562dde2b3571c297d32ed30aa8766b6f20ae6
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:910a8d48bf685659fdcaf595d029bb56512f8f75aaf3c41a942f2004fdd3f413 --body "your comment"
No comments yet. Be the first to start the discussion.