diff options
author | drebs <drebs@leap.se> | 2015-07-23 18:07:37 -0300 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-07-27 10:03:30 -0400 |
commit | f8a79cf8df519f3271daf9dc5b8e73c359b886a1 (patch) | |
tree | 007e230d68938321cb7e7749972c05876b91a140 /client/src/leap | |
parent | 8a18611fa4868b42999a48f728da5a9884d8cb62 (diff) |
[feat] add log message for document encryption
Diffstat (limited to 'client/src/leap')
-rw-r--r-- | client/src/leap/soledad/client/crypto.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/leap/soledad/client/crypto.py b/client/src/leap/soledad/client/crypto.py index bdbaa8e0..6328fd2b 100644 --- a/client/src/leap/soledad/client/crypto.py +++ b/client/src/leap/soledad/client/crypto.py @@ -345,6 +345,7 @@ def encrypt_docstr(docstr, doc_id, doc_rev, key, secret): # convert binary data to hexadecimal representation so the JSON # serialization does not complain about what it tries to serialize. hex_ciphertext = binascii.b2a_hex(ciphertext) + logger.debug("Encrypting doc: %s" % doc_id) return json.dumps({ crypto.ENC_JSON_KEY: hex_ciphertext, crypto.ENC_SCHEME_KEY: enc_scheme, |