commit 86f74db5d03fd4f0ae9a5c240b268114c959fcfc3563aff56b808c2b6c01a3d4 Author: Marcus Meissner Date: Fri Aug 3 12:13:38 2018 +0000 Accepting request 627325 from home:Simmphonie:yubico - Version 0.2.0 (released 2018-06-20) - Added command-line tools. - Added a couple of missing get functions. - Version 0.1.1 (released 2018-06-05) - Added documentation. - Added OpenSSL 1.0 support. - Minor fixes. - update to version 0.1.0 - Initial release version 0_git OBS-URL: https://build.opensuse.org/request/show/627325 OBS-URL: https://build.opensuse.org/package/show/security/libfido2?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libfido2-0.2.0.tar.gz b/libfido2-0.2.0.tar.gz new file mode 100644 index 0000000..0ad6b72 --- /dev/null +++ b/libfido2-0.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35fecb53f209a91acfd1c3854b13e5de14689045ff1036206e4eb0d3dcf5183d +size 73022 diff --git a/libfido2.changes b/libfido2.changes new file mode 100644 index 0000000..e9adf2f --- /dev/null +++ b/libfido2.changes @@ -0,0 +1,22 @@ +------------------------------------------------------------------- +Thu Jun 21 08:51:47 UTC 2018 - t.gruner@katodev.de + +- Version 0.2.0 (released 2018-06-20) + - Added command-line tools. + - Added a couple of missing get functions. + +- Version 0.1.1 (released 2018-06-05) + - Added documentation. + - Added OpenSSL 1.0 support. + - Minor fixes. + +------------------------------------------------------------------- +Sun May 27 20:10:41 UTC 2018 - t.gruner@katodev.de + +- update to version 0.1.0 + +------------------------------------------------------------------- +Mon Apr 30 20:03:20 UTC 2018 - t.gruner@katodev.de + +- Initial release version 0_git + diff --git a/libfido2.spec b/libfido2.spec new file mode 100644 index 0000000..800a1cf --- /dev/null +++ b/libfido2.spec @@ -0,0 +1,87 @@ +# +# spec file for package libu2f-host +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + + +%define sover 0_2_0 +Name: libfido2 +Version: 0.2.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 +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: libopenssl-1_1-devel +BuildRequires: pkg-config +BuildRequires: pkgconfig(libcbor) +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Provides library functionality for communicating with a FIDO device over USB as well as verifying attestation and assertion signatures. + +%package -n %{name}-%{sover} +Summary: FIDO U2F and FIDO 2.0 protocols +Group: Productivity/Networking/Security + +%description -n %{name}-%{sover} +This library aims to support the FIDO U2F and FIDO 2.0 protocols for communicating with a USB authenticator via the Client-to-Authenticator Protocol (CTAP 1 and 2). + +%package -n %{name}-devel +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 + +%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 + +%build +%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCBOR_LIBRARY_DIRS=%{_libdir} +make %{?_smp_mflags} + +%install +pushd build +%make_install +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 +%{_libdir}/%{name}.so.* +%{_mandir}/man?/* +%{_bindir}/fido2-* + +%files -n %{name}-devel +%{_includedir}/*.h +%dir %{_includedir}/fido +%{_includedir}/fido/*.h +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/* + +%changelog