soledad merge requestshttps://0xacab.org/leap/soledad/-/merge_requests2016-09-30T01:14:52Zhttps://0xacab.org/leap/soledad/-/merge_requests/24[feat] centralize logging and use twisted.logger by default2016-09-30T01:14:52Zdrebs[feat] centralize logging and use twisted.logger by defaulthttps://0xacab.org/leap/soledad/-/merge_requests/25[test] use pytest tmpdir fixture in all tests2016-09-30T20:14:35Zdrebs[test] use pytest tmpdir fixture in all testsTests that were imported from u1db or created on top of that structure
were leaving temporary directories behind. This could cause problems in
test servers, either by filling the partition or by extrapolating the
maximum amount of files ...Tests that were imported from u1db or created on top of that structure
were leaving temporary directories behind. This could cause problems in
test servers, either by filling the partition or by extrapolating the
maximum amount of files in a directory.
This commit replaces all usages of temporary directories in the old test
structure by pytest tmpdir fixture, which properly cares for removing
temporary directories.https://0xacab.org/leap/soledad/-/merge_requests/28Feature/check schema versions2016-10-05T04:11:05ZdrebsFeature/check schema versionsVictorVictorhttps://0xacab.org/leap/soledad/-/merge_requests/29Bug/docker2017-01-24T22:18:14ZVictorBug/docker* Adds libsqlcipher on Dockerfile
* Solves #8508
* Changes leapcode/soledad:1.0 to leapcode/soledad:latest* Adds libsqlcipher on Dockerfile
* Solves #8508
* Changes leapcode/soledad:1.0 to leapcode/soledad:latestKali KanekoKali Kanekohttps://0xacab.org/leap/soledad/-/merge_requests/27Feature/streaming encrypter2016-11-25T23:56:23ZVictorFeature/streaming encrypterhttps://0xacab.org/leap/soledad/-/merge_requests/33[refactor] separate server application into another file2016-11-22T14:20:44Zdrebs[refactor] separate server application into another fileVictorVictorhttps://0xacab.org/leap/soledad/-/merge_requests/34[feat] improve missing couch config doc error logging2016-11-22T20:21:56Zdrebs[feat] improve missing couch config doc error loggingVictorVictorhttps://0xacab.org/leap/soledad/-/merge_requests/35[bug] delay couch state initialization2017-01-24T22:18:08Zdrebs[bug] delay couch state initializationThe couch state checks if all user databases have the correct schema
version on initialization, and may log errors and raise exceptions if
that is not the case. Because we are currently using `twistd web
--wsgi`, if those errors are logg...The couch state checks if all user databases have the correct schema
version on initialization, and may log errors and raise exceptions if
that is not the case. Because we are currently using `twistd web
--wsgi`, if those errors are logged too early the reactor may have not
been started and the twistd logging facilities may not have been
initialized.
This commit delays the state initialization until the reactor has been
started, to make sure any errors raised and logged in that stage will
actually reach the logfile.VictorVictorhttps://0xacab.org/leap/soledad/-/merge_requests/38[bug] fix import on create-user-db2016-11-27T13:42:53ZVictor[bug] fix import on create-user-dbload_configuration moved out of server/__init__.pyload_configuration moved out of server/__init__.pydrebsdrebshttps://0xacab.org/leap/soledad/-/merge_requests/36[docs] add docstrings for _crypto2016-11-28T16:34:28ZVictor[docs] add docstrings for _cryptoAlso explaining how we are using Twisted's consumer interfaces.Also explaining how we are using Twisted's consumer interfaces.Kali KanekoKali Kanekohttps://0xacab.org/leap/soledad/-/merge_requests/37Refactor/new crypto2016-12-01T17:10:58ZVictorRefactor/new cryptoThis should become more MRs. Adding a TODO just for documenting the planned steps.
- [x] Add docstrings ([MR #36](https://0xacab.org/leap/soledad/merge_requests/36))
- [ ] refactor current code
- [x] look out for simple changes
-...This should become more MRs. Adding a TODO just for documenting the planned steps.
- [x] Add docstrings ([MR #36](https://0xacab.org/leap/soledad/merge_requests/36))
- [ ] refactor current code
- [x] look out for simple changes
- [ ] check how it's being called across codebase, improve if necessary
- [x] Try out a streaming decrypt (blobs-io will need it)
- [x] Find a way to extract preamble (metadata) from ciphertext ([see discussion](https://0xacab.org/leap/soledad/merge_requests/27#note_11929))Kali KanekoKali Kanekohttps://0xacab.org/leap/soledad/-/merge_requests/39GCM2017-01-24T22:17:26ZVictorGCM- [x] - #8668 - client: substitute usage of CTR mode + HMAC by GCM cipher mode
- [x] - #8681 - Change CTR to GCM on secrets.py
- [x] - #8680 - Add retro compatibility support for secrets.py encryption- [x] - #8668 - client: substitute usage of CTR mode + HMAC by GCM cipher mode
- [x] - #8681 - Change CTR to GCM on secrets.py
- [x] - #8680 - Add retro compatibility support for secrets.py encryptiondrebsdrebshttps://0xacab.org/leap/soledad/-/merge_requests/41feature/streaming transfer2016-12-12T17:46:16Zdrebsfeature/streaming transferhttps://0xacab.org/leap/soledad/-/merge_requests/42[pkg] use a twisted resource as server entrypoint2017-01-24T22:17:54Zdrebs[pkg] use a twisted resource as server entrypointDiscussion in the issue tracker: https://leap.se/code/issues/8666Discussion in the issue tracker: https://leap.se/code/issues/8666VictorVictorhttps://0xacab.org/leap/soledad/-/merge_requests/40Refactore/improve secrets code2017-01-24T22:17:26ZdrebsRefactore/improve secrets codeThis is an improvement/refactor of secrets management:
* modularization of encryption, storage and bootstrap/access of secrets.
* make it more explicit how we use secrets. Previous code made use of indexes to access parts of a larger...This is an improvement/refactor of secrets management:
* modularization of encryption, storage and bootstrap/access of secrets.
* make it more explicit how we use secrets. Previous code made use of indexes to access parts of a larger blob and that was horrible to read. I did not change how secrets are used, so this might still be a bit ugly, but at least it is now explicit what we do, and easier to change.
* change the representation in `secrets.json` file. Instead of having one larger blob, i now use a dictionary so there's never a need to slice.VictorVictorhttps://0xacab.org/leap/soledad/-/merge_requests/47[bug] Fix import for load_configuration on migration script2017-01-24T22:16:50ZThais[bug] Fix import for load_configuration on migration scriptRelated with https://leap.se/code/issues/8742Related with https://leap.se/code/issues/8742https://0xacab.org/leap/soledad/-/merge_requests/52Bug/fix secrets refactor migration2017-02-01T22:54:02ZdrebsBug/fix secrets refactor migrationRelated to: https://0xacab.org/leap/soledad/issues/12Related to: https://0xacab.org/leap/soledad/issues/12Soledad 0.9.3VictorVictorhttps://0xacab.org/leap/soledad/-/merge_requests/45Debian/use systemd2017-02-06T13:50:08ZdrebsDebian/use systemddrebsdrebshttps://0xacab.org/leap/soledad/-/merge_requests/43Feature/use twisted sessions2017-02-04T05:28:33ZdrebsFeature/use twisted sessionsThis merge request implements:
* use of cookies in the client to allow use of twisted sessions (`twisted.web.client.CookieAgent`).
* reuse of the agent in the client so the session persists through many synchronizations.
* removal of ...This merge request implements:
* use of cookies in the client to allow use of twisted sessions (`twisted.web.client.CookieAgent`).
* reuse of the agent in the client so the session persists through many synchronizations.
* removal of wsgi token authentication middleware.
* use of twisted http authentication facilities in the server (`twisted.cred`, `twisted.web.guard`).
* the caching of authentication data in twisted sessions (`twisted.web.server.Session`).
There's some initial discussion in the issue: https://leap.se/code/issues/8667Kali KanekoKali Kanekohttps://0xacab.org/leap/soledad/-/merge_requests/50[feature] add server config option for blobs2017-02-06T22:23:05Zdrebs[feature] add server config option for blobsThis is an implementation for https://0xacab.org/leap/soledad/issues/2.This is an implementation for https://0xacab.org/leap/soledad/issues/2.VictorVictor