12
0

37 Commits

Author SHA256 Message Date
de2af964c6 Accepting request 1246297 from devel:languages:python
- Switch to pyproject macros.
- No more greedy globs in %files.

- Update to 0.5.4
  * Fix #242: Handle exceptions in the on_data callable.

OBS-URL: https://build.opensuse.org/request/show/1246297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=18
2025-02-17 19:54:50 +00:00
9f311a3d6a Accepting request 1204932 from devel:languages:python
- update to 0.5.3:
  * Add WKD (Web Key Directory) support for auto-locating keys.
  * Ensure local variable is initialized even when an exception
    occurs.
  * Fix #239: Remove logging of decryption result.

OBS-URL: https://build.opensuse.org/request/show/1204932
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=17
2024-10-01 15:20:12 +00:00
3d50d585c8 - update to 0.5.3:
* Add WKD (Web Key Directory) support for auto-locating keys.
  * Ensure local variable is initialized even when an exception
    occurs.
  * Fix #239: Remove logging of decryption result.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=33
2024-10-01 12:42:40 +00:00
4a86a87dc8 Accepting request 1133187 from devel:languages:python
- update to 0.5.2:
  * Fix #228: Clarify documentation for encryption/decryption.
  * Make I/O buffer size configurable via ``buffer_size`` attribute
    on a ``GPG`` instance.

OBS-URL: https://build.opensuse.org/request/show/1133187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=16
2023-12-15 20:48:19 +00:00
cce6d21dde - update to 0.5.2:
* Fix #228: Clarify documentation for encryption/decryption.
  * Make I/O buffer size configurable via ``buffer_size`` attribute
    on a ``GPG`` instance.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=31
2023-12-14 20:56:55 +00:00
83831118fc Accepting request 1130337 from devel:languages:python
- update to 0.5.1:
  * Added ``TRUST_EXPIRED`` to ``trust_keys``. Thanks to Leif Liddy
    for the patch.
  * Fix #206: Remove deprecated ``--always-trust`` in favour of
    ``--trust-model always``
  * Fix #208: Add ``status_detail`` attribute to result objects which
  * is populated when the status is ``'invalid recipient'``
    (encryption/decryption) or ``'invalid signer'``
    (signing). This attribute will be set when the result object's
    ``status`` attribute is set to ``invalid recipient`` and will
    contain more information about the failure in the form of
    ``reason:ident`` where ``reason`` is a text description of the
    reason, and ``ident`` identifies the recipient key.
  * Add ``scan_keys_mem()`` function to scan keys in a string. Thanks
    to Sky Moore for the patch.
  * Fix #214: Handle multiple signatures when one of them is invalid
    or unverified.
  * A ``problems`` attribute was added which holds problems reported
    by ``gpg`` during verification. This is a list of dictionaries,
    one for each reported problem. Each dictionary will have
    ``status`` and ``keyid`` keys indicating
    the problem and the corresponding key; other information in the
    dictionaries will be error specific.
  * Fix #217: Use machine-readable interface to query the ``gpg``
    version.
  * Added the ability to export keys to a file.

  * Provide the ability to add subkeys.
    search_keys() to allow passing options relating to key servers.
  * Improved permission-denied test.

OBS-URL: https://build.opensuse.org/request/show/1130337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=15
2023-12-02 16:13:00 +00:00
07d2e7b5ed - update to 0.5.1:
* Added ``TRUST_EXPIRED`` to ``trust_keys``. Thanks to Leif Liddy
    for the patch.
  * Fix #206: Remove deprecated ``--always-trust`` in favour of
    ``--trust-model always``
  * Fix #208: Add ``status_detail`` attribute to result objects which
  * is populated when the status is ``'invalid recipient'``
    (encryption/decryption) or ``'invalid signer'``
    (signing). This attribute will be set when the result object's
    ``status`` attribute is set to ``invalid recipient`` and will
    contain more information about the failure in the form of
    ``reason:ident`` where ``reason`` is a text description of the
    reason, and ``ident`` identifies the recipient key.
  * Add ``scan_keys_mem()`` function to scan keys in a string. Thanks
    to Sky Moore for the patch.
  * Fix #214: Handle multiple signatures when one of them is invalid
    or unverified.
  * A ``problems`` attribute was added which holds problems reported
    by ``gpg`` during verification. This is a list of dictionaries,
    one for each reported problem. Each dictionary will have
    ``status`` and ``keyid`` keys indicating
    the problem and the corresponding key; other information in the
    dictionaries will be error specific.
  * Fix #217: Use machine-readable interface to query the ``gpg``
    version.
  * Added the ability to export keys to a file.
  * Provide the ability to add subkeys.
    search_keys() to allow passing options relating to key servers.
  * Improved permission-denied test.
  providing the results.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=29
2023-12-01 17:10:46 +00:00
31f9f0d384 Accepting request 1085088 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1085088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=14
2023-05-06 20:09:13 +00:00
8409595fbb Accepting request 1085051 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085051
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=27
2023-05-05 12:21:42 +00:00
213c464d01 Accepting request 1004263 from devel:languages:python
- 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
2022-09-17 18:10:48 +00:00
2057188cb0 - 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/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=25
2022-09-17 07:22:14 +00:00
4637730748 Accepting request 980771 from devel:languages:python
- update to 0.4.9:
  * 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/request/show/980771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=12
