Skip to content

Specify multibase for checksum hash format#82

Open
toderash wants to merge 1 commit intomainfrom
multibase-checksum
Open

Specify multibase for checksum hash format#82
toderash wants to merge 1 commit intomainfrom
multibase-checksum

Conversation

@toderash
Copy link
Copy Markdown
Member

Per #24 the current algorithm:value format is non-standard. Multibase is how we encode public keys as publicKeyMultibase, so this adds consistency for cryptographic material.

This change also deprecate sha2-256 codec as previously decided by the TSC, and clarifies guidelines for extending this part of the spec for other ecosystems.

This approach resolves a conflict between two issues.
Closes #24
Closes #70

Per #24 the current `algorithm:value` format is non-standard. Multibase is how we encode public keys as `publicKeyMultibase`, so this adds consistency for cryptographic material.

This change also deprecate sha2-256 codec as previously decided by the TSC, and clarifies guidelines for extending this part of the spec for other ecosystems.

Signed-off-by: Brent Toderash <brent@toderash.net>
@toderash toderash requested review from chuckadams and rmccue April 28, 2026 02:41
@toderash toderash added the enhancement New feature or request label Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch hashes to multibase/multihash Add SRI checksum format (sha256-<base64>) as an accepted checksum encoding

1 participant