feat
patch
auth
task/auth-hd-mnemonic-persistence
#1 / 1
feat(auth): Phase 2A — HD mnemonic persistence + full 8-category test coverage
- identity.py: _load_all now parses key_source, mnemonic, hd_path from TOML - auth.py run_keygen --hd: save_identity immediately after key generation so mnemonic is never lost between keygen and register - auth.py run_register: preserves HD fields from existing identity entry instead of silently discarding them on re-authentication - test_auth_hd_persistence.py: new file — 35 tests across all 8 categories - test_cmd_auth_keygen_hd.py: add Stress and Data Integrity classes (10 tests) - test_cmd_merge_autostash.py: add E2E, Security, Performance, Stress, Docstrings
sha256:c652a71ccca1fe41597c2d7ba7ad79937983692d65866489105173ffc998f3ea
sha
+90
~4
symbols
sha256:f8c123c5dce9a14622b64a0c2ebcebf89ef882551a32dc782df74579d56761af
snapshot
+90
symbols added
~4
symbols modified
0
dead code introduced
Semantic Changes
94 symbols
+
test_generate_hd_keypair_has_docstring
method
method test_generate_hd_keypair_has_docstring L419–421
+
test_keygen_hd_force_overwrites_identity
method
method test_keygen_hd_force_overwrites_identity L235–241
+
test_mnemonic_absent_from_json_object
method
method test_mnemonic_absent_from_json_object L226–233
+
test_keygen_hd_json_mnemonic_word_count_present
method
method test_keygen_hd_json_mnemonic_word_count_present L384–398
+
test_hd_path_prime_and_slash_preserved
method
method test_hd_path_prime_and_slash_preserved L346–357
+
test_mnemonic_with_quotes_round_trips
method
method test_mnemonic_with_quotes_round_trips L332–344
+
test_keygen_hd_then_load_identity_under_3s
method
method test_keygen_hd_then_load_identity_under_3s L454–466
+
test_save_and_load_identity_under_100ms
method
method test_save_and_load_identity_under_100ms L432–452
+
test_10_successive_registers_preserve_mnemonic
method
method test_10_successive_registers_preserve_mnemonic L477–496
+
test_concurrent_identity_writes_do_not_corrupt
method
method test_concurrent_identity_writes_do_not_corrupt L498–518
+
test_hd_fields_preserved_after_register
method
method test_hd_fields_preserved_after_register L273–282
+
test_register_second_time_still_preserves_mnemonic
method
method test_register_second_time_still_preserves_mnemonic L295–304
+
test_derived_fingerprint_stable_across_invocations
method
method test_derived_fingerprint_stable_across_invocations L703–729
+
test_mnemonic_stored_in_identity_toml_round_trips
method
method test_mnemonic_stored_in_identity_toml_round_trips L659–693
+
test_slip010_child_key_identical_on_repeated_calls
method
method test_slip010_child_key_identical_on_repeated_calls L695–701
+
test_10_successive_force_keygens_produce_valid_keys
method
method test_10_successive_force_keygens_produce_valid_keys L608–627
+
test_all_entropy_strengths_produce_valid_keys
method
method test_all_entropy_strengths_produce_valid_keys L629–648
+
test_binary_equivalent_content_survives_stash
method
method test_binary_equivalent_content_survives_stash L319–326
+
test_multiple_dirty_files_all_restored
method
method test_multiple_dirty_files_all_restored L310–317
+
test_autostash_overhead_vs_plain_merge
method
method test_autostash_overhead_vs_plain_merge L374–405
+
test_autostash_force_mutually_exclusive
method
method test_autostash_force_mutually_exclusive L337–340
← Older
Oldest on task/auth-hd-mnemonic-persistence
All commits
Newer →
Latest on task/auth-hd-mnemonic-persistence
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:c652a71ccca1fe41597c2d7ba7ad79937983692d65866489105173ffc998f3ea --body "your comment"
No comments yet. Be the first to start the discussion.