-
Notifications
You must be signed in to change notification settings - Fork 237
Description
This is a placeholder for creating IPIP with new response type that clients can use in
Acceptheader orformatparameter when making requests to/ipns/namespace.
The initial need was identified in #296, which discussed returning DNSSEC proofs.
What
When using cryptographically-verifiable IPNS and not DNSLink, there should be a way for HTTP client to ask Gateway for a raw signed IPNS record, allowing light client to verify it locally (without having to trust gateway).
Why
It is possible to fetch immutable /ipfs/{cid} from gateways using CAR and Block response formats, and locally verify that hashes match (trustless retrieval). It is not possible to do the same for /ipns/ atm.
We need this for IPFS Client work happening in Browsers & Platforms group (cc @autonome @meandavejustice @markg85)
TODO
- create PR in Kubo with end-to-end sharness
- create IPIP PR that adds trustless retrieval of IPNS records to gateway specs
Accept: application/vnd.ipfs.ipns-recordHTTP header?format=ipns-record