43 Commits

Author SHA256 Message Date
e649c9cd03 Accepting request 1294069 from devel:languages:python
- update to 2.0.0:
  * 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.
  * Add support for Persistent PinUvAuthToken and encIdentifier.
  * Add support for hmac-secret-mc and thirdPartyPayments
    exensions.
  * Add new GetInfo fields based on CTAP 2.2
  * Update COSE algorithnm types.
  * Building the library now requires Poetry version 2.0 or later.

OBS-URL: https://build.opensuse.org/request/show/1294069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=20
2025-07-17 15:19:25 +00:00
a3fbc3c055 fix requirements' pins
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=41
2025-07-17 09:24:07 +00:00
a4acd0d24e Accepting request 1293670 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 2.0.0

OBS-URL: https://build.opensuse.org/request/show/1293670
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=40
2025-07-17 09:21:16 +00:00
b76868cbd3 Accepting request 1236812 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1236812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=19
2025-01-12 10:20:45 +00:00
fdf2205bc5 Accepting request 1236219 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 1.2.0

OBS-URL: https://build.opensuse.org/request/show/1236219
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=38
2025-01-10 09:37:52 +00:00
23a60f09d2 Accepting request 1172492 from devel:languages:python
- update to 1.1.3:
  * Fix USB HID issue on MacOS that sometimes caused a pause
    while waiting for a timeout.
  * Fix argument to CredProp extension where an enum value
    was required instead of also allowing a string.
  * Fix parsing of some key types (ES384, ES512) causing
    signature verification to fail.
  * Deprecation: Calling websafe_decode with a bytes argument
    instead of str.
    This will raise a TypeError in the next major version of
    the library.

OBS-URL: https://build.opensuse.org/request/show/1172492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=18
2024-05-08 09:39:13 +00:00
0f12109b3f - update to 1.1.3:
* Fix USB HID issue on MacOS that sometimes caused a pause
    while waiting for a timeout.
  * Fix argument to CredProp extension where an enum value
    was required instead of also allowing a string.
  * Fix parsing of some key types (ES384, ES512) causing
    signature verification to fail.
  * Deprecation: Calling websafe_decode with a bytes argument
    instead of str.
    This will raise a TypeError in the next major version of
    the library.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=36
2024-05-07 16:27:58 +00:00
832bf778f6 Accepting request 1129174 from devel:languages:python
- update to 1.1.2:
  * Fix ClientPin usage for Authenticators that do not
    support passing a PIN.
  * Fix: Handle correct CTAP response codes in
    authenticatorSelection.

  * Client: Expose CTAP2 Info object as Fido2Client.info.
- Initial packaging of version 0.3.0

OBS-URL: https://build.opensuse.org/request/show/1129174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=17
2023-11-27 21:44:39 +00:00
cbd2b4775c - update to 1.1.2:
* Fix ClientPin usage for Authenticators that do not
    support passing a PIN.
  * Fix: Handle correct CTAP response codes in
    authenticatorSelection.
  * Client: Expose CTAP2 Info object as Fido2Client.info.
- Initial packaging of version 0.3.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=34
2023-11-27 15:40:44 +00:00
b0490405ed Accepting request 1096815 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1096815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=16
2023-07-05 13:30:53 +00:00
6a9692f9ff Accepting request 1096807 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1096807
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=32
2023-07-04 13:32:19 +00:00
59f3022170 Accepting request 1085558 from devel:languages:python
- update to 1.1.1:
  * Bugfix: Don't set length for largeBlob when offset is 0.
  * Bugfix: Remove print statement in webauthn parsing.

OBS-URL: https://build.opensuse.org/request/show/1085558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=15
2023-05-09 11:08:26 +00:00
8e0060fb9d - update to 1.1.1:
* Bugfix: Don't set length for largeBlob when offset is 0.
  * Bugfix: Remove print statement in webauthn parsing.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=30
2023-05-08 18:04:07 +00:00
85366b1a8a Accepting request 1043084 from devel:languages:python
- Remove python-six dependency
- More specific python_sitelib in %files

