feat: replace signature_format int with algo-prefixed ed25519: values
- Add encode_sig, encode_pubkey, decode_sig, decode_pubkey, sig_algo to _types.py - Remove signature_format field from CommitRecord, CommitDict, store serialization - Rewrite sign_commit_ed25519, verify_commit_ed25519, encode_public_key to use helpers - Update verify.py, verify_commit.py, verify_tag.py to dispatch on sig_algo prefix - Fix all tests to use helpers instead of raw base64 codec operations - Fix test helpers: strip sha256: prefix for filenames, store prefixed IDs in records
sha256:c919294aa51339dd3c8c5d02b0b5695d6b2597321131053d20b1e431773d5435
sha
+68
~57
−15
symbols
sha256:6ca46260a438d7c05765b8dc8fbaf749211350cb9ef030282561bb6fd843ed5d
snapshot
+68
symbols added
~57
symbols modified
−15
symbols removed
0
dead code introduced
Semantic Changes
140 symbols
~
run
~
short_id
~
short_id
−
test_signature_format_round_trips_through_store
function
function test_signature_format_round_trips_through_store L498–506
−
test_verify_one_unknown_signature_format_returns_invalid
function
function test_verify_one_unknown_signature_format_returns_invalid L509–528
+
test_ed25519_prefix_survives_store_roundtrip
function
function test_ed25519_prefix_survives_store_roundtrip L490–503
+
test_verify_one_unknown_algo_prefix_returns_invalid
function
function test_verify_one_unknown_algo_prefix_returns_invalid L506–528
~
Manifest
+
test_commit_record_has_no_signature_format_field
method
method test_commit_record_has_no_signature_format_field L241–256
+
test_encode_public_key_returns_ed25519_prefix
method
method test_encode_public_key_returns_ed25519_prefix L223–231
+
test_sign_commit_record_pubkey_prefixed
method
method test_sign_commit_record_pubkey_prefixed L233–239
+
test_verify_accepts_prefixed_signature
method
method test_verify_accepts_prefixed_signature L196–202
+
test_unknown_algo_is_returned_not_raised
method
method test_unknown_algo_is_returned_not_raised L412–418
+
test_round_trips_through_decode_pubkey
method
method test_round_trips_through_decode_pubkey L376–382
−
test_encode_public_key_returns_32_bytes_and_b64
method
method test_encode_public_key_returns_32_bytes_and_b64 L160–168
+
test_signature_is_prefixed_base64url_string
method
method test_signature_is_prefixed_base64url_string L111–117
+
test_encode_public_key_returns_32_bytes_and_prefixed_b64
method
method test_encode_public_key_returns_32_bytes_and_prefixed_b64 L162–172
~
Manifest
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:c919294aa51339dd3c8c5d02b0b5695d6b2597321131053d20b1e431773d5435 --body "your comment"
No comments yet. Be the first to start the discussion.