-
Notifications
You must be signed in to change notification settings - Fork 118
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
Discourage centralization #293
Comments
I’m afraid this is confusing some of the cryptography, such as the notion
of a “decryption” key.
It sounds like you aren’t concerned about the cryptography, per se, but
want to ensure origins remain in control, correct? This property is already
maintained, by requiring fresh signatures over the package, which are
distributed by `example.com` in your example. Does that address your use
case?
|
I am no expert in cryptography, but used a non-detailed overview to convey what I wanted (had no other words to explain) and know if it is practical.
We'll if control means that user can only access the site/content after pinging to the author's server, in this case "example.com". |
I see. That's the opposite of the design goal for the use cases. |
@ahsane A signed exchange package is valid for up to 7 days. (The exact period is controllable by the author, but this is expected to be >0 days.) This means that users may see content that appears to be from |
For all practical purposes the content in a web packages also has to be available at the packaged URL. If you load a package in a browser and hit reload, it would be a terrible user experience if the content wouldn't load again. While this certainly can happen theoretically, any practical use would try to avoid this problem as much as possible. |
In order to discourage centralization of the web, authors should have an incentive to keep their websites active.
One way is to make sure is that the author's server provides the client with the decryption key to decrypt the package.
i.e:
This all should be optional to the author. Some authors might only want google.com to distribute the html/css/js for faster loading but ensure that the client has a first party contact with example.com too.
It is already possible to do the same with javascript, but the web should also provide a native way to do this.
The text was updated successfully, but these errors were encountered: