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-10-29 16:08:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pynitrokey (Old)
 and      /work/SRC/openSUSE:Factory/.python-pynitrokey.new.1255 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pynitrokey"

Thu Oct 29 16:08:49 2026 rev:31 rq:1393535 version:0.14.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pynitrokey/python-pynitrokey.changes      
2026-10-15 13:05:14.822070723 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pynitrokey.new.1255/python-pynitrokey.changes
    2026-10-29 16:11:34.283224113 +0100
@@ -1,0 +2,9 @@
+Thu Oct 29 06:00:18 UTC 2026 - Johannes Kastl 
<[email protected]>
+
+- update to 14.0.1:
+  * Add test for nethsm commands in #805
+  * NetHSM CLI improvements in #809
+  * Update OpenPGP key for Markus in #811
+  * Update dependencies and release v0.14.1 in #812
+
+-------------------------------------------------------------------

Old:
----
  pynitrokey-0.14.0.tar.gz

New:
----
  pynitrokey-0.14.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pynitrokey.spec ++++++
--- /var/tmp/diff_new_pack.tJr6ru/_old  2026-10-29 16:11:35.364269449 +0100
+++ /var/tmp/diff_new_pack.tJr6ru/_new  2026-10-29 16:11:35.366269533 +0100
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-pynitrokey
-Version:        0.14.0
+Version:        0.14.1
 Release:        0
 Summary:        Python Library for Nitrokey devices
 License:        Apache-2.0 OR MIT

++++++ pynitrokey-0.14.0.tar.gz -> pynitrokey-0.14.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pynitrokey-0.14.0/PKG-INFO 
new/pynitrokey-0.14.1/PKG-INFO
--- old/pynitrokey-0.14.0/PKG-INFO      1970-01-01 01:00:00.000000000 +0100
+++ new/pynitrokey-0.14.1/PKG-INFO      1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: pynitrokey
-Version: 0.14.0
+Version: 0.14.1
 Summary: Python client for Nitrokey devices
 License-Expression: Apache-2.0 OR MIT
 License-File: LICENSES/Apache-2.0.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pynitrokey-0.14.0/pynitrokey/cli/nethsm.py 
new/pynitrokey-0.14.1/pynitrokey/cli/nethsm.py
--- old/pynitrokey-0.14.0/pynitrokey/cli/nethsm.py      1970-01-01 
01:00:00.000000000 +0100
+++ new/pynitrokey-0.14.1/pynitrokey/cli/nethsm.py      1970-01-01 
01:00:00.000000000 +0100
@@ -90,9 +90,29 @@
 
 
 @click.group()
[email protected]("-h", "--host", "host", help="Set the host of the NetHSM API")
[email protected]("-u", "--username", "username", help="The NetHSM user name")
[email protected]("-p", "--password", "password", help="The NetHSM password")
[email protected](
+    "-h",
+    "--host",
+    envvar="NETHSM_HOST",
+    show_envvar=True,
+    help="Set the hostname and port of the NetHSM API",
+)
[email protected](
+    "-u",
+    "--username",
+    "username",
+    envvar="NETHSM_USERNAME",
+    show_envvar=True,
+    help="The NetHSM username",
+)
[email protected](
+    "-p",
+    "--password",
+    "password",
+    envvar="NETHSM_PASSWORD",
+    show_envvar=True,
+    help="The NetHSM password",
+)
 @click.option(
     "--verify-tls/--no-verify-tls",
     default=True,
@@ -128,21 +148,18 @@
     assert isinstance(config, Config)
 
     host = config.host
-    if host is None:
-        v = "NETHSM_HOST"
-        if v not in os.environ:
-            raise CliException(
-                f"Missing NetHSM host: set the --host option or the {v} 
environment variable",
-                support_hint=False,
-            )
-        host = os.environ[v]
+    if not host:
+        raise CliException(
+            'Missing NetHSM host: set the --host option or the "NETHSM_HOST" 
environment variable.',
+            support_hint=False,
+        )
 
     auth = None
     if require_auth:
         username = config.username
         password = config.password
         if not username:
-            username = prompt_str(f"[auth] User name for NetHSM {host}")
+            username = prompt_str(f"[auth] Username for NetHSM {host}")
         if not password:
             password = prompt_str(
                 f"[auth] Password for user {username} on NetHSM {host}", 
hide_input=True
@@ -533,7 +550,7 @@
 
     This command requires authentication as a user with the Operator role."""
     with connect(ctx) as nethsm:
-        print(nethsm.get_random_data(length))
+        print(nethsm.get_random_data(length).data)
 
 
 @nethsm.command()
@@ -852,7 +869,7 @@
 ) -> None:
     """Import a PKCS#12 archive from a file into the NetHSM.
 
-    If the key IS is not set, it is generated by the NetHSM.
+    If the key ID is not set, it is generated by the NetHSM.
 
     This command requires authentication as a user with the Administrator
     role."""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pynitrokey-0.14.0/pynitrokey/test_secrets_app.py 
new/pynitrokey-0.14.1/pynitrokey/test_secrets_app.py
--- old/pynitrokey-0.14.0/pynitrokey/test_secrets_app.py        1970-01-01 
01:00:00.000000000 +0100
+++ new/pynitrokey-0.14.1/pynitrokey/test_secrets_app.py        1970-01-01 
01:00:00.000000000 +0100
@@ -14,7 +14,7 @@
 import time
 from contextlib import suppress
 from datetime import timedelta
-from os import environ, wait
+from os import environ
 from sys import stderr
 from typing import Any, Callable, List, Optional, Tuple
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pynitrokey-0.14.0/pyproject.toml 
new/pynitrokey-0.14.1/pyproject.toml
--- old/pynitrokey-0.14.0/pyproject.toml        1970-01-01 01:00:00.000000000 
+0100
+++ new/pynitrokey-0.14.1/pyproject.toml        1970-01-01 01:00:00.000000000 
+0100
@@ -8,7 +8,7 @@
 
 [project]
 name = "pynitrokey"
-version = "0.14.0"
+version = "0.14.1"
 description = "Python client for Nitrokey devices"
 license = "Apache-2.0 OR MIT"
 authors = [
@@ -85,6 +85,7 @@
 optional = true
 
 [tool.poetry.group.dev.dependencies]
+docker = ">=7.1, <8"
 ipython = "*"
 mypy = ">=1.4, <1.5"
 ruff = "^0.14"
@@ -94,6 +95,7 @@
 pytest = ">=8, <9"
 pytest-reporter-html1 = "*"
 oath = "*"
+podman = ">=5.1,<6"
 
 [tool.poetry.group.pyinstaller]
 optional = true
@@ -137,6 +139,7 @@
 dev-dependencies = [
     # These dependencies are required for running the type checks.
     "mypy >=1.4, <1.5",
+    "podman >=5.1, <6",
     "pytest >=8, <9",
     "types-cffi >=1.15, <2",
     "types-requests >=2.16, <3",

Reply via email to