And where's the key stored on the client and how is it shared with the server?
I'm too lazy to parse their JS code.
I'm too lazy to parse their JS code.
For signing, you'd need a pub/priv keypair, but this is not implemented here.
$.get("/static/pgpkey", function (key) {
// store key
// hook to submit button click event & encrypt before submit
});
for the pgp encrypting he's using http://openpgpjs.org/