summaryrefslogtreecommitdiff
path: root/src/leap/soledad/backends/leap_backend.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-28Remove uneeded KeyManager import.drebs
2013-05-25Enforce dependency on simplejson.drebs
2013-05-21Add check for encryption method.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-15Change encrypt/decrypt doc functions name and signature.drebs
2013-05-04Encapsulate token-based auth in a class.drebs
2013-05-01Fix some items from second review.drebs
Items are: * remove unused imports. * __init__.py: initialize variable before read from file. * backends/leap_backend.py: Fix mistyped exception name, fix docstring of encryption function.
2013-05-01Monkey patch u1db to allow self-signed SSL certTomas Touceda
2013-05-01Add messages to leap_asserts.drebs
2013-04-30Document encryption sync methods.drebs
2013-04-30Fix shared db auth and add tests.drebs
2013-04-29Switch string literals to string constants.drebs
2013-04-25Add token auth infrastructure.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-23Add encryption_scheme property to LeapDocument.drebs
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-09Eliminate the use of super() in main code.drebs
Tests inherited from u1db still use super, but that can be changed in the future.
2013-04-08Add a LOT of docstrings.drebs
2013-03-07Move source files to proper subdirectory.drebs