security(phase-2): derive Ed25519 key from mnemonic at sign time — no PEM read
resolve_signing_identity now derives the private key from the OS keychain mnemonic via SLIP-0010 HD derivation at call time. No PEM file is read or written. Returns None when the entry lacks hd_path or the keychain has no mnemonic. Old TestResolveSigningIdentity tests updated to use the mnemonic- based path; new TestResolveSigningIdentityPhase2 (P2-1..P2-6) all green.
sha256:86d1d97a0143ab6c55133f029dae9bb3ca95c28d2f77d7891198ebf88cebbe26
sha
+15
~5
symbols
sha256:1f7b352d088e10d71f675bad2f80c7d358c48daa4038a8dac3b77016c455fc38
snapshot
+15
symbols added
~5
symbols modified
0
dead code introduced
Semantic Changes
20 symbols
+
test_P2_1_derives_key_from_mnemonic_not_pem
method
method test_P2_1_derives_key_from_mnemonic_not_pem L412–438
+
test_P2_2_derived_key_matches_mnemonic_derivation
method
method test_P2_2_derived_key_matches_mnemonic_derivation L440–467
+
test_P2_3_no_mnemonic_in_keychain_returns_none
method
method test_P2_3_no_mnemonic_in_keychain_returns_none L469–492
+
test_P2_4_no_identity_entry_returns_none
method
method test_P2_4_no_identity_entry_returns_none L494–501
+
test_P2_5_no_hd_path_in_entry_returns_none
method
method test_P2_5_no_hd_path_in_entry_returns_none L503–522
+
test_P2_6_signing_produces_verifiable_signature
method
method test_P2_6_signing_produces_verifiable_signature L524–559
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:86d1d97a0143ab6c55133f029dae9bb3ca95c28d2f77d7891198ebf88cebbe26 --body "your comment"
No comments yet. Be the first to start the discussion.