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

Using the network to distribute JSON-LD contexts and rule sets #223

Open
reinkrul opened this issue Oct 24, 2022 · 2 comments
Open

Using the network to distribute JSON-LD contexts and rule sets #223

reinkrul opened this issue Oct 24, 2022 · 2 comments
Labels

Comments

@reinkrul
Copy link
Member

reinkrul commented Oct 24, 2022

Using the network to distribute JSON-LD contexts would have several advantages:

  1. It empowers parties developing their own VCs:
    1.1. External parties developing custom VCs don't have to barter with the Nuts community if/when/how their JSON-LD contexts are released in a version.
    1.2. An alternative for the above would be to configure the Nuts node with the custom JSON-LD contexts, which is cumbersome and thus doesn't scale very well.
  2. Network distribution might be more stable than hosting on a centralized webserver, which can be slow, temporarily down, misconfigured, permanently phased out of taken over by hackers (e.g., defacing, tampering).

Disadvantages:

  1. JSON-LD contexts would be only resolvable for parties actually using the Nuts network. Sort of technology-lockin.
    1.1. Alternative; resolve in JSON-LD contexts received over Nuts network first, then fallback to HTTP if not found.
    Would require measures to avoid these 2 manifestations of the same JSON-LD context to differ, e.g. a hash of the JSON-LD context document in the URL.
@reinkrul reinkrul changed the title Idea: using the network to distribute JSON-LD contexts RFC011: using the network to distribute JSON-LD contexts Oct 24, 2022
@woutslakhorst
Copy link
Member

1 doesn't promote using the network or an URL for distribution just the general advantage of a decentralised way of managing contexts.

3 URL based context is way easier to setup/implement

@woutslakhorst woutslakhorst changed the title RFC011: using the network to distribute JSON-LD contexts Using the network to distribute JSON-LD contexts and rule sets Nov 21, 2022
@woutslakhorst
Copy link
Member

This is a more general discussion on implementing governance through the network. How to distribute the rules of a network.

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

No branches or pull requests

2 participants