Up to [cvs.NetBSD.org] / pkgsrc / security / libfido2
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for libcbor 0.15.0
libfido2: updated to 1.17.0 1.17.0 (2026-04-15) ** Added CTAP 2.3 support. ** Restrict webauthn.dll search paths; YSA-2026-01. ** Support application-managed PIN/UV Auth tokens. ** Support 64-byte hmac-secret salts when using windows://hello. ** Fixed a U2F transaction handling bug when a timeout had been set. ** Fixed a bug where stdin was closed on fido_nl_new failure. ** fido2-token: new -G -t mode to to retrieve a PPUAT. ** fido2-token: new -I -t mode for deciphering encrypted fields. ** fido2-cred -M: support the -t toggle argument ** Improved documentation and examples. ** Removed tools from SDK packaging on Windows. ** New API calls: - fido_cbor_info_attfmts_len; - fido_cbor_info_attfmts_ptr; - fido_cbor_info_cfgcmds_len; - fido_cbor_info_cfgcmds_ptr; - fido_cbor_info_decrypt; - fido_cbor_info_encid_len; - fido_cbor_info_encid_ptr; - fido_cbor_info_encstate_len; - fido_cbor_info_encstate_ptr; - fido_cbor_info_id_len; - fido_cbor_info_id_ptr; - fido_cbor_info_long_touch_reset; - fido_cbor_info_maxpinlen; - fido_cbor_info_pin_policy; - fido_cbor_info_pin_policy_url_len; - fido_cbor_info_pin_policy_url_ptr; - fido_cbor_info_reset_transports_len; - fido_cbor_info_reset_transports_ptr; - fido_cbor_info_state_len; - fido_cbor_info_state_ptr; - fido_cbor_info_uv_count_since_pin; - fido_cred_hmac_secret_len; - fido_cred_hmac_secret_ptr; - fido_cred_payment; - fido_cred_set_hmac_salt; - fido_cred_set_hmac_secret; - fido_dev_get_puat; - fido_dev_get_uv_retry_count; - fido_dev_puat_len; - fido_dev_puat_ptr; - fido_dev_set_puat.
libfido2: updated to 1.16.0 Version 1.16.0 (2025-05-06) * Added support for enterprise attestation. * Improved handling of invalid key handles in U2F key lookup. * Fixed issue where storing small CTAP 2.1 largeBlobs failed. * Fixed APDU chaining issues for certain authenticators. * Improved documentation and examples. * New API calls: - fido_cred_entattest; - fido_cred_set_entattest.
*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS
libfido2: updated to 1.15.0 Version 1.15.0 (2024-06-13) 1.15.0 will be the last release to support OpenSSL 1.1. bio, credman: improved CTAP 2.1 support. hid_osx: fix issue where fido_hid_read() may block unnecessarily. fido2-token -I: print maxcredbloblen. hid_linux: improved support for uhid devices. New API calls: fido_cred_set_attobj; fido_cred_x5c_list_count; fido_cred_x5c_list_len; fido_cred_x5c_list_ptr.
Pullup ticket #6838 - requested by riastradh
security/libfido2: NetBSD build fix
security/libfido2: Fix NetBSD support (PR 57919) by not patching
away -Werror in a critical place where the build system relies on
it to detect whether ioctl argument is int or long. When the build
system infers the wrong answer, it builds a libfido2 that doesn't
work on NetBSD because it sends the wrong (sign-extended) ioctl
commands to the kernel for USB stuff.
Revisions pulled up:
- security/libfido2/Makefile 1.14
- security/libfido2/distinfo 1.11
- security/libfido2/patches/patch-CMakeLists.txt 1.2
---
Module Name: pkgsrc
Committed By: riastradh
Date: Sat Feb 10 03:10:53 UTC 2024
Modified Files:
pkgsrc/security/libfido2: Makefile distinfo
pkgsrc/security/libfido2/patches: patch-CMakeLists.txt
Log Message:
security/libfido2: Fix NetBSD build, PR pkg/57919.
Patching away -Werror may be reasonable in general, but in this case
it breaks libfido2's detection of whether ioctl takes int or unsigned
long on NetBSD -- without -Werror, it wrongly concludes int, and
proceeds to build a libfido2 that casts every ioctl command to int
first, which leads to sign extension, which leads to the wrong ioctls
being passed into the kernel, which leads libfido2 to fail in any
attempts to open fido devices on NetBSD.
security/libfido2: Fix NetBSD build, PR pkg/57919. Patching away -Werror may be reasonable in general, but in this case it breaks libfido2's detection of whether ioctl takes int or unsigned long on NetBSD -- without -Werror, it wrongly concludes int, and proceeds to build a libfido2 that casts every ioctl command to int first, which leads to sign extension, which leads to the wrong ioctls being passed into the kernel, which leads libfido2 to fail in any attempts to open fido devices on NetBSD.
libfido2: updated to 1.14.0 Version 1.14.0 (2023-11-13) fido2-cred -M, fido2-token -G: support raw client data via -w flag. winhello: support U2F AppID extension for assertions. winhello: fix restrictive parsing of the hmac-secret on assertions. winhello: translate NTE_USER_CANCELLED to FIDO_ERR_OPERATION_DENIED. New API calls: fido_assert_authdata_raw_len; fido_assert_authdata_raw_ptr; fido_assert_set_winhello_appid.
libfido2: Re-enable builds for SunOS.
security/libfido2: Mark BROKEN_EXCEPT_ON_PLATFORM Upstream has (ignoring Windows) explicit code for 6 platforms, covering most pkgsrc usage except SunOS. Because it ought to build on systems that can support usbhid (and upstream even has an option to disable usbhid), not building is BROKEN rather than ONLY_FOR. Tested to build and pass tests on NetBSD 10 amd64.
*: bump for openssl 3
libfido2: needs mandoc
libfido2: Requires udev on Linux.
libfido2: updated to 1.13.0 Version 1.13.0 (2023-02-20) ** Support for linking against OpenSSL on Windows. ** New API calls: - fido_assert_empty_allow_list; - fido_cred_empty_exclude_list. ** fido2-token: fix issue when listing large blobs. ** Improved support for different fuzzing engines. Version 1.12.0 (2022-09-22) ** Support for COSE_ES384. ** Support for hidraw(4) on FreeBSD. ** Improved support for FIDO 2.1 authenticators. ** New API calls: - es384_pk_free; - es384_pk_from_EC_KEY; - es384_pk_from_EVP_PKEY; - es384_pk_from_ptr; - es384_pk_new; - es384_pk_to_EVP_PKEY; - fido_cbor_info_certs_len; - fido_cbor_info_certs_name_ptr; - fido_cbor_info_certs_value_ptr; - fido_cbor_info_maxrpid_minpinlen; - fido_cbor_info_minpinlen; - fido_cbor_info_new_pin_required; - fido_cbor_info_rk_remaining; - fido_cbor_info_uv_attempts; - fido_cbor_info_uv_modality. ** Documentation and reliability fixes.
libfido2: updated to 1.11.0 Version 1.11.0 (2022-05-03) ** Experimental PCSC support; enable with -DUSE_PCSC. ** Improved OpenSSL 3.0 compatibility. ** Use RFC1951 raw deflate to compress CTAP 2.1 largeBlobs. ** winhello: advertise "uv" instead of "clientPin". ** winhello: support hmac-secret in fido_dev_get_assert(). ** New API calls: - fido_cbor_info_maxlargeblob. ** Documentation and reliability fixes. ** Separate build and regress targets.
libfido2: needs pkg-config
libfido2: update to 1.10.0 Major changes include: - Upstreamed NetBSD support - NFC on Linux - OpenSSL 3 compatibility
security/libfido2: Restore NetBSD support.
libfido2: update to 1.5.0
pkgsrc: also bump bl3 for libcbor solib version change.
hid_linux: return FIDO_OK if no devices are found.
hid_osx:
repair communication with U2F tokens, gh#166; reliability fixes.
fido2-{assert,cred}: new options to explicitly toggle UP, UV.
Support for configurable report lengths.
New API calls:
fido_cbor_info_maxcredcntlst;
fido_cbor_info_maxcredidlen;
fido_cred_aaguid_len;
fido_cred_aaguid_ptr;
fido_dev_get_touch_begin;
fido_dev_get_touch_status.
Use COSE_ECDH_ES256 with CTAP_CBOR_CLIENT_PIN; gh#154.
Allow CTAP messages up to 2048 bytes; gh#171.
Ensure we only list USB devices by default.
Import libfido2-1.4.0 as security/libfido2 libfido2 is Yubico's C library and command-line tools for U2F/FIDO.