summaryrefslogtreecommitdiff
path: root/src/leap/soledad/crypto.py
AgeCommit message (Collapse)Author
2013-06-20Split client and server in two different packages and refactor.drebs
2013-06-05Remove strict dependency on leap.common.drebs
* Encapsulate leap_assert and leap_assert_type so Soledad works without them. * Remove dependency on leap.common.files.mkdir_p(). * Encapsulate signaling. * Add changes file.
2013-06-05Move symmetric encryption/decryption code from leap.common to leap.soledad.drebs
2013-05-21Increase storage secret size and use half of it to get the local storage ↵drebs
passphrase.
2013-05-21Change symmetric encryption scheme to use AES256.drebs
2013-05-17Use leap.common.crypto and AES-256 CTR for symmetric encryption.drebs
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