Accepting request 639314 from home:kbabioch:branches:security

OBS-URL: https://build.opensuse.org/request/show/639314
OBS-URL: https://build.opensuse.org/package/show/security/libfido2?expand=0&rev=3
This commit is contained in:
Torsten Gruner 2018-10-01 07:41:54 +00:00 committed by Git OBS Bridge
parent cad1492801
commit 90ce2666ce
5 changed files with 43 additions and 16 deletions

View File

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

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

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

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

Binary file not shown.

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Oct 1 06:56:58 UTC 2018 - Karol Babioch <kbabioch@suse.com>
- Applied spec-cleaner
-------------------------------------------------------------------
Sun Sep 30 08:41:05 UTC 2018 - t.gruner@katodev.de
- Build package without regression tests
- Version 0.3.0 (released 2018-09-11)
- Various reliability fixes.
- Merged fuzzing instrumentation.
- Added regress tests.
- Added support for FIDO 2s hmac-secret extension.
- New API calls:
* fido_assert_hmac_secret_len;
* fido_assert_hmac_secret_ptr;
* fido_assert_set_extensions;
* fido_assert_set_hmac_salt;
* fido_cred_set_extensions;
* fido_dev_force_fido2.
- Support for native builds with Microsoft Visual Studio 17.
-------------------------------------------------------------------
Fri Sep 28 19:05:32 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,5 +1,5 @@
#
# spec file for package libu2f-host
# spec file for package libfido2
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
@ -12,26 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sover 0_2_0
%define sover 0_3_0
Name: libfido2
Version: 0.2.0
Version: 0.3.0
Release: 0
Summary: FIDO U2F and FIDO 2.0 protocols
License: BSD-2-Clause
Group: Productivity/Networking/Security
Url: https://github.com/Yubico/libfido2
Source0: https://github.com/Yubico/libfido2/archive/%{version}.tar.gz#/libfido2-%{version}.tar.gz
BuildRequires: libhidapi-devel
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
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libhidapi-devel
BuildRequires: libopenssl-1_1-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libcbor)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Provides library functionality for communicating with a FIDO device
@ -40,6 +40,8 @@ over USB as well as verifying attestation and assertion signatures.
%package -n %{name}-%{sover}
Summary: FIDO U2F and FIDO 2.0 protocols
Group: System/Libraries
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
%description -n %{name}-%{sover}
This library supports the FIDO U2F and FIDO 2.0 protocols for
@ -50,15 +52,17 @@ Client-to-Authenticator Protocol (CTAP 1 and 2).
Summary: Development files for FIDO U2F and FIDO 2.0 protocols
Group: Development/Libraries/C and C++
Requires: %{name}-%{sover} = %{version}
Requires: libopenssl-1_1-devel
Requires: libhidapi-devel
Requires: libopenssl-1_1-devel
%description -n %{name}-devel
This package contains the header file needed to develop applications that
use FIDO U2F and FIDO 2.0 protocols.
%prep
%setup -q
%setup -q
# Without regression test
sed -i "s|subdirs(regress)|# subdirs(regress)|" CMakeLists.txt
%build
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCBOR_LIBRARY_DIRS=%{_libdir}
@ -71,11 +75,11 @@ popd
find %{buildroot} -type f -name "*.a" -delete -print
%post -n %{name}-%{sover} -p /sbin/ldconfig
%postun -n %{name}-%{sover} -p /sbin/ldconfig
%files -n %{name}-%{sover}
%doc README.adoc LICENSE
%license LICENSE
%doc README.adoc
%{_libdir}/%{name}.so.*
%{_mandir}/man?/*
%{_bindir}/fido2-*