Skip to content

Gateway: response type for fetching signed IPNS records #320

@lidel

Description

@lidel

This is a placeholder for creating IPIP with new response type that clients can use in Accept header or format parameter 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-record HTTP header
    • ?format=ipns-record

Metadata

Metadata

Assignees

Labels

IPIP(InterPlanetary) Improvement ProposalP1High: Likely tackled by core team if no one steps updif/expertExtensive knowledge (implications, ramifications) required

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions