ipfs / ipfs/kubo

Ability to specify a checksum while adding a file for integrity testing

Open
#7,071 10 comments 0 reactions 0 assignees View on GitHub
kind/feature need/community-input
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

When files are shared online, there's often a hash published with it. This allows checking if the integrity was compromised on the mirror server or while downloading.

When I import a file via an URL directly to IPFS it's impossible to check if the file got the correct hash. It would be nice if we can specify the expected hash and at the end of the operation the file is either added or an error message will be displayed.

It makes sense to support at least `md5`, `sha1`, `sha256` and `sha512`.

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.