ipfs / specs

Technical specifications for the IPFS protocol stack
https://specs.ipfs.tech
1.16k stars 232 forks source link

Move IPFS addressing spec to ipfs/specs #248

Open lidel opened 5 years ago

lidel commented 5 years ago

The best and up-to-date source of truth about IPFS addressing right now is in ADDRESSING.md memo.

As more and more people add IPFS support to their software, especially on the web, we should decrease noise and increase signal around addressing by adding proper technical spec doc to the ipfs/specs repo, as suggested in https://github.com/ipfs/specs/issues/138.

Timeline

TODO

cc https://github.com/ipfs/in-web-browsers/issues/118 https://github.com/ipfs/in-web-browsers/issues/3 ipfs/ipfs#227 ipfs/in-web-browsers#4 ipfs/in-web-browsers#28 https://github.com/ipfs/specs/pull/139 @autonome

vanrein commented 5 years ago
ip[nf]s://<domain.name>/object

Retrieval would be processed as "DNS look up domain.name IN TXT, resolve resulting IPFS/IPNS identifier, retrieve object".

I was reading this, hoping to find just that. IPFS wants to get away from hosting locations for reasons of persistency, but IPNS is different. I love the idea of using DNS (and DNSSEC) and getting very powerful bookmarks:

  1. Stored domain name, for human reference where it once originated from
  2. Stored IPNS key, so we can lookup the names from anyone who pins them, along with new versions from the same origin
  3. Stored IPFS hash, so we can retrieve the version that we bookmarked for as long as it is pinned

I will add the spec to my reading list, it's useful stuff!

hsanjuan commented 4 years ago

@lidel: double-check that you want me to move this issue to /ipfs/specs/, correct?

lidel commented 4 years ago

@hsanjuan correct

jchris commented 2 years ago

Is this grammar a relevant resource? https://github.com/jonnycrunch/ipfs-uri-scheme/blob/master/application.md#3-uri-scheme-registration

lidel commented 2 years ago

I believe this grammar was created with intent to get IANA registration, but in the end was not needed because rules changed and IANA request we used had different form: https://github.com/fred-wang/iana-uri-schemes-provisional-registration-requests/blob/master/ipfs.txt

BigLep commented 2 years ago

2022-03-01 discussion: we may add an issue for separating out the gateway tests that are in go-ipfs so have a "poor-mans" compliance test suite for gateway implementations.