decentralized-identity / didcomm-messaging

https://identity.foundation/didcomm-messaging/spec/
Apache License 2.0
165 stars 57 forks source link

what is 'multi-hash'? #441

Open gobengo opened 1 year ago

gobengo commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

rmlearney-digicatapult commented 11 months ago

Any link to the CESR work? https://github.com/WebOfTrust/cesride/issues/150#issuecomment-1699896745

TelegramSam commented 8 months ago

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

TelegramSam commented 8 months ago

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

gobengo commented 8 months ago

A good link may be https://www.ietf.org/archive/id/draft-multiformats-multihash-07.html

See also this fledgling ietf wg https://datatracker.ietf.org/wg/multi/about/

FabioPinheiro commented 7 months ago

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

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