ipfs / ipfs/kubo

Bump Repo Version and Provide Migration before strict Cid code lands

Open
#4,766 9 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

Right now https://github.com/ipfs/go-ipfs/pull/4751 is providing a stop-gap measure to avoid allowing insecure hashes. Things won't break, but the insecure hashes will become useless. Once the strict Cid code (https://github.com/ipfs/go-cid/pull/40) lands things will likely break badly if there are any insecure hashes. I recommend we bump the repo version and provide a migration tool that just checks and aborts in there are any CID's with insecure hashes.

I also suggest, though not require, we provide a tool to automatically convert the insure hashes to a secure hash so that data is not lost. The same tool can just offer to delete them instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.