summaryrefslogtreecommitdiff
path: root/client/src/leap/soledad
AgeCommit message (Collapse)Author
2017-04-10[refactor] use fixed rev and remove doc_id (blobs)Victor Shyba
doc_id wasn't being stored, loaded or used anywhere except for authentication. This commit removes it and uses a fixed value for rev since blobs is supposed to be immutable. - Resolves: #8813
2017-04-04[docs] add docstrings to _get_rounded_sizeVictor Shyba
2017-04-04[style] fix wrong identationVictor Shyba
2017-04-04[bug] use soledad_assert instead of assertVictor Shyba
2017-04-04[docs] improve docstrings and comments from reviewVictor Shyba
2017-04-04[feature] add list to _blobs cliVictor Shyba
2017-04-04[refactor] list is remote_list, avoiding confusionVictor Shyba
2017-04-04[feature] add listing to local blob dbVictor Shyba
2017-04-04[feature] add blobs listingVictor Shyba
2017-04-04[refactor] adds a PreamblePipe for preamble downloadVictor Shyba
Downloading until there is a space then splitting the content was a mess. Extracted this behaviour out of DecrypterBuffer into a new component so it eases testing by introducing a single responsibility class.
2017-04-04[refactor] extracts tail logic into TruncatedTailPipeVictor Shyba
2017-04-04[feature] use 409 status code for existing blob idVictor Shyba
Raising was generating 500, which is a generic status code for server side errors. This commit adds proper status code of 409 while handling the error on client side by translating the code into a proper exception class.
2017-04-04[refactor] simplify HTTPClientVictor Shyba
2017-04-04[refactor] change size into a required parameter where it is necessaryVictor Shyba
2017-04-04[bug] copy returns a closed handleVictor Shyba
copy call returns a closed file handler, instead we can query for the blob after insertion and use the returned file handle to be consumed for upload. A better solution would be to "pipe" the writes into the database into the upload, but that involves solving a larger set of issues to be done later.
2017-04-04[feature] adds a close method for local blobs storeVictor Shyba
2017-04-04[feature] improve error messages on preamble checkVictor Shyba
2017-04-04[bug] check status code on uploadVictor Shyba
2017-04-04[feat] use pinned token agent in client blobsdrebs
2017-04-04[feature] add a treq-based http client to soledad clientdrebs
2017-04-04[feature] add a tls-pinned, token-authenticated http agentdrebs
2017-04-04[feat] add token auth to blobs clientdrebs
2017-04-04[doc] remove excessive signal doc from client apidrebs
2017-04-04[feat] improve blobs standalone testing optionsdrebs
2017-04-04[test] BlobManager encrypt testVictor Shyba
2017-04-04[feature] unarmored incremental blobs decryptVictor Shyba
2017-04-04[feature] send tag header from serverVictor Shyba
2017-04-04[feature] incremental decrypterVictor Shyba
2017-04-04[feature] ascii armor disable optionVictor Shyba
2017-04-04[bug] fix loose ends on _crypto and testsVictor Shyba
2017-04-04[style] pep8 fixesVictor Shyba
2017-04-04[bug] fix blobs putdrebs
2017-04-04[bug] handle case when blob is not found in serverdrebs
2017-04-04[refactor] improve logging and manual testing of blobsdrebs
2017-04-04[doc] add license header to _blobs.pydrebs
2017-04-04[style] pep8 fixesdrebs
2017-04-04[bug] use rowid to insert blob in sqlcipherdrebs
2017-04-04[feature] close mvp loop with clientKali Kaneko
2017-04-04[feature] enable simple obfuscation of blob size in preambleKali Kaneko
use a powers of two ceiling for the reported size in the preamble. for this to be effective against a passive adversary, cover traffic should be used in the uploads too. This is just a first-stop measure; proper research should be done to determine a good tradeoff between avoiding information leakage and saving some storage and bandwidth.. - Documentation: #8759 - Related: #8759
2017-04-04[feature] save blob to db, incrementallyKali Kaneko
2017-04-04[feature] add attribute to keep blob cryptoKali Kaneko
2017-04-04[refactor] refactor crypto api to better allow streamingKali Kaneko
Motivation is that I need to pass partial data to the decryptor, mainly.
2017-04-04first implementation of client blobsKali Kaneko
2017-03-31[feature] raise earlier when deleting NoneVictor Shyba
If an application tries to delete None, by accident, raising earlier would help to show the caller stack trace instead of inner sqlite backend stack and make the error more friendly. - Resolves: #8791
2017-03-23[feature] generate recovery codeAnike Arni
with @tayane
2017-03-17[refactor] Improve python3 compatibilityefkin
With this commit all tests on py34 tox environment are collected.
2017-03-13[docs] explain sync bypass due lack of tokenVictor Shyba
2017-03-13[feat] make database creation appear in logsdrebs
2017-03-13[bug] remove offline flagdrebs
The offline flag is not needed and rendered the soledad client prone to bugs because it would need to be toggled and that is succeptible to timing problems.
2017-03-13[bug] fix raising of invalid auth token errordrebs