Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Adding blake3 as good hash #15

Closed
wants to merge 3 commits into from
Closed

Conversation

laudiacay
Copy link
Contributor

See title- this is so that IPFS can support verified streaming feature of BLAKE3, as people mentioned in ipfs/kubo#8650

Not sure if you need to do like, a version bump here, so that it can be integrated into new IPFS builds... Let me know how I can fix that/get in line with y'all's versioning.

@welcome

This comment was marked as resolved.

@laudiacay
Copy link
Contributor Author

Closes #13 btw

@laudiacay laudiacay mentioned this pull request Jun 30, 2022
3 tasks
@laudiacay
Copy link
Contributor Author

@titusz wanna review?

@laudiacay laudiacay marked this pull request as draft June 30, 2022 20:14
validate.go Outdated Show resolved Hide resolved
@laudiacay
Copy link
Contributor Author

I believe I fixed the versions here- before I merge this, we need to get my fixes into go-multihash in (future) version 0.2.1. doing that now.

@laudiacay
Copy link
Contributor Author

mergeable pending this: multiformats/go-multihash#158

@laudiacay laudiacay marked this pull request as ready for review July 1, 2022 02:38
validate.go Outdated Show resolved Hide resolved
@aschmahmann aschmahmann added the status/blocked Unable to be worked further until needs are met label Jul 1, 2022
@aschmahmann
Copy link

blocked pending confirmation this is ready to go in upstreams

validate.go Outdated Show resolved Hide resolved
validate.go Outdated Show resolved Hide resolved
validate.go Outdated Show resolved Hide resolved
@laudiacay
Copy link
Contributor Author

laudiacay commented Jul 7, 2022 via email

@Stebalien
Copy link
Member

Please clarify? A short blake3 hash digest of a file is always a prefix of larger hash digests.

@laudiacay
Copy link
Contributor Author

laudiacay commented Jul 7, 2022 via email

@laudiacay laudiacay force-pushed the add-blake3 branch 3 times, most recently from 86c9c8c to f01c968 Compare July 28, 2022 13:19
…g blake3 to 32 bytes of length, improving error messages, fixing deprecation warnings
Copy link
Contributor

@Jorropo Jorropo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost LGTM

validate.go Outdated Show resolved Hide resolved
validate_test.go Show resolved Hide resolved
@laudiacay laudiacay requested a review from Jorropo July 28, 2022 15:11
@Jorropo Jorropo mentioned this pull request Aug 12, 2022
@Jorropo
Copy link
Contributor

Jorropo commented Aug 12, 2022

Replaced by #16

@Jorropo Jorropo closed this Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/blocked Unable to be worked further until needs are met
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants