Re:Show HN: A note taking application that encrypts in the b...
by maaaats on Sunday March 08, 2015 @11:19AM
(#9165813)
You forget one case: Here, the server will never know the content of the encrypted data.
[ Parent
| on HN ]
Re:Show HN: A note taking application that encrypts in the b...
by new299 on Sunday March 08, 2015 @11:23AM
(#9165838)
Unless the attacker has access to the server for a period of time, in which case they just replace the JS with their own code.
Seems like there should be a way to sign the JS offline (away from the server) and prevent that, but I don't think there's any browser mechanism for that. I think that would be neat though.
Re:Show HN: A note taking application that encrypts in the b...
by detaro on Sunday March 08, 2015 @11:23AM
(#9165837)
Unless it is the one delivering you faulty javascript. It does help if someone gets only read access to the server though (hacked user account, stolen backup, confiscated server...)