gabriel / muse public
test dev
AI Agent gabriel · 146 days ago · Apr 25, 2026 · Diff

test: delete test_agent_id_traversal.py; fix key_set fixtures in auth tests

- Delete tests/test_agent_id_traversal.py: tested keypair._key_path which was removed in PEM cleanup; PEM path traversal risk is obsolete since no PEM is ever written to disk - Fix 4 key_set test failures: _display_entry now uses bool(hd_path) not bool(key_path); update _store_entry/_make_entry/_store fixtures in test_cli_auth.py and test_cmd_auth_hardening.py to use hd_path - Update key-material-security-audit.md to mark items #2 and #3 resolved

sha256:546bf7d4f0f98f63a37ef92fbc59a62b0f4d5f13a9bd0cda8fa9cde14a6a845b sha
~15 −22 symbols
sha256:5d9937b4ea82ba3b4518ef03ecb73b5d006b7099e29c32412fcf3c4b6bdd0a6a snapshot
~15
symbols modified
−22
symbols removed
0
dead code introduced
Semantic Changes 37 symbols
~ tests/test_agent_id_traversal.py .py 22 symbols removed
TestKeyPathSafeAgentId class class TestKeyPathSafeAgentId L94–108
test_II1_alphanumeric_accepted method method test_II1_alphanumeric_accepted L95–98
test_II2_hyphens_underscores_accepted method method test_II2_hyphens_underscores_accepted L100–103
test_II3_internal_dot_accepted method method test_II3_internal_dot_accepted L105–108
TestKeyPathTraversalRejected class class TestKeyPathTraversalRejected L68–87
test_I1_dotdot_slash_rejected method method test_I1_dotdot_slash_rejected L69–72
test_I2_leading_slash_rejected method method test_I2_leading_slash_rejected L74–77
test_I3_backslash_rejected method method test_I3_backslash_rejected L79–82
test_I4_null_byte_rejected method method test_I4_null_byte_rejected L84–87
TestKeygenTraversalEndToEnd class class TestKeygenTraversalEndToEnd L115–128
test_III1_keygen_traversal_agent_id_rejected method method test_III1_keygen_traversal_agent_id_rejected L116–128
_HUB variable variable _HUB L39–39
_MNEMONIC variable variable _MNEMONIC L40–43
fixed_mnemonic function function fixed_mnemonic L58–61
CliRunner import import CliRunner L36–36
annotations import import annotations L28–28
id_module import import id_module L35–35
kp_module import import kp_module L34–34
pathlib import import pathlib L30–30
pytest import import pytest L32–32
isolated function function isolated L47–54
runner variable variable runner L38–38
~ tests/test_cli_auth.py .py 2 symbols modified
← 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:546bf7d4f0f98f63a37ef92fbc59a62b0f4d5f13a9bd0cda8fa9cde14a6a845b --body "your comment"