filerjs / filer

Node-like file system for browsers
BSD 2-Clause "Simplified" License
622 stars 154 forks source link

Investigate SJCL for crypto #327

Open modeswitch opened 9 years ago

modeswitch commented 9 years ago

https://github.com/bitwiseshiftleft/sjcl

humphd commented 9 years ago

As discussed on irc, I wonder if we should stay away from shipping encryption tech, and instead rely on encryption in the environment (Web Crypto API or shim)? I lean toward this, so that Filer can stay simpler and smaller, and we can let the browsers deal with the hard parts of doing encryption well. Users who want encryption can upgrade to browsers that support it.

modeswitch commented 9 years ago

Depends on size. If we can get this small enough I'd like to ship it. If not, backup plan is to rely on browser implementation.