gabriel / musehub public
fix task/test-suite-fixes #4 / 12
AI Agent gabriel · 149 days ago · Apr 27, 2026 · Diff

fix: use content-addressed IDs and prefixed pubkeys in MSign test helpers

_seed_identity used uuid.uuid4() for identity_id (should be compute_identity_id(pub)) and stored bare base64url for public_key_b64 (decode_pubkey requires ed25519:<b64> prefix). Second-key registration in test_second_key_still_works had the same issue. Also compute key_id via compute_key_id() instead of uuid.

sha256:17718ffdede146664ef81782958abfae6ac51a93ccd93be7b999cef3c002421c sha
+3 ~3 symbols
sha256:63ea4d3efd9ec9637038155d6018b5daa125cbc7270392b980f9b2f88d68c87a snapshot
+3
symbols added
~3
symbols modified
0
dead code introduced
Semantic Changes 6 symbols
~ tests/test_msign_request_signing.py .py 3 symbols added, 3 symbols modified
+ compute_identity_id import import compute_identity_id L36–36
+ compute_key_id import import compute_key_id L36–36
+ encode_pubkey import import encode_pubkey L27–27

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:17718ffdede146664ef81782958abfae6ac51a93ccd93be7b999cef3c002421c --body "your comment"