summaryrefslogtreecommitdiff
path: root/scripts/db_access/client_side_db.py
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2016-11-26 01:11:28 -0300
committerdrebs <drebs@leap.se>2016-12-12 09:17:51 -0200
commite65cb7bfecd530252e86878dfec117c2793aa04b (patch)
treee195dc01c040fc0a33c011ee09aee02041459398 /scripts/db_access/client_side_db.py
parent1c8e3359734831562fca76b529c0b1f95af565d5 (diff)
[feature] delimit preamble from ciphertext
We now encode preamble and ciphertext+hmac in two distinct payloads separated by a space. This allows metadata to be extracted and used before decoding the whole document. It also introduces a single packer for packing and unpacking of data instead of reads and writes. Downside: doc_id and rev are limited to 255 chars now.
Diffstat (limited to 'scripts/db_access/client_side_db.py')
0 files changed, 0 insertions, 0 deletions