summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad/client/__init__.py
AgeCommit message (Collapse)Author
2016-12-12[refactor] remove encryption poolKali Kaneko
2015-02-11move public api to its own fileKali Kaneko
2015-02-11reorganize pragmas, stub SQLCipherOptions objectKali Kaneko
2014-12-09Fix incorrect ssl context setupKali Kaneko
The changes introduced in aafa79c0f5 having to do with the cert verification are incorrect, regarding the use of the newest ssl context api introduced in python 2.7.9. There the use of the server setup was taken, instead of the correct client options. I hereby apologize for the insuficient testing on that fix. It happens that I wrongly tested in an evironment that did the fallback to pre-2.7.9 interpreter.
2014-12-04fix ssl negotiationKali Kaneko
since ssl.SSLContext does not exist prior to python 2.7.9
2014-12-03Use SSL negotiation.Kali Kaneko
Although the API can be misleading, PROTOCOL_SSLv23 selects the highest protocol version that both the client and server support. Despite the name, this option can select “TLS” protocols as well as “SSL”. In this way, we can use TLSv1.2 (PROTOCOL_TLSv1 will *only* give us TLS v1.0) In the client side, we try to disable SSLv2 and SSLv3 options explicitely. The python version in wheezy does not offer PROTOCOL_TLSv1_2 nor OP_NO_SSLv2 or OP_NO_SSLv3 (It's new in 2.7.9)
2014-11-27force tls v1 in soledad client. Partially fixes #6437Kali Kaneko
2014-08-12Fix bits from pullreq review.drebs
2014-08-08Protect sync db with a password.drebs
2014-08-08Add salt for sync sb key derivation.drebs
2014-08-08Refactor secrets out of main soledad client class.drebs
2014-07-09Close all connections after syncing (#5518).drebs
2014-07-08Stop syncers when closing soledad.drebs
2014-07-02Decouple sync from actual encryption/decryption (#5326).drebs
2014-06-05Move the syncing lock to inside SQLCipherDatabase.drebs
2014-06-05Reset synchronizer state in order to reuse the same synchronizer multiple times.drebs
2014-05-22Add sync status signals (#5517).drebs
2014-05-22Allow for interrupting and recovering sync (#5571).drebs
2014-05-22Cleanup and pep8 fix.drebs
2014-03-12Do not autocreate remote db when syncing (#5302).drebs
2014-03-11Fix docstring typo.drebs
2014-03-05backward-compatibility for socket.create_connection in 2.6Kali Kaneko
Closes: #5208
2014-02-19Remove global client rw lockKali Kaneko
leap.mail is handling locks in a finer-grained way now, so we do not need to block everything so much
2014-01-27Always return unicode, even on UnicodeError.Ivan Alejandro
2014-01-15add rw_lock to client opsKali Kaneko
2014-01-06Add proper error reporting to shared db lock.drebs
2013-12-24Avoid concurrent sync attempts from the same replica in the client (#4451).drebs
2013-12-19Set soledad timeout default to 2 minKali Kaneko
2013-12-13Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/kali/feature/expand-sqlicipher-capabilities' into develop
2013-12-13get_count_from_indexKali Kaneko
2013-12-12Unlock shared db if bootstrapping fails in any wayTomás Touceda
2013-12-04Revert "Stop creating per-user databases. Closes #4626."Tomás Touceda
This reverts commit 6eeed5c116d38ebae7d9309dd2f11660f6cff37e.
2013-11-29Stop creating per-user databases. Closes #4626.drebs
2013-11-21Add scripts for debugging client and server side databases.drebs
2013-11-21Add unicode conversion to put_doc. Closes #4095.drebs
2013-11-19Add MAC verification to recovery document. Closes #4348.drebs
2013-11-08default detected encoding to utf-8Kali Kaneko
2013-10-31change error severityKali Kaneko
2013-10-29Passphrase is already an unicode object.Ivan Alejandro
As we enforce to have the passphrase as an unicode object, we no longer need this conversion. [Related to bug #4330]
2013-10-28Add shared db locking.drebs
* Improve bootstrap sequence: - stages are more organized. - there are less useless requests to server. * Improve shared db access: - instantiate the shared db only once. - also results in less requests to server. * Handle unicode passphrases. * Move some common functions and global variables to common. * Improve security of recovery document: - access to the recovery document now depends on the user password. * Improve documentation.
2013-10-28use chardet as fallbackKali Kaneko
2013-10-23Support use of non-ascii passwords.Ivan Alejandro
[Closes #4001]
2013-10-03Convert to utf8 all the strings before saving themTomás Touceda
2013-09-30Updates to client docstringsKali Kaneko
* Add a more precise description of cert_file * change docstring placeholder to be compliant with sphinx rst
2013-09-18remove redundant loggingKali Kaneko
2013-09-16reorder importsKali Kaneko
2013-08-28Use dirspec instead of plain xdg. Closes #3574.Ivan Alejandro
2013-08-23packaging improvementsKali Kaneko
* add versioneer (patched for our particular repo config) * add parse_requirements to unify requirement handling
2013-08-22remove unused dbwrapperKali Kaneko
2013-08-21Split soledad into common, client and server.drebs