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 0000000..e7f0440 Binary files /dev/null and b/libfido2-0.3.0.tar.gz.sig differ 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-*