Accepting request 808665 from home:namtrac:branches:security

- Update to version 1.4.0
  * hid_hidapi: hidapi backend; enable with -DUSE_HIDAPI=1.
  * Fall back to U2F if the key claims to, but does not support FIDO2.
  * FIDO2 credential protection (credprot) support.
  * New API calls:
    + fido_cbor_info_fwversion;
    + fido_cred_prot;
    + fido_cred_set_prot;
    + fido_dev_set_transport_functions;
    + fido_set_log_handler.
  * Fixed EdDSA and RSA self-attestation.

OBS-URL: https://build.opensuse.org/request/show/808665
OBS-URL: https://build.opensuse.org/package/show/security/libfido2?expand=0&rev=24
This commit is contained in:
Torsten Gruner 2020-05-25 18:52:35 +00:00 committed by Git OBS Bridge
parent ed3718c880
commit dd8e3c6409
6 changed files with 28 additions and 11 deletions

View File

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

Binary file not shown.

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

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

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

Binary file not shown.

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon May 25 08:11:27 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
- Update to version 1.4.0
* hid_hidapi: hidapi backend; enable with -DUSE_HIDAPI=1.
* Fall back to U2F if the key claims to, but does not support FIDO2.
* FIDO2 credential protection (credprot) support.
* New API calls:
+ fido_cbor_info_fwversion;
+ fido_cred_prot;
+ fido_cred_set_prot;
+ fido_dev_set_transport_functions;
+ fido_set_log_handler.
* Fixed EdDSA and RSA self-attestation.
-------------------------------------------------------------------
Sun Mar 1 00:28:37 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package libfido2
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define sover 1
Name: libfido2
Version: 1.3.1
Version: 1.4.0
Release: 0
Summary: FIDO U2F and FIDO 2.0 protocols
License: BSD-2-Clause
@ -30,6 +30,7 @@ BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libhidapi-devel
BuildRequires: libopenssl-1_1-devel
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libcbor)
@ -72,13 +73,15 @@ This package contains utilities to use FIDO U2F and FIDO 2.0 protocols.
%setup -q
%build
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCBOR_LIBRARY_DIRS=%{_libdir} -DCMAKE_BUILD_TYPE=Release
make %{?_smp_mflags}
%define __builder ninja
%cmake \
-DCBOR_LIBRARY_DIRS=%{_libdir} \
-DUSE_HIDAPI=1
%cmake_build
%install
pushd build
%make_install
popd
%cmake_install
find %{buildroot} -type f -name "*.a" -delete -print
%post -n %{name}-%{sover} -p /sbin/ldconfig
@ -88,7 +91,6 @@ find %{buildroot} -type f -name "*.a" -delete -print
%license LICENSE
%doc README.adoc
%{_libdir}/%{name}.so.*
%{_libdir}/libsk-libfido2.so
%files -n %{name}-devel
%{_includedir}/*.h