Use gpgverify macro and ascii armored yubico release keys

This commit is contained in:
Gary Buhrmaster 2020-12-17 17:01:58 +00:00
parent 47d558941f
commit 91454f2858
6 changed files with 4428 additions and 3 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/libfido2-1.3.1.tar.gz
/libfido2-1.4.0.tar.gz
/libfido2-1.5.0.tar.gz
/libfido2-1.5.0.tar.gz.sig

Binary file not shown.

View File

@ -1,14 +1,14 @@
Name: libfido2
Version: 1.5.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: FIDO2 library
License: BSD
URL: https://github.com/Yubico/%{name}
Source0: https://developers.yubico.com/%{name}/Releases/%{name}-%{version}.tar.gz
Source1: https://developers.yubico.com/%{name}/Releases/%{name}-%{version}.tar.gz.sig
Source2: gpgkey-7FBB6186957496D58C751AC20E777DD85755AA4A.gpg
Source2: yubico-release-gpgkeys.asc
#
# Upstream patch for building on 32-bit platforms
#
@ -60,7 +60,7 @@ authentication device.
%prep
gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup -p1 -n %{name}-%{version}
@ -92,6 +92,9 @@ find %{buildroot} -type f -name "*.a" -delete -print
%changelog
* Thu Dec 17 2020 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.5.0-4
- Use gpgverify macro and ascii armored yubico release keys
* Wed Nov 04 2020 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.5.0-3
- add BR make
- fix typo in changelog day (Tuu -> Thu) to make rpmlint happy

View File

@ -1 +1,2 @@
SHA512 (libfido2-1.5.0.tar.gz.sig) = 8d99183635d95f4e3a5e4132272a317e1bb622f338909ed18a5cf6fa61facb0a9348e4751a4f9b616863dee6585e0f6301ed490c59922d532f936611bc39098e
SHA512 (libfido2-1.5.0.tar.gz) = 240e2368e43846fddf5e98bbcc247468833565bcde4ec27976b88c814d787f1a477241a82b064818aa0eb0a98ff46a65d80b8243f4d0bbd763270e42492354e2

4420
yubico-release-gpgkeys.asc Normal file

File diff suppressed because it is too large Load Diff