pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/py-fido2



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Aug 27 09:13:41 UTC 2025

Modified Files:
        pkgsrc/security/py-fido2: Makefile PLIST distinfo

Log Message:
py-fido2: updated to 2.0.0

2.0.0 (released 2025-05-20)
 ** See also the migration guide: doc/Migration_1-2.adoc.
 ** Python 3.10 or later is now required.
 ** WebAuthn dataclasses have been updated to align with the WebAuthn Level 3
    Working Draft. Constructors now require keyword arguments (`kwargs_only=True`),
    and serialization to/from dictionaries is compatible with standardized JSON
    formats.
 ** The `features.webauthn_json_mapping` flag has been removed, as its
    behavior (standardized JSON mapping) is now default.
 ** `Fido2Client` and `WindowsClient` constructors now accept a
    `ClientDataCollector` instance instead of `origin` and `verify` parameters.
 ** `WindowsClient` has been relocated to `fido2.client.windows`. Importing this
    class on non-Windows platforms will now raise an `ImportError`.
 ** `Fido2Client` methods now return `RegistrationResponse` and
    `AuthenticationResponse` objects, instead of raw attestation/assertion data.
 ** CTAP2/WebAuthn extension handling has been redesigned. `Fido2Client` now
    expects a list of `Ctap2Extension` instances. Default behavior includes
    extensions commonly supported by browsers.
 ** The `fido2.cbor` module's `load_x` and `dump_x` functions have been made
    private (renamed with a leading underscore) and should not be used directly.
 ** Previously deprecated functions and APIs have been removed.
 ** The `__version__` attribute in `fido2/__init__.py` has been removed. Use
    `importlib.metadata.version('fido2')` to get the package version.
 ** Building the library now requires Poetry version 2.0 or later.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/security/py-fido2/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/py-fido2/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/security/py-fido2/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/py-fido2/Makefile
diff -u pkgsrc/security/py-fido2/Makefile:1.11 pkgsrc/security/py-fido2/Makefile:1.12
--- pkgsrc/security/py-fido2/Makefile:1.11      Tue Apr 22 12:43:36 2025
+++ pkgsrc/security/py-fido2/Makefile   Wed Aug 27 09:13:41 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2025/04/22 12:43:36 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2025/08/27 09:13:41 adam Exp $
 
-DISTNAME=      fido2-1.2.0
+DISTNAME=      fido2-2.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/fido2/}
@@ -10,11 +10,13 @@ HOMEPAGE=   https://developers.yubico.com/
 COMMENT=       Yubico FIDO U2F and FIDO 2.0 USB Python library
 LICENSE=       2-clause-bsd AND apache-2.0 AND mpl-2.0
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
-DEPENDS+=      ${PYPKGPREFIX}-cryptography>=0:../../security/py-cryptography
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=2.0:../../devel/py-poetry-core
+DEPENDS+=      ${PYPKGPREFIX}-cryptography>=2.6:../../security/py-cryptography
 # optional
 DEPENDS+=      ${PYPKGPREFIX}-scard>=2.0.0:../../devel/py-scard
 
+PYTHON_VERSIONS_INCOMPATIBLE=  39
+
 # as of 1.2.0
 # check fido2/hid/__init__.py for supported platforms
 BROKEN_ON_PLATFORM+=   SunOS-*-*

Index: pkgsrc/security/py-fido2/PLIST
diff -u pkgsrc/security/py-fido2/PLIST:1.3 pkgsrc/security/py-fido2/PLIST:1.4
--- pkgsrc/security/py-fido2/PLIST:1.3  Sat Oct 28 19:57:14 2023
+++ pkgsrc/security/py-fido2/PLIST      Wed Aug 27 09:13:41 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2023/10/28 19:57:14 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2025/08/27 09:13:41 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/COPYING
 ${PYSITELIB}/${WHEEL_INFODIR}/COPYING.APLv2
 ${PYSITELIB}/${WHEEL_INFODIR}/COPYING.MPLv2
