-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verifiable HTTP Gateway Responses #128
Labels
Comments
This was referenced Jan 31, 2019
3 tasks
This was referenced Mar 2, 2022
|
This is solved since Kubo 0.13 (see release notes). Please upgrade your gateways and clients. tl;dr summaryWhen you don't trust gateway, use Block and CAR responses. CAR verification does not require running IPFS node. Clients can leverage standalone tools and libraries such as @ipld/car or ipfs-car: $ npm i -g ipfs-car
$ curl "https://ipfs.io/ipfs/bafybeiakou6e7hnx4ms2yangplzl6viapsoyo6phlee6bwrg4j2xt37m3q?format=car" | ipfs-car
$ ls ./bafybeiakou6e7hnx4ms2yangplzl6viapsoyo6phlee6bwrg4j2xt37m3q/
1007 - Sustainable - alt.txt
1007 - Sustainable - transcript.txt
1007 - Sustainable.png Further reading
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Various organizations are exposing IPFS content via Public HTTP Gateways (eg. Cloudflare).
There are users who can't run local IPFS node, but still could get some guarantees provided by content-addressing if they have software capable of re-calculating CIDs from arbitratry payloads.
This issue tracks ways we could do that.
Problem statement
Use Cases
Work
http://ipfs.io/api/v0/
Resources
Prior Art
(UC2) Cloudflare
https://tools.ietf.org/html/rfc6249: Metalink/HTTP: Mirrors and Hashes
Very relevant RFC, which provides HTTP-native semantics for returning Digest with the payload:
IPFS
The text was updated successfully, but these errors were encountered: