From f8a79cf8df519f3271daf9dc5b8e73c359b886a1 Mon Sep 17 00:00:00 2001 From: drebs Date: Thu, 23 Jul 2015 18:07:37 -0300 Subject: [feat] add log message for document encryption --- client/src/leap/soledad/client/crypto.py | 1 + 1 file changed, 1 insertion(+) (limited to 'client/src/leap') 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, -- cgit v1.2.3