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

WNFS as fully self-authorized data structure #13

Open
matheus23 opened this issue Dec 6, 2022 · 0 comments
Open

WNFS as fully self-authorized data structure #13

matheus23 opened this issue Dec 6, 2022 · 0 comments
Labels

Comments

@matheus23
Copy link
Member

matheus23 commented Dec 6, 2022

Summary

WNFS contains all information to validate all writes contained in it relative to the owner's root DID.

Problem / Need / Opportunity

There is an opportunity to use peers that replicate WNFS for persistence and availability ("super-peers") also for broadcasting changes to WNFS. However, this requires them to prove to peers that the WNFS they store only contains valid writes. For this, they need to know about UCANs and WNFS-as-a-protocol.
Although these peers should already do this type of checking when accepting changes, we can make it easier for them by making WNFS self-authorizing. Thus, super-peers would only verify the authority of incoming changes, and after checking them - they'd just re-broadcast these changes without additional overhead.

Success Scenario

Peers can determine the validity of all writes in a WNFS given only the file system itself and the owner's root DID. Super-peers just check new roots to broadcast.

Children

Notes

wnfs-wg/spec#7

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

No branches or pull requests

2 participants