Skip to content

Commit

Permalink
Changes for 0.5.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsajip committed Dec 12, 2023
1 parent bd69b80 commit cda862f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
9 changes: 8 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,22 @@ Change log
.. note:: GCnn refers to an issue nn on Google Code.


0.5.2 (future)
0.5.3 (future)
--------------

Released: Not yet


0.5.2
-----

Released: 2023-12-12

* Fix #228: Clarify documentation for encryption/decryption.

* Make I/O buffer size configurable via ``buffer_size`` attribute on a ``GPG`` instance.


0.5.1
-----

Expand Down
8 changes: 4 additions & 4 deletions gnupg.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
import sys
import threading

__version__ = '0.5.2.dev0'
__version__ = '0.5.2'
__author__ = 'Vinay Sajip'
__date__ = '$22-Jul-2023 16:36:40$'
__date__ = '$12-Dec-2023 07:52:07$'

STARTUPINFO = None
if os.name == 'nt': # pragma: no cover
Expand Down Expand Up @@ -1342,8 +1342,8 @@ def set_output_without_confirmation(self, args, output):

def is_valid_passphrase(self, passphrase):
"""
Confirm that the passphrase doesn't contain newline-type characters - it is passed in a pipe to `gpg`, and so not
checking could lead to spoofing attacks by passing arbitrary text after passphrase and newline.
Confirm that the passphrase doesn't contain newline-type characters - it is passed in a pipe to `gpg`,
and so not checking could lead to spoofing attacks by passing arbitrary text after passphrase and newline.
Args:
passphrase (str): The passphrase to test.
Expand Down
2 changes: 1 addition & 1 deletion test_gnupg.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def skipIf(condition, message):
import gnupg

__author__ = 'Vinay Sajip'
__date__ = '$22-Jul-2023 16:37:02$'
__date__ = '$12-Dec-2023 07:57:43$'

ALL_TESTS = True

Expand Down

0 comments on commit cda862f

Please sign in to comment.