SHA256
1
0
forked from pool/libfido2

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