From 90ce2666ceeb438bb5354697eac1979d747d75df9527bb9d01d9e236abae03b4 Mon Sep 17 00:00:00 2001 From: Torsten Gruner Date: Mon, 1 Oct 2018 07:41:54 +0000 Subject: [PATCH] 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 --- libfido2-0.2.0.tar.gz | 3 --- libfido2-0.3.0.tar.gz | 3 +++ libfido2-0.3.0.tar.gz.sig | Bin 0 -> 310 bytes libfido2.changes | 23 +++++++++++++++++++++++ libfido2.spec | 30 +++++++++++++++++------------- 5 files changed, 43 insertions(+), 16 deletions(-) delete mode 100644 libfido2-0.2.0.tar.gz create mode 100644 libfido2-0.3.0.tar.gz create mode 100644 libfido2-0.3.0.tar.gz.sig diff --git a/libfido2-0.2.0.tar.gz b/libfido2-0.2.0.tar.gz deleted file mode 100644 index 0ad6b72..0000000 --- a/libfido2-0.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35fecb53f209a91acfd1c3854b13e5de14689045ff1036206e4eb0d3dcf5183d -size 73022 diff --git a/libfido2-0.3.0.tar.gz b/libfido2-0.3.0.tar.gz new file mode 100644 index 0000000..db17693 --- /dev/null +++ b/libfido2-0.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2aac25a6eeba7dfe5a34eb09e998930ae12222acf3007bbe25911f3af22b7c3 +size 91707 diff --git a/libfido2-0.3.0.tar.gz.sig b/libfido2-0.3.0.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..e7f04401027b730f596c44274d73e9889702b9610c1a4bc3ee413ea03c4468a9 GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j*@FiS`UK3-i6+ENQ+HL2w=uuTjF0$ZDri~tG=5Mwo| ztEf%yU zd-H{>boGKZi!ptNf;1ZrmKB$!ZL6T=8qn*Bw)fitE_^idXN?A}W{y0tS7^QgIkmWq z?y$8LqJE%cJdDSjaeq}Geg$*omE|$Yi~jN6-V$$Y_Xlo48xA%FIsbfL`fzt25#4)n zTKui95(WACjiM3Anwbq@&wzP#vl-!og;e44qFg}L`SeY#c2T%#TBBv>5%0|*i)g0* IjD!7b>g7C;_W%F@ literal 0 HcmV?d00001 diff --git a/libfido2.changes b/libfido2.changes index c1416b9..17b3426 100644 --- a/libfido2.changes +++ b/libfido2.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Oct 1 06:56:58 UTC 2018 - Karol Babioch + +- 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 2’s 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 diff --git a/libfido2.spec b/libfido2.spec index ca018fa..3f2277f 100644 --- a/libfido2.spec +++ b/libfido2.spec @@ -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-*