summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-05-21Improve export/import_recovery_document()drebs
* Fix docstrings.
2013-05-21Improve _has_secret() logic and tests.drebs
2013-05-21Increase storage secret size and use half of it to get the local storage ↵drebs
passphrase.
2013-05-21Add check for encryption method.drebs
2013-05-21Change symmetric encryption scheme to use AES256.drebs
2013-05-21Fix various encryption details.drebs
* Use AES256 for encrypting storage_secret. * Add prepended IV to storage secret's ciphertext. * _get_storage_secret() returns binary. * Fix key length when hashing using scrypt. * Remove password from export/import_recovery_document().
2013-05-18Merge remote-tracking branch 'kali/feature/blank-server' into developTomás Touceda
2013-05-19add warning if no shared db foundKali Kaneko
2013-05-17Use leap.common.crypto and AES-256 CTR for symmetric encryption.drebs
2013-05-17Allow to initialize soledad with a blank serverKali Kaneko
2013-05-16Merge branch 'bug/ssl_hostname_check' of git://github.com/chiiph/soledad ↵drebs
into develop
2013-05-15Merge remote-tracking branch 'drebs/feature/2349-add-mac-auth-3' into developTomás Touceda
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-15Add hostname checkingTomás Touceda
Also remove some trailing whitespace
2013-05-15Fix cert checking and comment match_hostname for the time beingTomas Touceda
2013-05-14Fix wrong variable namingTomas Touceda
2013-05-14Refactor ssl monkey patching and fix https tests.drebs
2013-05-13Add changes file.drebs
* Include info about scrypt and backwards compatibility. * Add missing 'utf-8' header to test file.
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-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.