Unterhaltung
Nachrichten
-
@glynmoody: this is what web developers can already do to get good security when using insecure resources: https://chaoswebs.net/image-sri/
Sunday, 02-Apr-17 08:35:42 UTC von web- kuro und kat gefällt das.
-
@drak reading https://www.w3.org/TR/SRI/
-
SRI is really, really cool! Now a single SSL website can in theory secure a whole website. And we could p2p all resources via their hashes.
-
Do you see how this provides the basic ingredient to re-decentralize the web with mere userscripts?
-
@neimzr4luzerz @drak The two seem orthogonal. DANE to secure your SSL, SRI to guarantee third party content. Anyway IPFS will fix it all
-
@kat @drak
>falling for the IPFS meme
I have 100% genuine organic based snake oil I need to sell https://shitposter.club/attachment/556296 -
@neimzr4luzerz @drak lol... yeah, but I'm using I2P for the transport layer.
-
@kat @drak will I commend you for using I2P, that image is Gnutella. Something which has had surpassed IPFS pre-alpha goal ages ago.
drak gefällt das. -
IPFS does not provide you with anonymity, so it’s not a fix-it-all. But it does improve on the current state of the clearnet.
-
@neimzr4luzerz SRI means that you only need to secure one single transfer to prevent any outside corruption (but not surveillance).
-
@drak SRI or SNI? I am 100% sure you mean SNI. Either way it's fucked.
-
I am 100% sure that I mean subresource integrity (SRI).
-
@drak I did not have that context, thank you for clarifying!
-
With SRI it would even be possible to get all sub-resources via another transport which references it by content (the SRI hash). Or to cache it and for example to re-use the same jquery file over multiple websites (safely, since the hash is the same).
neimzr4luzerz gefällt das. -
@drak having just overviewed the specification: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity I can say it's not enough: the document needs to implement PKI, and sign external resources with it's Document key, …
-
@drak i know... But it is content addressable, so self authenticating?
-
Experimentally I can say that elements with the wrong hash are ignored. With that having the html page secured suffices.
-
yes: a link with SRI might still provide an URI, but the sri-part is a hash of the content: If that does not match, the file is rejected.
-
when adding SRI the link turns to a hint where to find the content, but the SRI decides whether to accept it.