From ad426baa872b2f19c05d1cf292099cb7b8c7d5eb343321617104458b2fb9a8ce Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Wed, 9 Jan 2013 17:27:37 +0000 Subject: [PATCH] - Verify GPG signature. OBS-URL: https://build.opensuse.org/package/show/security:chipcard/pcsc-ccid?expand=0&rev=36 --- ccid-1.4.8.tar.bz2.asc | 7 +++++++ pcsc-ccid.changes | 5 +++++ pcsc-ccid.keyring | 32 ++++++++++++++++++++++++++++++++ pcsc-ccid.spec | 10 +++++++++- 4 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 ccid-1.4.8.tar.bz2.asc create mode 100644 pcsc-ccid.keyring diff --git a/ccid-1.4.8.tar.bz2.asc b/ccid-1.4.8.tar.bz2.asc new file mode 100644 index 0000000..c3e60de --- /dev/null +++ b/ccid-1.4.8.tar.bz2.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iEYEABECAAYFAlBxbuoACgkQP0qKj+B/HPk54wCfcVpjonm2Qz2r8H1SYevGzf3M +RnMAnjmTMwOf75xLFljxT0rIQ3042BrL +=v3ou +-----END PGP SIGNATURE----- diff --git a/pcsc-ccid.changes b/pcsc-ccid.changes index 394d10e..ab73ad5 100644 --- a/pcsc-ccid.changes +++ b/pcsc-ccid.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 9 18:27:19 CET 2013 - sbrabec@suse.cz + +- Verify GPG signature. + ------------------------------------------------------------------- Thu Oct 18 09:06:54 UTC 2012 - fcrozat@suse.com diff --git a/pcsc-ccid.keyring b/pcsc-ccid.keyring new file mode 100644 index 0000000..f35fed4 --- /dev/null +++ b/pcsc-ccid.keyring @@ -0,0 +1,32 @@ +pub 1024D/E07F1CF9 2001-03-05 +uid Ludovic Rousseau +uid Ludovic Rousseau +sub 1024g/D5338005 2001-03-05 + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v2.0.19 (GNU/Lin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LKtSFkN+T8kO9v5OKp69IO+jaIRr8yuDP5Yil +dTVzpLehIsIStHwMfTxwjfT7sWojw8cAAwUD/ixrQdahUCx6DC0u+GCC4f5XvNmu +NEdYrY2/KqAKsS2nWD/EZPadvIGga/jIU1HLQYfUD4meDDol+dBXb7yXN/LZojh4 +lQ4z63iZXyuMTI3i4ZNKx/9D1Z18Lk6/e0yDoqIb2jLvCejZEBUVnRl7oyIQxWPw +TBgmA1dKkTKX6k3AiE4EGBECAAYFAjqkC1wAEgkQP0qKj+B/HPkHZUdQRwABARYd +AKCXbqMkNr5QNdPi37LtspMzCHlvoACgknJVGCR6Fmz7s1wL38ZLkcqYgsM= +=ItMa +-----END PGP PUBLIC KEY BLOCK----- diff --git a/pcsc-ccid.spec b/pcsc-ccid.spec index 8fb359c..55dc3e9 100644 --- a/pcsc-ccid.spec +++ b/pcsc-ccid.spec @@ -1,7 +1,7 @@ # # spec file for package pcsc-ccid # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,9 @@ BuildRequires: libusb-1_0-devel BuildRequires: pcsc-lite-devel BuildRequires: pkg-config BuildRequires: udev +%if %suse_version >= 1220 +BuildRequires: gpg-offline +%endif Version: 1.4.8 Release: 0 Url: http://pcsclite.alioth.debian.org/ccid.html @@ -37,6 +40,8 @@ License: LGPL-2.1+ Group: Productivity/Security Source: %{_name}-%{version}.tar.bz2 Source1: %{name}-rpmlintrc +Source2: %{_name}-%{version}.tar.bz2.asc +Source3: %{name}.keyring BuildRoot: %{_tmppath}/%{name}-%{version}-build # openSUSE package pcsc-lite 1.6.6 is the first one which creates the scard UID and GID: Requires: pcsc-lite >= 1.6.6 @@ -63,6 +68,9 @@ pcsc-lite package. %prep +%if 0%{?gpg_verify:1} +%gpg_verify %{S:2} +%endif %setup -q -n %{_name}-%{version} cp -a src/openct/LICENSE LICENSE.openct cp -a src/towitoko/README README.towitoko