Skip to content

Commit

Permalink
Fix #239: Remove logging of decryption result.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsajip committed Jun 20, 2024
1 parent efb2043 commit 5f17b8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----
Expand Down
2 changes: 1 addition & 1 deletion gnupg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 5f17b8b

Please sign in to comment.