gateway: add trustless-only mode #225
Labels
dif/hard
Having worked on the specific codebase is important
dif/medium
Prior experience is likely helpful
need/triage
Needs initial labeling and prioritization
P2
Medium: Good to have, but can wait until someone steps up
topic/gateway
Issues related to HTTP Gateway
What
There should be a way to only expose response types required by trustless mode.
The trustless-only mode must have two key features:
ipfs-record
from IPIP-351) end-to-end.Accept
or?format
, gateway returns HTTP error 501 Not Implemented stating only verifiable response types are supportedHow
TBD, we need some sane defaults that also account for users of library not shooting themselves in the foot if they do nothing.
Why
Hard lessons from project Rhea / Saturn about the tyranny of the default. Exposing deserialized responses in cases where a project only needs a subset of the entire gateway spec creates a surface for abuse.
It is way, way less work for everyone if boxo/gateway library provides a single configuration option to allow deserialized responses on non-localhost hostnames.
The text was updated successfully, but these errors were encountered: