summaryrefslogtreecommitdiff
path: root/src/leap/soledad/tests/test_crypto.py
AgeCommit message (Collapse)Author
2013-06-20Split client and server in two different packages and refactor.drebs
2013-06-05Move symmetric encryption/decryption code from leap.common to leap.soledad.drebs
2013-05-30Fix pep8 style.drebs
2013-05-25Enforce dependency on simplejson.drebs
2013-05-25Remove unneeded exceptions.drebs
2013-05-23Fix tests paths.drebs
2013-05-21Improve export/import_recovery_document()drebs
* Fix docstrings.
2013-05-21Improve _has_secret() logic and tests.drebs
2013-05-21Change symmetric encryption scheme to use AES256.drebs
2013-05-15Fix pep8 style.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-15Change encrypt/decrypt doc functions name and signature.drebs
2013-05-13Remove bootstrap param from Soledad.drebs
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-29Change string constants into string literals for couch backend.drebs
2013-04-29Switch string literals to string constants.drebs
2013-04-29Remove gnupg_home from where it still was.drebs
2013-04-25Fix symmetric encryption when syncing.drebs
Also does: * Remove all crypto methods from LeapDocument. * Encode 'encryption_scheme' inside the document JSON. * Add functions for encrypting and decrypting. * Fix LeapSyncTarget so its connection actually returns a LeapSyncTarget. * Fix symmetric encryption when syncing: - don't try to encrypt tombstone documents. * Fix symmetric decryption when syncing: - Only try do decrypt if the incoming document has an '_encryption_scheme' entry with value equal to EncryptionSchemes.PUBKEY. * Fix doc skipping for non-syncable docs. * Fix tests that compared raw content with encrypted content.
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-23Separate crypto-related stuff from Soledad class.drebs
This creates a SoledadCrypto object that should encapsulate everything related to crypto in Soledad. Also, replace hmac for sha256 when creating hashes.
2013-04-16Remove GPG asymmetric key stuff.drebs
Everything related to asymmetric encryting will be handled by Key Manager.
2013-04-13Use BaseConfig for configuring Soledad.drebs
2013-04-08Add a LOT of docstrings.drebs
2013-04-01Add dependencies for leap.common and pysqlcipher.drebs
2013-03-12Add test for _has_keys().drebs
2013-03-12Add test for _has_privkey().drebs
2013-03-12Add test for _has_symkey().drebs
2013-03-12Add test for _init_db().drebs
2013-03-12Add test for _init_dirs().drebs