ipfs-companion icon indicating copy to clipboard operation
ipfs-companion copied to clipboard

Remove path gateway ipfs.io, use dweb.link everywhere

Open lidel opened this issue 2 years ago • 0 comments

Current state

We have:

  • "Default Public Gateway" set to ipfs.io
  • "Default Public Subdomain Gateway" set to dweb.link

Problem

We've introduced subdomain gateways to solve multiple issues in browser context, and are moving all web use cases towards that model. Soon, we will start locking down path gateways (https://github.com/ipfs/in-web-browsers/issues/157) which means website/dapp links copied by users will stop working correctly if loaded via ipfs.io.

IPFS Companion should remove the footgun of path gateway by removing it from GUI.

Desired state

  • There should only be "Default Public Gateway" set to dweb.link.

Side-quest: migrate existing user settings

We need to write a migration that reads "Default Public Subdomain Gateway" and uses that (if it is other than dweb.link)

cc @darobin @autonome for sanity check @whizzzkid @SgtPooki fysa this impacts end-user security, and should be prioritized

lidel avatar Feb 22 '23 13:02 lidel