summaryrefslogtreecommitdiff
path: root/src/leap
AgeCommit message (Collapse)Author
2017-06-24[pkg] unify client and server into a single python packagedrebs
We have been discussing about this merge for a while. Its main goal is to simplify things: code navigation, but also packaging. The rationale is that the code is more cohesive in this way, and there's only one source package to install. Dependencies that are only for the server or the client will not be installed by default, and they are expected to be provided by the environment. There are setuptools extras defined for the client and the server. Debianization is still expected to split the single source package into 3 binaries. Another avantage is that the documentation can now install a single package with a single step, and therefore include the docstrings into the generated docs. - Resolves: #8896
2013-06-20Split client and server in two different packages and refactor.drebs
2013-06-13Merge remote-tracking branch 'remotes/chiiph/bug/modifiable_timeout' into ↵drebs
develop
2013-06-11Make request timeouts modifiableTomás Touceda
2013-06-07Do not list the backends as __all__Tomás Touceda
2013-06-06Add encrypted sync test case.drebs
2013-06-06Remove unneeded imports from Soledad tests.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-06-05Use scrypt to derive key for local encryption.drebs
2013-06-03Merge remote-tracking branch ↵Tomás Touceda
'drebs/feature/2359-avoid-encoding-problems-when-storing-u1db-data' into develop
2013-06-03Add cipher, hmac and kdf info to docstrings.drebs
2013-06-01Encode all u1db data before storing.drebs
2013-05-31Add SQLCipher API to SQLCipher backend.drebs
* Add code for use of raw 64 hex-char key in sqlcipher databases. * Add encrypted db assertion according to sqlcipher doc. * Add the following PRAGMAS to the API: * PRAGMA cipher * PRAGMA kdf_iter * PRAGMA cipher_page_size * PRAGMA rekey
2013-05-30Fix pep8 style.drebs
2013-05-30Add tests for events signaling.drebs
2013-05-30Remove unneeded exception import.drebs
2013-05-28Remove uneeded KeyManager import.drebs
2013-05-25Add token credentials to SQLCipher tests.drebs
2013-05-25Enforce dependency on simplejson.drebs
2013-05-25Remove unneeded exceptions.drebs
2013-05-25Add action validation in server.drebs
* Use routes for validating user actions when interacting with server. * Also add tests for action validation. * Add changes file. * Closes #2356.
2013-05-23Merge remote-tracking branch ↵Tomás Touceda
'drebs/feature/2491-soledad-server-create-the-shared-database-in-couch' into develop
2013-05-23Remove non-token auth schemes.drebs
* Closes #2371.
2013-05-23Prevent Twisted==12.0.0 from messing with OpenSSL.drebs
2013-05-23Fix tests paths.drebs
2013-05-23Ensure shared db is created by server.drebs
* Also remove unneeded need_auth() method (because all requests need auth). * This closes #2491.
2013-05-23The IV is now a base64 stringTomás Touceda
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.