2022-06-06 09:10:29 +00:00
1da429c041 - update to 0.4.9:
* 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
2022-06-04 14:00:03 +00:00
5f3cd0db43 Accepting request 934532 from devel:languages:python
- update to 0.4.8:
  * Return gpg's return code in all result instances.
  * Add check for invalid file objects.
  * Provide more useful status message when a secret key is absent.
  * Added a get_recipients() API to find the recipients of an encrypted
    message without decrypting it.

OBS-URL: https://build.opensuse.org/request/show/934532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=11
2021-12-09 18:45:02 +00:00
e5a11a855f - update to 0.4.8:
* Return gpg's return code in all result instances.
  * Add check for invalid file objects.
  * Provide more useful status message when a secret key is absent.
  * Added a get_recipients() API to find the recipients of an encrypted
    message without decrypting it.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=22
2021-11-29 12:00:45 +00:00
1453db022e Accepting request 909590 from devel:languages:python
- update to 0.4.7:
  * Added support for no passphrase during key generation.
  * Improved permission-denied test. 
  * Updated logging to only show partial results.
  * Allowed a passphrase to be passed to import_keys().

OBS-URL: https://build.opensuse.org/request/show/909590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=10
2021-08-04 20:28:21 +00:00
9bfc108da8 - update to 0.4.7:
* Added support for no passphrase during key generation.
  * Improved permission-denied test. 
  * Updated logging to only show partial results.
  * Allowed a passphrase to be passed to import_keys().

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=21
2021-08-01 09:27:34 +00:00
8494004f70 Accepting request 824526 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/824526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=9
2020-08-05 18:30:03 +00:00
1afc58714a Accepting request 824505 from home:mcalabkova:branches:devel:languages:python
- Update to 0.4.6
  * Fixed #128: Added ECC support by changing key generation parameters. (The Key-Length
    value isn't added if a curve is specified.)
  * More bugfixes.
  * Support for Python versions 3.5 and under is discontinued, except for Python 2.7.

OBS-URL: https://build.opensuse.org/request/show/824505
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=19
2020-08-05 15:55:16 +00:00
c50563920b Accepting request 729817 from devel:languages:python
- Update to 0.4.5:
  * various bugfixes

OBS-URL: https://build.opensuse.org/request/show/729817
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=8
2019-09-11 08:36:08 +00:00
Tomáš Chvátal
5989237dd0 - Update to 0.4.5:
* various bugfixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=17
2019-09-10 11:09:56 +00:00
3a3d1d9118 Accepting request 695024 from devel:languages:python
Switch to pytest runner, which seems to be a way more stable in
providing the results. (forwarded request 695023 from mcepl)

OBS-URL: https://build.opensuse.org/request/show/695024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=7
2019-04-18 07:56:16 +00:00
3664738611 Accepting request 695023 from home:mcepl:branches:devel:languages:python
Switch to pytest runner, which seems to be a way more stable in
providing the results.

OBS-URL: https://build.opensuse.org/request/show/695023
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=15
2019-04-17 08:41:09 +00:00
a79e5ddfd4 Accepting request 669857 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/669857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=6
2019-02-01 10:45:27 +00:00
Thomas Bechtold
42759147fd Accepting request 669845 from home:kbabioch:branches:devel:languages:python
Added CVE and bug reference to changes file.

OBS-URL: https://build.opensuse.org/request/show/669845
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=13
2019-01-29 12:59:16 +00:00
2e6392fa08 Accepting request 668267 from devel:languages:python
- 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
2019-01-25 21:44:11 +00:00
Tomáš Chvátal
937a5d9c67 - Enable tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=11
2019-01-24 10:07:38 +00:00
Tomáš Chvátal
51e9d0ba83 Accepting request 668262 from home:kbabioch:branches:devel:languages:python
- Update to 0.4.4:

OBS-URL: https://build.opensuse.org/request/show/668262
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=10
2019-01-24 10:03:11 +00:00
f889c85ec7 Accepting request 659613 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=4
2018-12-24 10:42:34 +00:00
83bbd373d8 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=8
2018-12-04 13:55:46 +00:00
6c88178266 Accepting request 616620 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/616620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=3
2018-06-19 09:59:36 +00:00
Todd R
df122166b0 Accepting request 616617 from home:AndreasStieger:branches:devel:languages:python
python-gnupg 0.4.3 CVE-2018-12020 boo#1096745

OBS-URL: https://build.opensuse.org/request/show/616617
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=6
2018-06-13 19:58:37 +00:00
5a4aa63646 Accepting request 533144 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/533144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=2
2017-10-13 12:16:14 +00:00
84cbb218af Accepting request 521752 from devel:languages:python
Rename python-gnupg to follow python package naming rules

OBS-URL: https://build.opensuse.org/request/show/521752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=1
2017-09-26 19:14:14 +00:00
Jan Matejek
65f9c359ab Accepting request 523269 from home:jengelh:branches:devel:languages:python
- Ensure description neutrality.

OBS-URL: https://build.opensuse.org/request/show/523269
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=3
2017-09-11 15:41:47 +00:00
Todd R
2e7aed09c7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=2 2017-09-06 17:48:58 +00:00
Todd R
34cdf51889 - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=1
2017-09-06 17:47:18 +00:00
2 changed files with 0 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01d8013931c9fa3f45824bbea7054c03d6e11f258a72e7e086e168dbcb91854c
size 64531

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:290d8ddb9cd63df96cfe9284b9b265f19fd6e145e5582dc58fd7271f026d0a47
size 65457