LibertyDSNP / spec

The DSNP Spec and Website
https://spec.dsnp.org
Other
30 stars 3 forks source link

DIP-212 Activity Content Additional Hash #212

Closed wilwade closed 1 year ago

wilwade commented 1 year ago

Abstract

Adding support to Activity Content Hash for:

Motivation

Additional hashes allow for an easier integration on creation and support for a variety of platforms and languages, although it does increase the potential burden for consumers of the data who must support multiple hashing algorithms to be able to verify content using any hash.

Specification Pull Request

Current change pull request: #245

Rationale

We have always intended to support multiple hashes. The rational for each is different:

Chosen

Rejected for Now

Chosen Path: Multihash

Support for multihash instead of the prior v1.0 version. This brings everything into alignment with #210

Backwards Compatibility

This will break validation for all implementations. It is suggested that those who can, take advantage of using multiple algorithms for some time before using only one or more hashing algorithms in the new version.

Reference Implementation and/or Tests

None

Security Considerations

This change will allow for increased security as it decreases the likelihood that all hashing algorithms in use will be broken at the same time.

Dependencies

References

Copyright

Copyright and related rights waived via CC0.

wesbiggs commented 1 year ago

I have created PR #245 that includes changes to the Activity Content spec to use multihashes.