2 ms·
> maybe in some future static-only sites will be able to sign a bundle with offline keys and not use TLS at all These two approaches are built for different th
by majewsky 9y ago
> maybe in some future static-only sites will be able to sign a bundle with offline keys and not use TLS at all
These two approaches are built for different threat models. Both protect you from tampering, but only TLS protects you from collecting metadata like what exact page you visited. Attackers can only observe which domain you visited.
- jopsen 9y agoTrue, so maybe we would still want TLS.. My thought was that it as a static site owner it would awesome to keep TLS keys offline. And only use them when content is updated. That way a server compromise is not so bad.
- WorldMaker 9y agoGlancing at the spec, these packages could have multiple pages or the entire sites' worth of pages for a static site, so it should still protect most of that metadata for packaged static sites. Someone might be able to collect that you downloaded the full package, but not have any idea of which pages within that bundle you visit. The spec also encourages/opens up the possibility of exchanging those bundles over peer-to-peer networks instead of HTTP, which further mitigates the threat of over-the-shoulder metadata collection.