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

fix: delete PEM-load path from hub/_core.py _hub_api

Remove the key_path/load_pem_private_key primary signing path — no backward compat, no PEM reads. get_signing_identity(remote_url=hub_url) is now the sole signing resolution path, consistent with all other commands.

TDD test H1 added: confirms load_pem_private_key is never called even when identity entry contains a key_path pointing to a real file.

Update key-material-security-audit.md: mark #5 resolved.

sha256:70053a7b1406bbf78e9f85997740dbf178f2be0b1be3b1bb9c01ba079f276845 sha
+2 ~5 symbols
sha256:db67409ee7c0ad6f93b3964863b5f248b34b1280c152e3f211add0c34045b7ba snapshot
+2
symbols added
~5
symbols modified
0
dead code introduced
Semantic Changes 7 symbols
~ muse/cli/commands/hub/_core.py .py 1 symbol modified
~ tests/test_cmd_hub_hardening.py .py 2 symbols added
+ TestHubApiPemLoadRemoved class class TestHubApiPemLoadRemoved L323–365
+ test_H1_load_pem_private_key_never_called_even_with_key_path method method test_H1_load_pem_private_key_never_called_even_with_key_path L331–365
← 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:70053a7b1406bbf78e9f85997740dbf178f2be0b1be3b1bb9c01ba079f276845 --body "your comment"