News for hackers. Stuff that matters.
Re:Firefox Send: Private, Encrypted File Sharing by the8472 on Wednesday October 11, 2017 @05:59PM (#15453888)
SRI alone is insufficient. Maybe a strict CSP policy that exclusively allows hash sources and forbids eval could serve as an indicator that the scripts executed on a page are immutable. Probably needs some further conditions to make it airtight.
Re:Firefox Send: Private, Encrypted File Sharing by kijin on Wednesday October 11, 2017 @08:46PM (#15454815)
If you don't trust Mozilla, how do you trust them not to strip the CSP header whenever they want to serve malicious javascript?
Re:Firefox Send: Private, Encrypted File Sharing by the8472 on Thursday October 12, 2017 @02:23PM (#15460048)
you'd still have to implement a pinning feature. the hash-only-CSP part would just be the foundation which the pin checks.