SpiderOak/crypton — pull request #152 by daviddahl (2014-01-20 15:53:18+00:00)
Title: Fold encrypt sign with ecdsa latest

Ok:

* The ECDSA signing keys are generated on account creation
* The private key is wrapped with the keypairKey
* The signing keys are stored persistently in the account in the database
* A user can now call peerBob.encryptAndSign("s3kr3t m355ag3", sessionAlice);
* This operation creates a new "signedCipertext" object: { ciphertext: CIPHERTEXT, signature: SIG }
* This object is the input to accountBob.verifyAndDecrypt(signedCiphertext, peerAlice)
* This operation returns a verified cleartext object or an error: { verified: BOOLEAN, cleartext: "s3kr3t m355ag3" }

I just realized that the returned object is inconsistent, will fix that asap.