18 Commits

Author SHA256 Message Date
7f5c02746f - 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
7edadb9e79 - 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
cb5b659f90 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
539977f364 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
1514a29b53 - 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
41feda4bf0 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
7f457c695e 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
Tomáš Chvátal
3c9fca6fef - 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
Karol Babioch
653ce2a178 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
Karol Babioch
9f170fa4ae 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
Karol Babioch
c713ede171 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
Karol Babioch
2b98c28c7d 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
4b18a483a1 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
Karol Babioch
3bdb6b1383 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
Dominique Leuenberger
062bea5056 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
0cfe784697 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
3244467405 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
4ddf1d07d3 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