14
0

- 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
This commit is contained in:
2023-12-01 17:10:46 +00:00
committed by Git OBS Bridge
parent 8409595fbb
commit 07d2e7b5ed
4 changed files with 40 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70758e387fc0e0c4badbcb394f61acbe68b34970a8fed7e0f7c89469fe17912a
size 61154

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5674bad4e93876c0b0d3197e314d7f942d39018bf31e2b833f6788a6813c3fb8
size 64377

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Fri Dec 1 17:09:22 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <kastl@b1-systems.de>

View File

@@ -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