From 07d2e7b5ed293f470c8bed2962cb36923dce7be790a6636cb3cba728084a7b46 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 1 Dec 2023 17:10:46 +0000 Subject: [PATCH] - 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 --- python-gnupg-0.5.0.tar.gz | 3 --- python-gnupg-0.5.1.tar.gz | 3 +++ python-python-gnupg.changes | 39 +++++++++++++++++++++++++++++++++---- python-python-gnupg.spec | 9 ++------- 4 files changed, 40 insertions(+), 14 deletions(-) delete mode 100644 python-gnupg-0.5.0.tar.gz create mode 100644 python-gnupg-0.5.1.tar.gz diff --git a/python-gnupg-0.5.0.tar.gz b/python-gnupg-0.5.0.tar.gz deleted file mode 100644 index 178a449..0000000 --- a/python-gnupg-0.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:70758e387fc0e0c4badbcb394f61acbe68b34970a8fed7e0f7c89469fe17912a -size 61154 diff --git a/python-gnupg-0.5.1.tar.gz b/python-gnupg-0.5.1.tar.gz new file mode 100644 index 0000000..535cb3a --- /dev/null +++ b/python-gnupg-0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5674bad4e93876c0b0d3197e314d7f942d39018bf31e2b833f6788a6813c3fb8 +size 64377 diff --git a/python-python-gnupg.changes b/python-python-gnupg.changes index abf25d2..d1f46d0 100644 --- a/python-python-gnupg.changes +++ b/python-python-gnupg.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Fri Dec 1 17:09:22 UTC 2023 - Dirk Müller + +- 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. + ------------------------------------------------------------------- Fri May 5 11:10:16 UTC 2023 - Johannes Kastl @@ -26,10 +57,10 @@ Sat Jun 4 13:54:10 UTC 2022 - Dirk Müller - update to 0.4.9: * Added a status attribute to the returned object from gen_key() - * Provide the ability to add subkeys. + * 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. + search_keys() to allow passing options relating to key servers. ------------------------------------------------------------------- Mon Nov 29 11:57:11 UTC 2021 - Dirk Müller @@ -46,7 +77,7 @@ Sun Aug 1 09:24:35 UTC 2021 - Dirk Müller - update to 0.4.7: * Added support for no passphrase during key generation. - * Improved permission-denied test. + * Improved permission-denied test. * Updated logging to only show partial results. * Allowed a passphrase to be passed to import_keys(). @@ -69,7 +100,7 @@ Tue Sep 10 11:08:04 UTC 2019 - Tomáš Chvátal Wed Apr 17 10:39:48 CEST 2019 - Matej Cepl - Switch to pytest runner, which seems to be a way more stable in - providing the results. + providing the results. ------------------------------------------------------------------- Thu Jan 24 10:07:27 UTC 2019 - Tomáš Chvátal diff --git a/python-python-gnupg.spec b/python-python-gnupg.spec index 7c4f767..dfdd48c 100644 --- a/python-python-gnupg.spec +++ b/python-python-gnupg.spec @@ -17,14 +17,13 @@ %{?sle15_python_module_pythons} -%define oldpython python Name: python-python-gnupg -Version: 0.5.0 +Version: 0.5.1 Release: 0 Summary: A wrapper for the GNU Privacy Guard (GPG or GnuPG) License: BSD-3-Clause Group: Development/Languages/Python -URL: http://pythonhosted.org/python-gnupg/index.html +URL: https://pythonhosted.org/python-gnupg/index.html Source: https://files.pythonhosted.org/packages/source/p/python-gnupg/python-gnupg-%{version}.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -35,10 +34,6 @@ Requires: gpg2 Obsoletes: python-gnupg < %{version} Provides: python-gnupg = %{version} BuildArch: noarch -%ifpython2 -Obsoletes: %{oldpython}-gnupg < %{version} -Provides: %{oldpython}-gnupg = %{version} -%endif %python_subpackages %description