@@ -32,9 +32,15 @@ ${PYSITELIB}/fido2/attestation/u2f.pyo
 ${PYSITELIB}/fido2/cbor.py
 ${PYSITELIB}/fido2/cbor.pyc
 ${PYSITELIB}/fido2/cbor.pyo
-${PYSITELIB}/fido2/client.py
-${PYSITELIB}/fido2/client.pyc
-${PYSITELIB}/fido2/client.pyo
+${PYSITELIB}/fido2/client/__init__.py
+${PYSITELIB}/fido2/client/__init__.pyc
+${PYSITELIB}/fido2/client/__init__.pyo
+${PYSITELIB}/fido2/client/win_api.py
+${PYSITELIB}/fido2/client/win_api.pyc
+${PYSITELIB}/fido2/client/win_api.pyo
+${PYSITELIB}/fido2/client/windows.py
+${PYSITELIB}/fido2/client/windows.pyc
+${PYSITELIB}/fido2/client/windows.pyo
 ${PYSITELIB}/fido2/cose.py
 ${PYSITELIB}/fido2/cose.pyc
 ${PYSITELIB}/fido2/cose.pyo
@@ -98,6 +104,9 @@ ${PYSITELIB}/fido2/hid/windows.pyo
 ${PYSITELIB}/fido2/mds3.py
 ${PYSITELIB}/fido2/mds3.pyc
 ${PYSITELIB}/fido2/mds3.pyo
+${PYSITELIB}/fido2/payment.py
+${PYSITELIB}/fido2/payment.pyc
+${PYSITELIB}/fido2/payment.pyo
 ${PYSITELIB}/fido2/pcsc.py
 ${PYSITELIB}/fido2/pcsc.pyc
 ${PYSITELIB}/fido2/pcsc.pyo
@@ -115,6 +124,3 @@ ${PYSITELIB}/fido2/utils.pyo
 ${PYSITELIB}/fido2/webauthn.py
 ${PYSITELIB}/fido2/webauthn.pyc
 ${PYSITELIB}/fido2/webauthn.pyo
-${PYSITELIB}/fido2/win_api.py
-${PYSITELIB}/fido2/win_api.pyc
-${PYSITELIB}/fido2/win_api.pyo

Index: pkgsrc/security/py-fido2/distinfo
diff -u pkgsrc/security/py-fido2/distinfo:1.9 pkgsrc/security/py-fido2/distinfo:1.10
--- pkgsrc/security/py-fido2/distinfo:1.9       Sat Jan 25 11:49:13 2025
+++ pkgsrc/security/py-fido2/distinfo   Wed Aug 27 09:13:41 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2025/01/25 11:49:13 adam Exp $
+$NetBSD: distinfo,v 1.10 2025/08/27 09:13:41 adam Exp $
 
-BLAKE2s (fido2-1.2.0.tar.gz) = d40b269b2a0b7d4f8fa4b3432556e805019ea81db130b23203e26a11a863e4e7
-SHA512 (fido2-1.2.0.tar.gz) = c9c7a47ed6608f2dcf06b38905708d64b85ca91ea2656b654474e3164a90b3feae36a0898cf984a4811f1f757e22d3c7ca3dad1ba909b6c8191e418b1a0f938c
-Size (fido2-1.2.0.tar.gz) = 266369 bytes
+BLAKE2s (fido2-2.0.0.tar.gz) = 8611b5bdfe4c0253a69c71a6cfc2c2acef4f7a9f075f9a4e859370cd9b3b3e10
+SHA512 (fido2-2.0.0.tar.gz) = 15640aae4a8aba8a4b7eec1c1da21dc52bd25f0759ff49f7b86609c1e15cf2150bf189b651e505a0042e0f05e554adec86dd0c42be71e9b4d9857d2883a15c1a
+Size (fido2-2.0.0.tar.gz) = 274942 bytes



Home | Main Index | Thread Index | Old Index