OBS-URL: https://build.opensuse.org/request/show/1043084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=14
2022-12-15 18:25:42 +00:00
f419dfd9db - Remove python-six dependency
- More specific python_sitelib in %files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=28
2022-12-15 09:49:09 +00:00
f7fb677792 Accepting request 1040395 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1040395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=13
2022-12-06 13:23:09 +00:00
a5ec55d87f Accepting request 1040193 from home:Simmphonie:branches:devel:languages:python
- drop python-fido2-no-mock.patch
- Update to version 1.1.0
  * Bugfix: Fix name of "crossOrigin" in CollectedClientData.create().
  * Bugfix: Some incorrect type hints in the MDS3 classes were fixed.
  * Stricter checking of dataclass field types.
  * Add support for JSON-serialization of WebAuthn data classes.
    This changes the objects dict representation to align with new additions in the
    WebAuthn specification. As this may break compatibility, the new behavior
    requires explicit opt-in until python-fido2 2.0 is released.
  * Update server example to use JSON serialization.
  * Server: Add support for passing RegistrationResponse/AuthenticationResponse (or
    their deserialized JSON data) to register_complete/authenticate_complete.
  * Add new "hybrid" AuthenticatorTransport.
  * Add new AuthenticatorData flags, and use 2-letter names as in the WebAuthn spec
    (long names are still available as aliases).
- version 1.0.0
  * Release Candidate 1 of first stable release.
  * Require Python 3.7 or later.
  * APIs have updated to align with WebAuthn level 2.
  * Several CTAP 2.1 features have been implemented.

OBS-URL: https://build.opensuse.org/request/show/1040193
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=26
2022-12-05 17:35:59 +00:00
ac9087dcdd Accepting request 963719 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/963719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=12
2022-03-23 19:15:43 +00:00
b3d43dbf07 Accepting request 963652 from home:pgajdos:python
- do not require mock for build
- added patches
  fix https://github.com/Yubico/python-fido2/issues/135
  + python-fido2-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/963652
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=24
2022-03-21 14:29:32 +00:00
7c8f914f35 Accepting request 946688 from devel:languages:python
- update to 0.9.3:
  * Don't fail device discovery when hidraw doesn't support HIDIOCGRAWUNIQ
  * Support the latest Windows webauthn.h API (included in Windows 11).
  * Add product name and serial number to HidDescriptors.
  * Remove the need for the uhid-freebsd dependency on FreeBSD.
- drop 0001-Don-t-use-enum.auto-Python-2.patch
       0001-Skip-tests-on-older-Cryptography-versions.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/946688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=11
2022-01-16 23:22:46 +00:00
f62aedd38c - update to 0.9.3:
* Don't fail device discovery when hidraw doesn't support HIDIOCGRAWUNIQ
  * Support the latest Windows webauthn.h API (included in Windows 11).
  * Add product name and serial number to HidDescriptors.
  * Remove the need for the uhid-freebsd dependency on FreeBSD.
- drop 0001-Don-t-use-enum.auto-Python-2.patch
       0001-Skip-tests-on-older-Cryptography-versions.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=23
2022-01-15 17:36:17 +00:00
e71a63c30d Accepting request 895354 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/895354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=10
2021-06-01 08:35:42 +00:00
039cc3c321 Accepting request 895340 from home:pgajdos:python
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/895340
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=21
2021-05-25 11:32:59 +00:00
2bac78f2aa Accepting request 891243 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/891243
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=9
2021-05-07 14:45:53 +00:00
8547c74878 Accepting request 891081 from home:susnux:branches:security
Update to version 0.9.1

OBS-URL: https://build.opensuse.org/request/show/891081
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=19
2021-05-07 09:05:53 +00:00
e116313c4a Accepting request 795826 from devel:languages:python
- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/795826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=8
2020-04-21 11:11:05 +00:00
Tomáš Chvátal
3378f90eb7 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=17
2020-04-20 12:42:46 +00:00
e5d9d7098d Accepting request 755092 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/755092
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=7
2019-12-09 20:35:13 +00:00
Karol Babioch
1a911980c5 Accepting request 755089 from home:kbabioch:branches:devel:languages:python
- Version 0.8.1 (released 2019-11-25)
  * Bugfix: WindowsClient.make_credential error when resident key requirement is unspecified.
- Version 0.8.0 (released 2019-11-25)
  * New fido2.webauthn classes modeled after the W3C WebAuthn spec introduced.
  * CTAP2 send_cbor/make_credential/get_assertion and U2fClient request/authenticate timeout arguments replaced with event used to cancel a request.
  * Fido2Client:
    - make_credential/get_assertion now take WebAuthn options objects.
    - timeout is now provided in ms in WebAuthn options objects. Event based cancelation also available by passing an Event.
  * Fido2Server:
    - ATTESTATION, USER_VERIFICATION, and AUTHENTICATOR_ATTACHMENT enums have been replaced with fido2.webauthn classes.
    - RelyingParty has been replaced with PublicKeyCredentialRpEntity, and name is no longer optional.
    - Options returned by register_begin/authenticate_begin now omit unspecified values if they are optional, instead of filling in default values.
    - Fido2Server.allowed_algorithms now contains a list of PublicKeyCredentialParameters instead of algorithm identifiers.
    - Fido2Server.timeout is now in ms and of type int.
  * Support native WebAuthn API on Windows through WindowsClient.
- Version 0.7.3 (released 2019-10-24)
  j Bugfix: Workaround for size of int on Python 2 on Windows.
- Version 0.7.2 (released 2019-10-24)
  * Support for the TPM attestation format.
  * Allow passing custom challenges to register/authenticate in Fido2Server.
  * Bugfix: CTAP2 CANCEL command response handling fixed.
  * Bugfix: Fido2Client fix handling of empty allow_list.
  * Bugfix: Fix typo in CTAP2.get_assertions() causing it to fail.
- Version 0.7.1 (released 2019-09-20)
  * Support for FreeBSD.
  * Enforce canonical CBOR on Authenticator responses by default.
  * PCSC: Support extended APDUs.
  * Server: Verify that UP flag is set.
  * U2FFido2Server: Implement AppID exclusion extension.
  * U2FFido2Server: Allow custom U2F facet verification.

OBS-URL: https://build.opensuse.org/request/show/755089
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=15
2019-12-08 23:09:53 +00:00
8ddc44d1c4 Accepting request 710380 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/710380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=6
2019-06-17 19:35:01 +00:00
Karol Babioch
4b12bc1022 Accepting request 710379 from home:kbabioch:branches:devel:languages:python
* Version 0.7.0 (released 2019-06-17)
  * Add support for NFC devices using PCSC.
  * Add support for the hmac-secret Authenticator extension.
  * Honor max credential ID length and number of credentials to Authenticator.
  * Add close() method to CTAP devices to explicitly release their resources.

OBS-URL: https://build.opensuse.org/request/show/710379
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=13
2019-06-17 15:29:52 +00:00
c7c9df7086 Accepting request 706153 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/706153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=5
2019-06-01 07:51:35 +00:00
Karol Babioch
ec66dbbb6e Accepting request 706152 from home:kbabioch:branches:devel:languages:python
- Version 0.6.0 (released 2019-05-10)
  * Don't fail if CTAP2 Info contains unknown fields.
  * Replace cbor loads/dumps functions with encode/decode/decode_from.
  * Server: Add support for AuthenticatorAttachment.
  * Server: Add support for more key algorithms.
  * Client: Expose CTAP2 Info object as Fido2Client.info. 
- Changed source URL to official release tarball
- Verifying signature of release tarball

OBS-URL: https://build.opensuse.org/request/show/706152
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=11
2019-05-28 21:51:46 +00:00
a8f06c7822 Accepting request 660557 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/660557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=4
2018-12-24 10:47:15 +00:00
Karol Babioch
293ad03935 Accepting request 660556 from home:kbabioch:branches:devel:languages:python
- Version 0.5.0 (released 2018-12-21)
  * Changes to server classes, some backwards breaking.
  * Add ability to authenticate U2F credentials by using the appid extension.
  * Make verification of attestation more explicit.
  * Add support for Android SafetyNet attestation.
  * Make it easier to work with U2F/CTAP1 data formats.

OBS-URL: https://build.opensuse.org/request/show/660556
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=9
2018-12-21 14:07:34 +00:00
053bbcb105 Accepting request 654052 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/654052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=3
2018-12-13 18:44:25 +00:00
26cd2b1315 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=7
2018-12-04 13:27:12 +00:00
3dda45bc81 Accepting request 638846 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/638846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=2
2018-10-01 06:18:00 +00:00
Karol Babioch
9c92660a36 Accepting request 638845 from home:kbabioch:branches:devel:languages:python
- Version 0.4.0 (released 2018-09-27)
  - Add classes for implementing a server.
  - Various small changes, some affecting backwards compatibility.

OBS-URL: https://build.opensuse.org/request/show/638845
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=5
2018-09-27 19:15:01 +00:00
1371e56654 Accepting request 600090 from devel:languages:python
fix licenses

OBS-URL: https://build.opensuse.org/request/show/600090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fido2?expand=0&rev=1
2018-04-26 11:38:15 +00:00
Karol Babioch
58edd29c10 Accepting request 600089 from home:kbabioch:branches:devel:languages:python
license fix

OBS-URL: https://build.opensuse.org/request/show/600089
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=3
2018-04-23 14:46:36 +00:00
Tomáš Chvátal
44b69f122d Accepting request 599652 from home:jengelh:branches:devel:languages:python
- Update descriptions.

OBS-URL: https://build.opensuse.org/request/show/599652
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=2
2018-04-22 08:42:59 +00:00
Tomáš Chvátal
94eabdd1de Accepting request 599171 from home:kbabioch
next attempt ;), still requires pyfakefs

OBS-URL: https://build.opensuse.org/request/show/599171
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fido2?expand=0&rev=1
2018-04-20 08:02:47 +00:00