Subject: CVS commit: pkgsrc/security/py-fido2
From: Thomas Klausner
Date: 2023-03-12 15:01:04
Message id: 20230312140104.B568DFA90@cvs.NetBSD.org

Log Message:
py-fido2: update to 1.1.0.

NetBSD support by riastradh@, thanks!

Version 1.1.0 (released 2022-10-17)

    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 (released 2022-06-08)

    First stable release.

Version 1.0.0rc1 (released 2022-05-02)

    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.

Version 0.9.3 (released 2021-11-09)

    Bugfix: Linux - Don't fail device discovery when hidraw doesn't support \ 
HIDIOCGRAWUNIQ (Linux kernels before 5.6).

Version 0.9.2 (released 2021-10-14)

    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.

Version 0.9.1 (released 2021-02-03)

    Add new CTAP error codes and improve handling of unknown codes.

Version 0.9.0 (released 2021-01-20)

WARNING: Backwards-incompatible changes!

    Server: Attestation is now done in two parts (to align better with the spec):
    First, type-specific validation is done to provide a trust chain.
    Second, validation of the trust chain is done.
    Client: API changes to better support extensions.
        Fido2Client can be configured with Ctap2Extensions to support.
        Client.make_credential now returns a AuthenticatorAttestationResponse,
        which holds the AttestationObject and ClientData, as well as any client
        extension results for the credential.
        Client.get_assertion now returns an AssertionSelection object, which is
        used to select between multiple assertions, resulting in an
        AuthenticatorAssertionResponse, which holds the ClientData, assertion
        values, as well as any client extension results for the assertion.
    Renames: The CTAP1 and CTAP2 classes have been renamed to Ctap1 and Ctap2,
    respectively. The old names currently work, but will be removed in the
    future.
    ClientPin: The ClientPin API has been restructured to support multiple PIN
    protocols, UV tokens, and token permissions.
    CTAP 2.1 PRE: Several new features have been added for CTAP 2.1, including
    Credential Management, Bio Enrollment, Large Blobs, and Authenticator Config.
    HID: The platform specific HID code has been revamped and cleaned up.

Files:
RevisionActionfile
1.5modifypkgsrc/security/py-fido2/Makefile
1.2modifypkgsrc/security/py-fido2/PLIST
1.5modifypkgsrc/security/py-fido2/distinfo
1.1addpkgsrc/security/py-fido2/patches/patch-fido2_hid_____init____.py
1.1addpkgsrc/security/py-fido2/patches/patch-fido2_hid_netbsd.py
1.1removepkgsrc/security/py-fido2/patches/patch-fido2___pyu2f_____init____.py
1.2removepkgsrc/security/py-fido2/patches/patch-fido2___pyu2f_netbsd.py