Cannot retrieve content by addressing with SHA256 (raw binary?) #10426
Labels
kind/bug
A bug in existing code (including security flaws)
need/triage
Needs initial labeling and prioritization
Checklist
Installation method
built from source
Version
Config
Description
After a file is added to
kubo
withipfs add
, it cannot be retrieved from the API using the added file's hash.For example
The resulting base32 CIDs are also different
Edit: Doesn't work for raw binary with blake3 hashsum (f01551e200471c2e7ccc927709c1e41e299804f1c2d2c2b757ff5afd5a3172bd68b9bccc2)
Edit2: Specifically, it fails when trying to find the a block at this point https://github.com/ipfs/go-ds-flatfs/blob/3b1c91bc3097ec7702347d8a419269ce88e450b8/flatfs.go#L658 (found using breakpoints). Maybe there's something wrong with CID parsing? dunno....
The text was updated successfully, but these errors were encountered: