Accepting request 918925 from home:pperego:branches:security

- Update to version 1.8.0:
    * Dropped 'Requires.private' entry from pkg-config file.
	* Better support for FIDO 2.1 authenticators.
	* Support for Windows's native webauthn API.
	* Support for attestation format 'none'.
	* New API calls:
		- fido_assert_set_clientdata;
		- fido_cbor_info_algorithm_cose;
		- fido_cbor_info_algorithm_count;
		- fido_cbor_info_algorithm_type;
		- fido_cbor_info_transports_len;
		- fido_cbor_info_transports_ptr;
		- fido_cred_set_clientdata;
		- fido_cred_set_id;
		- fido_credman_set_dev_rk;
		- fido_dev_is_winhello.
	* fido2-token: new -Sc option to update a resident credential.
	* Documentation and reliability fixes.
	* HID access serialisation on Linux.

OBS-URL: https://build.opensuse.org/request/show/918925
OBS-URL: https://build.opensuse.org/package/show/security/libfido2?expand=0&rev=41
This commit is contained in:
Marcus Meissner 2021-09-21 08:14:33 +00:00 committed by Git OBS Bridge
parent 1009717eca
commit aeffde525b
7 changed files with 34 additions and 25 deletions

View File

@ -1,13 +0,0 @@
diff -Nur libfido2-1.7.0/src/CMakeLists.txt new/src/CMakeLists.txt
--- libfido2-1.7.0/src/CMakeLists.txt 2021-03-29 17:28:56.000000000 +0200
+++ new/src/CMakeLists.txt 2021-04-17 04:08:16.614325721 +0200
@@ -45,6 +45,9 @@
if(USE_HIDAPI)
list(APPEND FIDO_SOURCES hid_hidapi.c)
+ if(NOT WIN32 AND NOT APPLE)
+ list(APPEND FIDO_SOURCES hid_unix.c)
+ endif()
elseif(WIN32)
list(APPEND FIDO_SOURCES hid_win.c)
elseif(APPLE)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:116749b2a6c95f6559439494fcebdbe803dff14037017ad239843c84c59d708e
size 517426

Binary file not shown.

3
libfido2-1.8.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:554291188f24ab595cb947f9d2b6ec40ce5afe39d9257c1e2cd0bdef8bf7fd1d
size 535947

BIN
libfido2-1.8.0.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Tue Sep 14 13:49:56 UTC 2021 - Paolo Perego <paolo.perego@suse.com>
- Update to version 1.8.0:
* Dropped 'Requires.private' entry from pkg-config file.
* Better support for FIDO 2.1 authenticators.
* Support for Windows's native webauthn API.
* Support for attestation format 'none'.
* New API calls:
- fido_assert_set_clientdata;
- fido_cbor_info_algorithm_cose;
- fido_cbor_info_algorithm_count;
- fido_cbor_info_algorithm_type;
- fido_cbor_info_transports_len;
- fido_cbor_info_transports_ptr;
- fido_cred_set_clientdata;
- fido_cred_set_id;
- fido_credman_set_dev_rk;
- fido_dev_is_winhello.
* fido2-token: new -Sc option to update a resident credential.
* Documentation and reliability fixes.
* HID access serialisation on Linux.
-------------------------------------------------------------------
Sat Apr 17 01:41:49 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -18,7 +18,7 @@
%define sover 1
Name: libfido2
Version: 1.7.0
Version: 1.8.0
Release: 0
Summary: FIDO U2F and FIDO 2.0 protocols
License: BSD-2-Clause
@ -27,7 +27,7 @@ URL: https://developers.yubico.com/
Source0: https://developers.yubico.com/libfido2/Releases/%{name}-%{version}.tar.gz
Source1: https://developers.yubico.com/libfido2/Releases/%{name}-%{version}.tar.gz.sig
# PATCH-FIX-UPSTREAM fix-cmake-linking.patch -- Fix linking when building with hidapi, gh#323
Patch0: fix-cmake-linking.patch
# Patch0: fix-cmake-linking.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libopenssl-1_1-devel
@ -44,7 +44,6 @@ over USB as well as verifying attestation and assertion signatures.
%package -n %{name}-%{sover}
Summary: FIDO U2F and FIDO 2.0 protocols
Requires: %{name}-udev
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
@ -73,11 +72,11 @@ Conflicts: libfido2-1_0_0
%description -n %{name}-utils
This package contains utilities to use FIDO U2F and FIDO 2.0 protocols.
%package udev
%package -n %{name}-udev
Summary: Udev rules for libfido2
BuildArch: noarch
%description udev
%description -n %{name}-udev
This package contains the udev rules for FIDO2 compatible devices.
%prep