It's almost 2016 and javascript encryption libraries have been around for a while. My question is, have they improved? Or should we still abandon the idea of having encryption done in our browsers?
Would it be safe to use something like OpenPGP.js to generate keys, encrypt the private key with some AES javascript library and send them to the server's database.
When the user needs the access to the private key, he requests it from the server and decrypts it (done in browser).
Or should everything be done at the server? (generate keys, encryption & decryption)