gabriel / musehub public
refactor BREAKING task/fingerprint-prefix #1 / 1
AI Agent gabriel · 58 days ago · Apr 22, 2026 · Diff

refactor: canonical sha256: prefix for key_fingerprint

key_fingerprint() now returns "sha256:<64-hex>" (71 chars) matching the canonical fingerprint format used everywhere else in the Muse ecosystem.

- musehub/crypto/keys.py: updated key_fingerprint(), docstrings - musehub/db/musehub_auth_models.py: String(64)→String(71) for both auth tables - musehub/models/musehub_auth.py: updated Pydantic validators and patterns - alembic/versions/widen_auth_fingerprint_to_prefixed.py: migration widens columns and data-migrates existing rows with sha256: prefix - tests/test_musehub_auth_crypto.py: updated TestKeyFingerprint to expect sha256: prefix and 71-char length

sha256:1e51b77750a01e060bba89615fd2d81f3f8d52909013fb93109194236e43eff9 sha
sha256:f02a2c77cec0e30e162256688436b9c6f518a97ab3134c697f44a8ed9a0f83ff snapshot
← Older Oldest on task/fingerprint-prefix
All commits
Newer → Latest on task/fingerprint-prefix

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:1e51b77750a01e060bba89615fd2d81f3f8d52909013fb93109194236e43eff9 --body "your comment"