-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
It seems that github.com/multiformats/js-multihash contains an issue validating md5 multihashes. As the repo is marked as archived, there is no way of having it investigated. As a result, md5 checksums are not displayed in the stac-browser.
multihash.decode() uses varint.decode() to get the funtion code and validate it with isValidCode().
A md5 multihash starts with the prefix d510.... (or [213, 16, ...] as Uint8Array). However, varchar.decode([213,16,...) returns 2133 as function code, which is not recognized as valid code (0xd5 or 213) and multihash.decode() fails.
Metadata
Metadata
Assignees
Labels
No labels