- update to 0.5.0:
* Fixed#181: Added the ability to pass file paths to encrypt_file, decrypt_file,
sign_file, verify_file, get_recipients_file and added import_keys_file.
* Fixed#183: Handle FAILURE and UNEXPECTED conditions correctly. Thanks to sebbASF for
the patch.
* Fixed#185: Handle VALIDSIG arguments more robustly.
* Fixed#188: Remove handling of DECRYPTION_FAILED from Verify code, as not required
there. Thanks to sebbASF for the patch.
* Fixed#190: Handle KEY_CREATED more robustly.
* Fixed#191: Handle NODATA messages during verification.
* Fixed#196: Don't log chunk data by default, as it could contain sensitive
information (during decryption, for example).
* Added the ability to pass an environment to the gpg executable. Thanks to Edvard
Rejthar for the patch.
OBS-URL: https://build.opensuse.org/request/show/1004263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=13
* Fixed#181: Added the ability to pass file paths to encrypt_file, decrypt_file,
sign_file, verify_file, get_recipients_file and added import_keys_file.
* Fixed#183: Handle FAILURE and UNEXPECTED conditions correctly. Thanks to sebbASF for
the patch.
* Fixed#185: Handle VALIDSIG arguments more robustly.
* Fixed#188: Remove handling of DECRYPTION_FAILED from Verify code, as not required
there. Thanks to sebbASF for the patch.
* Fixed#190: Handle KEY_CREATED more robustly.
* Fixed#191: Handle NODATA messages during verification.
* Fixed#196: Don't log chunk data by default, as it could contain sensitive
information (during decryption, for example).
* Added the ability to pass an environment to the gpg executable. Thanks to Edvard
Rejthar for the patch.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=25
* Added a status attribute to the returned object from gen_key()
* Provide the ability to add subkeys.
* Add keygrip values to the information collected when keys are listed.
* Added extra_args keyword argument to send_keys(), recv_keys() and
search_keys() to allow passing options relating to key servers.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=23
- Enable tests
- Update to 0.4.4:
* Changed how any return value from the ``on_data`` callable is processed. In
earlier versions, the return value was ignored. In this version, if the
return value is ``False``, the data received from ``gpg`` is not buffered.
Otherwise (if the value is ``None`` or ``True``, for example), the data is
buffered as normal. This functionality can be used to do your own
buffering, or to prevent buffering altogether. The ``on_data`` callable is
also called once with an empty byte-string to signal the end of data from
``gpg``.
* Added an additional attribute ``check_fingerprint_collisions`` to
``GPG`` instances, which defaults to ``False``. It seems that ``gpg`` is
happy to have duplicate keys and fingerprints in a keyring, so we can't be
too strict. A user can set this attribute of an instance to ``True`` to
trigger a check for collisions.
* With GnuPG 2.2.7 or later, provide the fingerprint of a signing key for a
failed signature verification, if available.
* For verification where multiple signatures are involved, a mapping of
signature_ids to fingerprint, keyid, username, creation date, creation
timestamp and expiry timestamp is provided.
* Added a check to disallow certain control characters ('\r', '\n', NUL) in
passphrases.
OBS-URL: https://build.opensuse.org/request/show/668267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=5