summaryrefslogtreecommitdiff
path: root/src/leap/soledad
AgeCommit message (Collapse)Author
2013-05-09Fix URLs of remote replicas.drebs
2013-05-08Fix key for dict, and make couch_url a propertyTomas Touceda
2013-05-04Encapsulate token-based auth in a class.drebs
2013-05-03Protect property in couch server state.drebs
2013-05-03Use mkdir_p from leap.common.drebs
2013-05-01Use common test method to assert documents with encrypted content.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-01Add sync tests related to token auth.drebs
2013-05-01Include tests for HTTPDatabase and token auth.drebs
2013-05-01Add token tests for TestLeapClientBase.drebs
2013-05-01Add token tests in LeapTests.drebs
2013-05-01Include tests for SoledadApp and Token auth.drebs
Also, fix soledad instantiation to include a cert_file param.
2013-05-01Monkey patch u1db to allow self-signed SSL certTomas Touceda
2013-05-01Fix HTTP request bug.drebs
Base64 encoding returned a \n at the end of the string and that was causing trouble on the HTTP request when the token was added as an http header.
2013-05-01Add missing tests from TestRemoteSyncTargets.drebs
2013-05-01Fix sqlcipher test that was comparing wrong doc.drebs
2013-05-01Change how tmp directoy is removed on Couch backend tests.drebs
2013-05-01Add messages to leap_asserts.drebs
2013-05-01Soledad close method checks if db exists.drebs
2013-04-30Document encryption sync methods.drebs
2013-04-30Remove unauth requests.drebs
2013-04-30Improve server and add token auth.drebs
2013-04-30Document how to define a specific port.drebs
2013-04-30Make soledad's init arguments mandatory.drebs
2013-04-30Use uuid instead of address.drebs
2013-04-30Add docstrings to auth methods.drebs
2013-04-30Add __del__ to Soledad to ensure db is closed.drebs
2013-04-30Remove dependence on BaseConfig.drebs
Also does: * Remove config_path so soledad does not read configuration from file. * Change shared_db_url to server_db. * Make sync and shared_db use server_db.
2013-04-30Update docstrings on sync tests.drebs
2013-04-30Update tests with monkey patching to always use our SyncTarget.drebs
2013-04-30Add token auth methods.drebs
2013-04-30Fix shared db auth and add tests.drebs
2013-04-29Change string constants into string literals for couch backend.drebs
2013-04-29Use XDG for determining config prefix.drebs
2013-04-29Refactor name and fix doc of function that stores secrets in shred recovery ↵drebs
database.
2013-04-29Switch string literals to string constants.drebs
2013-04-29Fix file left open in _store_symkey.drebs
2013-04-29Cleanup _gen_symkey error raising.drebs
2013-04-29Fix file left open in _has_symkey().drebs
2013-04-29Add checks, exceptions and warnings for directory creation.drebs
2013-04-29Fix _init_config params and source for random symkey.drebs
2013-04-29Remove gnupg_home from where it still was.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-25Add indexing methods to Soledad.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
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-19Add create_doc_from_json() to API.drebs