summaryrefslogtreecommitdiff
path: root/src/leap/soledad/crypto.py
AgeCommit message (Collapse)Author
2013-05-15Add MAC authentication to encrypted docs.drebs
* Fix review comments: * Use of literal string instead of self.STORAGE_SECRETS_KEY * Add mac_method param to mac_doc() * Verify mac_method in mac_doc() and raise in there if unknown method * Use different parts of storage_secret for generating doc passphrase and mac key. * Add changes file.
2013-05-13Encrypt storage secret using scrypt KDF.drebs
* Change format of storage. * Refactor and modify export/import recovery documents logic. * Change storage secret length to 512. * Encrypt the storage document with derived function. * Refactor property name inside crypto submodule. * Add docstrings for new methods. * Fix wrong method call import_recovery_document. * Fix base64 encoding and secret/kdf length info. * Add missing header. * Add missing fields to comment. Closes 2475 and 2423.
2013-04-30Use uuid instead of address.drebs
2013-04-25Remove base64 encoding of hashes.drebs
2013-04-23Completelly switch to Key Manager for crypto.drebs
This removes all GPG wrapper that was left and includes Key Manager to take care of all crypto stuff.
2013-04-23Add encryption_scheme property to LeapDocument.drebs