Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pynitrokey for
openSUSE:Factory checked in at 2026-05-07 15:45:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pynitrokey (Old)
and /work/SRC/openSUSE:Factory/.python-pynitrokey.new.1966 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pynitrokey"
Thu May 7 15:45:34 2026 rev:26 rq:1351399 version:0.12.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pynitrokey/python-pynitrokey.changes
2026-04-26 21:14:44.677832739 +0200
+++
/work/SRC/openSUSE:Factory/.python-pynitrokey.new.1966/python-pynitrokey.changes
2026-05-07 15:47:08.608461618 +0200
@@ -1,0 +2,13 @@
+Thu May 7 10:46:45 UTC 2026 - Johannes Kastl
<[email protected]>
+
+- update to 0.12.1:
+ * Allow cryptography v47 and v48 by @robin-nitrokey in #751
+ * Update dependencies and release v0.12.1 by @robin-nitrokey in #752
+
+-------------------------------------------------------------------
+Thu May 7 07:40:13 UTC 2026 - Johannes Kastl
<[email protected]>
+
+- allow usage of cryptography 47 and 48
+ (https://github.com/Nitrokey/pynitrokey/issues/750)
+
+-------------------------------------------------------------------
Old:
----
pynitrokey-0.12.0.tar.gz
New:
----
pynitrokey-0.12.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pynitrokey.spec ++++++
--- /var/tmp/diff_new_pack.GErKKx/_old 2026-05-07 15:47:09.292489806 +0200
+++ /var/tmp/diff_new_pack.GErKKx/_new 2026-05-07 15:47:09.300490136 +0200
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pynitrokey
-Version: 0.12.0
+Version: 0.12.1
Release: 0
Summary: Python Library for Nitrokey devices
License: Apache-2.0 OR MIT
@@ -33,7 +33,7 @@
#
BuildRequires: %{python_module cffi >= 1.15 with %python-cffi < 3}
BuildRequires: %{python_module click >= 8.2 with %python-click < 9}
-BuildRequires: %{python_module cryptography >= 43 with %python-cryptography <
47}
+BuildRequires: %{python_module cryptography >= 43 with %python-cryptography <
49}
BuildRequires: %{python_module fido2 >= 2 with %python-fido2 < 3}
# https://github.com/Nitrokey/pynitrokey/issues/601
BuildRequires: %{python_module hidapi >= 0.14.0.post2 with %python-hidapi <
0.14.0.post3}
@@ -53,8 +53,9 @@
Requires: (python-cffi >= 1.15 with python-cffi < 3)
Requires: (intelhex >= 2.3 with intelhex < 3)
Requires: (python-click >= 8.2 with python-click < 9)
-Requires: (python-cryptography >= 43 with python-cryptography < 47)
+Requires: (python-cryptography >= 43 with python-cryptography < 49)
Requires: (python-fido2 >= 2 with python-fido2 < 3)
+# https://github.com/Nitrokey/pynitrokey/issues/601
Requires: (python-hidapi >= 0.14.0.post2 with python-hidapi <
0.14.0.post3)
Requires: (python-libusb1 >= 3 with python-libusb1 < 4)
Requires: (python-nethsm >= 2.1 with python-nethsm < 3)
++++++ pynitrokey-0.12.0.tar.gz -> pynitrokey-0.12.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pynitrokey-0.12.0/PKG-INFO
new/pynitrokey-0.12.1/PKG-INFO
--- old/pynitrokey-0.12.0/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
+++ new/pynitrokey-0.12.1/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: pynitrokey
-Version: 0.12.0
+Version: 0.12.1
Summary: Python client for Nitrokey devices
License: Apache-2.0 OR MIT
License-File: LICENSES/Apache-2.0.txt
@@ -22,7 +22,7 @@
Provides-Extra: pcsc
Requires-Dist: cffi (>=1.15,<3)
Requires-Dist: click (>=8.2,<9)
-Requires-Dist: cryptography (>=43,<47)
+Requires-Dist: cryptography (>=43,<49)
Requires-Dist: fido2 (>=2,<3)
Requires-Dist: hidapi (==0.14.0.post2) ; sys_platform == "linux"
Requires-Dist: hidapi (>=0.14,<0.15)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pynitrokey-0.12.0/pynitrokey/cli/nk3/piv.py
new/pynitrokey-0.12.1/pynitrokey/cli/nk3/piv.py
--- old/pynitrokey-0.12.0/pynitrokey/cli/nk3/piv.py 1970-01-01
01:00:00.000000000 +0100
+++ new/pynitrokey-0.12.1/pynitrokey/cli/nk3/piv.py 1970-01-01
01:00:00.000000000 +0100
@@ -109,7 +109,8 @@
self,
data: bytes,
padding: AsymmetricPadding,
- algorithm: Union[asym_utils.Prehashed, hashes.HashAlgorithm],
+ # cryptography v47 adds NoDigestInfo to the union
+ algorithm: Union[asym_utils.Prehashed, hashes.HashAlgorithm], #
type: ignore[override, unused-ignore]
) -> bytes:
assert not isinstance(algorithm, asym_utils.Prehashed)
assert isinstance(padding, PKCS1v15)
@@ -135,6 +136,9 @@
def __copy__(self) -> "RsaPivSigner":
raise NotImplementedError()
+ def __deepcopy__(self, memo: dict[Any, Any]) -> "RsaPivSigner":
+ raise NotImplementedError()
+
class P256PivSigner(ec.EllipticCurvePrivateKey):
_device: PivApp
_key_reference: int
@@ -188,6 +192,9 @@
def __copy__(self) -> "P256PivSigner":
raise NotImplementedError()
+ def __deepcopy__(self, memo: dict[Any, Any]) -> "P256PivSigner":
+ raise NotImplementedError()
+
def print_row(values: Iterable[str], widths: Iterable[int]) -> None:
row = [value.ljust(width) for (value, width) in zip(values, widths)]
print(*row, sep="\t")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pynitrokey-0.12.0/pyproject.toml
new/pynitrokey-0.12.1/pyproject.toml
--- old/pynitrokey-0.12.0/pyproject.toml 1970-01-01 01:00:00.000000000
+0100
+++ new/pynitrokey-0.12.1/pyproject.toml 1970-01-01 01:00:00.000000000
+0100
@@ -8,7 +8,7 @@
[project]
name = "pynitrokey"
-version = "0.12.0"
+version = "0.12.1"
description = "Python client for Nitrokey devices"
license = { text = "Apache-2.0 OR MIT" }
authors = [
@@ -20,7 +20,7 @@
dependencies = [
"cffi >=1.15, <3",
"click >=8.2, <9",
- "cryptography >=43, <47",
+ "cryptography >=43, <49",
"fido2 >=2, <3",
"hidapi >=0.14, <0.15",
# Limit hidapi on Linux to version using the hidraw backend, see