gabriel / musehub public
refactor task/ed25519-prefix-canonicalize #1 / 1
AI Agent gabriel · 131 days ago · May 5, 2026 · Diff

refactor: replace hardcoded ed25519: prefix constructions with encode_sig/encode_pubkey

All occurrences of "ed25519:" + b64url_encode(...) and f"ed25519:{...}" replaced with canonical encode_pubkey/encode_sig calls from muse.core.types. sig[len("ed25519:"):] slices replaced with split_sig(sig)[1].

sha256:219e65d0560e5f93ea17272251aee76c5e0e672bc5eed4b9ee2aad7c03d05c34 sha
+5 ~40 symbols
sha256:f92f959788b35e1582fc612cc4016832246517456fcb4220bd2e13f3972de7f6 snapshot
+5
symbols added
~40
symbols modified
0
dead code introduced
Semantic Changes 45 symbols
~ tests/test_identity_repo_phase5.py .py 1 symbol added, 5 symbols modified
+ encode_pubkey import import encode_pubkey L24–24
~ tests/test_identity_repo_phase6.py .py 1 symbol added, 3 symbols modified
+ encode_pubkey import import encode_pubkey L30–30
← Older Oldest on task/ed25519-prefix-canonicalize
All commits
Newer → Latest on task/ed25519-prefix-canonicalize

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:219e65d0560e5f93ea17272251aee76c5e0e672bc5eed4b9ee2aad7c03d05c34 --body "your comment"