News for hackers. Stuff that matters.
Re:Issue 914451: Autofill does not respect autocomplete="off" by StavrosK on Sunday October 13, 2019 @04:07AM (#21239152)
Your comment about randomizing filenames got me thinking. It would be great if we could add a cache key to the HTML element, that way we could cache everything forever with the same filenames and still invalidate things by just making the key being the SHA of the deploy. Too bad that's not a thing.
Re:Issue 914451: Autofill does not respect autocomplete="off" by jstanley on Sunday October 13, 2019 @04:13AM (#21239176)
Re:Issue 914451: Autofill does not respect autocomplete="off" by StavrosK on Sunday October 13, 2019 @04:42AM (#21239266)
Subresource integrity is for ensuring that you got the right file (it fails if you didn't), it doesn't do anything with the cache, unfortunately.
Re:Issue 914451: Autofill does not respect autocomplete="off" by jstanley on Sunday October 13, 2019 @05:18AM (#21239382)
Really?

Seems like it would be crazy not to use it for caching.

Re:Issue 914451: Autofill does not respect autocomplete="off" by summm on Sunday October 13, 2019 @06:21AM (#21239605)
The problems are 1) side channels. Caching those would mean that a malicious script could use timing to find out if the user accessed specific other websites. Also it enables a channel for cross-domain communication. 2) malicious user tracking would not work as well anymore, which would be good but Google probably will not support that. Currently they get all those nice http log entries from sites that only include fonts etc.
Re:Issue 914451: Autofill does not respect autocomplete="off" by Natanael_L on Sunday October 13, 2019 @09:29AM (#21240246)
For sensitive files with known names, you should be able to set that the cache is only valid for requests from the same host website (as the server might decide to send another response when the host is different). That would fix the sidechannel.