diff --git a/README.rst b/README.rst index 50a5bc7..6a1c5a4 100644 --- a/README.rst +++ b/README.rst @@ -82,6 +82,7 @@ Released: Not yet * Fix #237: Ensure local variable is initialized even when an exception occurs. +* Fix #239: Remove logging of decryption result. 0.5.2 ----- diff --git a/gnupg.py b/gnupg.py index 7bf3fb8..791af77 100644 --- a/gnupg.py +++ b/gnupg.py @@ -2197,7 +2197,7 @@ def decrypt_file(self, fileobj_or_path, always_trust=False, passphrase=None, out args.extend(extra_args) result = self.result_map['crypt'](self) self._handle_io(args, fileobj_or_path, result, passphrase, binary=True) - logger.debug('decrypt result[:100]: %r', result.data[:100]) + # logger.debug('decrypt result[:100]: %r', result.data[:100]) return result def get_recipients(self, message, **kwargs):