Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create resources without knowing a subject - signatures as identifiers of a resource #114

Open
joepio opened this issue May 12, 2022 · 1 comment

Comments

@joepio
Copy link
Member

joepio commented May 12, 2022

Currently, users have to know the subject of a resource when creating a commit. This is fine for editing existing things, but what if the resource is new? This introduces two problems:

  • the client needs to know if the url is available. Maybe the url is taken, or the server does not allow using the url / path.
  • the resource is tightly coupled to that server, which means if the server goes offline, the data is irretrievably lost. No real p2p support. Relates to Decentralized persistence and resolving #112

If we use the first signature as the identifier of the resource (or maybe the content hash?) we can fix these issues.

@AlexMikhalev
Copy link

I think we need to support both - hash-based URLs for new resources and human-readable one, also it will be good use case for creating own URL shortening service - where atomic.data/hash can lead to atomic-data.dev/full_human_readable_url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants