summaryrefslogtreecommitdiff
path: root/src/leap/soledad/tests/test_crypto.py
AgeCommit message (Collapse)Author
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