Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what is 'multi-hash'? #441

Open
gobengo opened this issue Apr 14, 2023 · 7 comments
Open

what is 'multi-hash'? #441

gobengo opened this issue Apr 14, 2023 · 7 comments

Comments

@gobengo
Copy link

gobengo commented Apr 14, 2023

added here by @TelegramSam merged @tplooker

  • data: A JSON object that gives access to the actual content of the attachment. Contains the following subfields:
    ...
    • hash: The hash of the content encoded in multi-hash format. Optional. Used as an integrity check for the attachment, and > MUST be used if the data is referenced via the links data attribute.

What is 'multi-hash format' here? What should it hyperlink to as a specification and/or normative reference? 🙏

@gobengo
Copy link
Author

gobengo commented Apr 14, 2023

Regardless of what to hyperlink to, does the reference generally refer to the same thing as what other DIF repos name 'multihash'?

i.e. https://multiformats.io/multihash/ - if so, you may want to keep an eye on this ietf multiformats list

@FabioPinheiro
Copy link
Contributor

FabioPinheiro commented Apr 17, 2023

I also think this multihash reference to the multiformats https://multiformats.io/multihash/
Basically describes itself:

  • the hash algorithm used
  • the length of the hash that follows
  • the real hash data

@rmlearney-digicatapult
Copy link

Any link to the CESR work? WebOfTrust/cesride#150 (comment)

@TelegramSam
Copy link
Collaborator

This spec predates a usable form of CESR. It has been posited that some future version may leverage CESR for encoding.

@TelegramSam
Copy link
Collaborator

We should add a link to the multi-hash spec. This is a clarification, and would not require a version change.

@gobengo
Copy link
Author

gobengo commented Feb 5, 2024

@FabioPinheiro
Copy link
Contributor

FabioPinheiro commented Mar 4, 2024

multi-hash is another draft spec that seems that is expired.

https://datatracker.ietf.org/doc/draft-multiformats-multihash/07/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants