RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/opensc#1cf379355cad4b4b0abb1860d7f1ba944149c89b
This commit is contained in:
parent
65bdfa3f21
commit
ce9358e941
9
.gitignore
vendored
9
.gitignore
vendored
@ -0,0 +1,9 @@
|
||||
/opensc-0.13.0.tar.gz
|
||||
/opensc-0.14.0.tar.gz
|
||||
/opensc-0.15.0.tar.gz
|
||||
/opensc-0.16.0.tar.gz
|
||||
/opensc-0.16.0-git0362439.tar.gz
|
||||
/opensc-0.17.0.tar.gz
|
||||
/opensc-0.18.0.tar.gz
|
||||
/opensc-0.19.0.tar.gz
|
||||
/opensc-0.20.0.tar.gz
|
88
common.sh
Normal file
88
common.sh
Normal file
@ -0,0 +1,88 @@
|
||||
#!/bin/bash
|
||||
## from OpenSC/src/tests/p11test/runtest.sh
|
||||
|
||||
SOPIN="12345678"
|
||||
PIN="123456"
|
||||
PKCS11_TOOL="../src/tools/pkcs11-tool"
|
||||
|
||||
softhsm_paths="/usr/local/lib/softhsm/libsofthsm2.so \
|
||||
/usr/lib64/pkcs11/libsofthsm2.so \
|
||||
/usr/lib/x86_64-linux-gnu/softhsm/libsofthsm2.so"
|
||||
|
||||
for LIB in $softhsm_paths; do
|
||||
echo "Testing $LIB"
|
||||
if [[ -f $LIB ]]; then
|
||||
P11LIB=$LIB
|
||||
echo "Setting P11LIB=$LIB"
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [[ -z "$P11LIB" ]]; then
|
||||
echo "Warning: Could not find the softhsm pkcs11 module"
|
||||
fi
|
||||
|
||||
ERRORS=0
|
||||
function assert() {
|
||||
if [[ $1 != 0 ]]; then
|
||||
echo "====> ERROR: $2"
|
||||
ERRORS=1
|
||||
fi
|
||||
}
|
||||
|
||||
function generate_key() {
|
||||
TYPE="$1"
|
||||
ID="$2"
|
||||
LABEL="$3"
|
||||
|
||||
# Generate key pair
|
||||
$PKCS11_TOOL --keypairgen --key-type="$TYPE" --login --pin=$PIN \
|
||||
--module="$P11LIB" --label="$LABEL" --id=$ID
|
||||
|
||||
if [[ "$?" -ne "0" ]]; then
|
||||
echo "Couldn't generate $TYPE key pair"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Extract public key from the card
|
||||
$PKCS11_TOOL --read-object --id $ID --type pubkey --output-file $ID.der \
|
||||
--module="$P11LIB"
|
||||
|
||||
# convert it to more digestible PEM format
|
||||
if [[ ${TYPE:0:3} == "RSA" ]]; then
|
||||
openssl rsa -inform DER -outform PEM -in $ID.der -pubin > $ID.pub
|
||||
else
|
||||
openssl ec -inform DER -outform PEM -in $ID.der -pubin > $ID.pub
|
||||
fi
|
||||
rm $ID.der
|
||||
}
|
||||
|
||||
function softhsm_initialize() {
|
||||
echo "directories.tokendir = .tokens/" > .softhsm2.conf
|
||||
mkdir ".tokens"
|
||||
export SOFTHSM2_CONF=".softhsm2.conf"
|
||||
# Init token
|
||||
softhsm2-util --init-token --slot 0 --label "SC test" --so-pin="$SOPIN" --pin="$PIN"
|
||||
}
|
||||
|
||||
function card_setup() {
|
||||
softhsm_initialize
|
||||
|
||||
# Generate 1024b RSA Key pair
|
||||
generate_key "RSA:1024" "01" "RSA_auth"
|
||||
# Generate 2048b RSA Key pair
|
||||
generate_key "RSA:2048" "02" "RSA2048"
|
||||
# Generate 256b ECC Key pair
|
||||
generate_key "EC:secp256r1" "03" "ECC_auth"
|
||||
# Generate 521b ECC Key pair
|
||||
generate_key "EC:secp521r1" "04" "ECC521"
|
||||
}
|
||||
|
||||
function softhsm_cleanup() {
|
||||
rm .softhsm2.conf
|
||||
rm -rf ".tokens"
|
||||
}
|
||||
|
||||
function card_cleanup() {
|
||||
softhsm_cleanup
|
||||
rm 0{1,2,3,4}.pub
|
||||
}
|
13
opensc-0.19.0-pinpad.patch
Normal file
13
opensc-0.19.0-pinpad.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -up opensc-0.19.0/etc/opensc.conf.pinpad opensc-0.19.0/etc/opensc.conf
|
||||
--- opensc-0.19.0/etc/opensc.conf.pinpad 2018-10-22 14:31:12.082963540 +0200
|
||||
+++ opensc-0.19.0/etc/opensc.conf 2018-10-22 14:33:59.939410701 +0200
|
||||
@@ -4,4 +4,9 @@ app default {
|
||||
framework pkcs15 {
|
||||
# use_file_caching = true;
|
||||
}
|
||||
+ reader_driver pcsc {
|
||||
+ # The pinpad is disabled by default,
|
||||
+ # because of many broken readers out there
|
||||
+ enable_pinpad = false;
|
||||
+ }
|
||||
}
|
1338
opensc-0.20.0-cardos.patch
Normal file
1338
opensc-0.20.0-cardos.patch
Normal file
File diff suppressed because it is too large
Load Diff
24
opensc-0.20.0-lto-build.patch
Normal file
24
opensc-0.20.0-lto-build.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 8551e84d74af24638581a473775b71e6aad10dcf Mon Sep 17 00:00:00 2001
|
||||
From: Frank Morgner <frankmorgner@gmail.com>
|
||||
Date: Wed, 4 Mar 2020 23:09:57 +0100
|
||||
Subject: [PATCH] fixed https://github.com/OpenSC/OpenSC/issues/1948
|
||||
|
||||
closes https://github.com/OpenSC/OpenSC/pull/1958
|
||||
---
|
||||
src/tests/p11test/p11test_case_pss_oaep.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/tests/p11test/p11test_case_pss_oaep.c b/src/tests/p11test/p11test_case_pss_oaep.c
|
||||
index 0194711924..b114b73658 100644
|
||||
--- a/src/tests/p11test/p11test_case_pss_oaep.c
|
||||
+++ b/src/tests/p11test/p11test_case_pss_oaep.c
|
||||
@@ -376,7 +376,7 @@ int oaep_encrypt_decrypt_test(test_cert_t *o, token_info_t *info, test_mech_t *m
|
||||
CK_BYTE *dec_message = NULL;
|
||||
int dec_message_length = 0;
|
||||
int message_length = 16;
|
||||
- unsigned char *enc_message;
|
||||
+ unsigned char *enc_message = NULL;
|
||||
int enc_message_length, rv;
|
||||
|
||||
if (o->private_handle == CK_INVALID_HANDLE) {
|
||||
|
27
opensc-0.20.0-no-common.patch
Normal file
27
opensc-0.20.0-no-common.patch
Normal file
@ -0,0 +1,27 @@
|
||||
diff --git a/src/tests/p11test/p11test.c b/src/tests/p11test/p11test.c
|
||||
index feecf6fb..a16282cb 100644
|
||||
--- a/src/tests/p11test/p11test.c
|
||||
+++ b/src/tests/p11test/p11test.c
|
||||
@@ -34,6 +34,9 @@
|
||||
|
||||
#define DEFAULT_P11LIB "../../pkcs11/.libs/opensc-pkcs11.so"
|
||||
|
||||
+/* Global variable keeping information about token we are using */
|
||||
+token_info_t token;
|
||||
+
|
||||
void display_usage() {
|
||||
fprintf(stdout,
|
||||
" Usage:\n"
|
||||
diff --git a/src/tests/p11test/p11test_common.h b/src/tests/p11test/p11test_common.h
|
||||
index 2f3b238d..9eb5cede 100644
|
||||
--- a/src/tests/p11test/p11test_common.h
|
||||
+++ b/src/tests/p11test/p11test_common.h
|
||||
@@ -84,7 +84,7 @@ typedef struct {
|
||||
size_t num_keygen_mechs;
|
||||
} token_info_t;
|
||||
|
||||
-token_info_t token;
|
||||
+extern token_info_t token;
|
||||
|
||||
#endif /* P11TEST_COMMON_H */
|
||||
|
8
opensc.module
Normal file
8
opensc.module
Normal file
@ -0,0 +1,8 @@
|
||||
# This file describes how to load the opensc module
|
||||
# See: http://p11-glue.freedesktop.org/doc/p11-kit/config.html
|
||||
|
||||
# This is a relative path, which means it will be loaded from
|
||||
# the p11-kit default path which is usually $(libdir)/pkcs11.
|
||||
# Doing it this way allows for packagers to package opensc for
|
||||
# 32-bit and 64-bit and make them parallel installable
|
||||
module: opensc-pkcs11.so
|
706
opensc.spec
Normal file
706
opensc.spec
Normal file
@ -0,0 +1,706 @@
|
||||
%define opensc_module "OpenSC PKCS #11 Module"
|
||||
%define nssdb %{_sysconfdir}/pki/nssdb
|
||||
|
||||
Name: opensc
|
||||
Version: 0.20.0
|
||||
Release: 8%{?dist}
|
||||
Summary: Smart card library and applications
|
||||
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/OpenSC/OpenSC/wiki
|
||||
Source0: https://github.com/OpenSC/OpenSC/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: opensc.module
|
||||
# Missing from release tarball
|
||||
# https://github.com/OpenSC/OpenSC/blob/master/tests/common.sh
|
||||
Source2: common.sh
|
||||
Patch1: opensc-0.19.0-pinpad.patch
|
||||
Patch2: opensc-0.20.0-no-common.patch
|
||||
# https://github.com/OpenSC/OpenSC/pull/1987
|
||||
Patch3: opensc-0.20.0-cardos.patch
|
||||
# https://github.com/OpenSC/OpenSC/commit/8551e84d
|
||||
Patch4: opensc-0.20.0-lto-build.patch
|
||||
|
||||
BuildRequires: pcsc-lite-devel
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: /usr/bin/xsltproc
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: autoconf automake libtool gcc
|
||||
BuildRequires: bash-completion
|
||||
BuildRequires: zlib-devel
|
||||
# For tests
|
||||
BuildRequires: libcmocka-devel
|
||||
%if ! 0%{?rhel}
|
||||
BuildRequires: softhsm
|
||||
%endif
|
||||
BuildRequires: openssl
|
||||
Requires: pcsc-lite-libs%{?_isa}
|
||||
Requires: pcsc-lite
|
||||
Obsoletes: mozilla-opensc-signer < 0.12.0
|
||||
Obsoletes: opensc-devel < 0.12.0
|
||||
Obsoletes: coolkey <= 1.1.0-36
|
||||
# The simclist is bundled in upstream
|
||||
Provides: bundled(simclist) = 1.5
|
||||
|
||||
%description
|
||||
OpenSC provides a set of libraries and utilities to work with smart cards. Its
|
||||
main focus is on cards that support cryptographic operations, and facilitate
|
||||
their use in security applications such as authentication, mail encryption and
|
||||
digital signatures. OpenSC implements the PKCS#11 API so applications
|
||||
supporting this API (such as Mozilla Firefox and Thunderbird) can use it. On
|
||||
the card OpenSC implements the PKCS#15 standard and aims to be compatible with
|
||||
every software/card that does so, too.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1 -b .pinpad
|
||||
%patch2 -p1 -b .no-common
|
||||
%patch3 -p1 -b .cardos
|
||||
%patch4 -p1 -b .lto-build
|
||||
|
||||
cp %{SOURCE2} tests/
|
||||
# The test-pkcs11-tool-allowed-mechanisms already works in Fedora
|
||||
sed -i -e '/XFAIL_TESTS/,$ {
|
||||
s/XFAIL_TESTS.*/XFAIL_TESTS=test-pkcs11-tool-test.sh/
|
||||
q
|
||||
}' tests/Makefile.am
|
||||
|
||||
cp -p src/pkcs15init/README ./README.pkcs15init
|
||||
cp -p src/scconf/README.scconf .
|
||||
# No {_libdir} here to avoid multilib conflicts; it's just an example
|
||||
sed -i -e 's|/usr/local/towitoko/lib/|/usr/lib/ctapi/|' etc/opensc.conf.example.in
|
||||
|
||||
|
||||
%build
|
||||
autoreconf -fvi
|
||||
%ifarch %{ix86}
|
||||
sed -i -e 's/opensc.conf/opensc-%{_arch}.conf/g' src/libopensc/Makefile.in
|
||||
%endif
|
||||
sed -i -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure # lib64 rpaths
|
||||
%configure --disable-static \
|
||||
--disable-autostart-items \
|
||||
--disable-notify \
|
||||
--disable-assert \
|
||||
--enable-pcsc \
|
||||
--enable-cmocka \
|
||||
--enable-sm \
|
||||
--with-pcsc-provider=libpcsclite.so.1
|
||||
%make_build
|
||||
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/p11-kit/modules/opensc.module
|
||||
|
||||
%ifarch %{ix86}
|
||||
# To avoid multilib issues, move these files on 32b intel architectures
|
||||
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/opensc.conf
|
||||
install -Dpm 644 etc/opensc.conf $RPM_BUILD_ROOT%{_sysconfdir}/opensc-%{_arch}.conf
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/opensc.conf.5
|
||||
install -Dpm 644 doc/files/opensc.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5/opensc-%{_arch}.conf.5
|
||||
# use NEWS file timestamp as reference for configuration file
|
||||
touch -r NEWS $RPM_BUILD_ROOT%{_sysconfdir}/opensc-%{_arch}.conf
|
||||
touch -r NEWS $RPM_BUILD_ROOT%{_mandir}/man5/opensc-%{_arch}.conf.5
|
||||
%else
|
||||
# For backward compatibility, symlink the old location to the new files
|
||||
ln -s %{_sysconfdir}/opensc.conf $RPM_BUILD_ROOT%{_sysconfdir}/opensc-%{_arch}.conf
|
||||
%endif
|
||||
|
||||
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" | xargs rm
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/opensc
|
||||
|
||||
# Upstream considers libopensc API internal and no longer ships
|
||||
# public headers and pkgconfig files.
|
||||
# Remove the symlink as nothing is supposed to link against libopensc.
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libopensc.so
|
||||
# remove the .pc file so we do not confuse users #1673139
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libsmm-local.so
|
||||
%if 0%{?rhel} && 0%{?rhel} < 7
|
||||
rm -rf %{buildroot}%{_datadir}/bash-completion/
|
||||
%endif
|
||||
|
||||
# the npa-tool builds to nothing since we do not have OpenPACE library
|
||||
rm -rf %{buildroot}%{_bindir}/npa-tool
|
||||
rm -rf %{buildroot}%{_mandir}/man1/npa-tool.1*
|
||||
|
||||
# Remove the notification files
|
||||
rm %{buildroot}%{_bindir}/opensc-notify
|
||||
rm %{buildroot}%{_datadir}/applications/org.opensc.notify.desktop
|
||||
rm %{buildroot}%{_mandir}/man1/opensc-notify.1*
|
||||
|
||||
|
||||
%files
|
||||
%doc COPYING NEWS README*
|
||||
|
||||
%if ! 0%{?rhel} || 0%{?rhel} >= 7
|
||||
%{_datadir}/bash-completion/*
|
||||
%endif
|
||||
|
||||
%ifarch %{ix86}
|
||||
%{_mandir}/man5/opensc-%{_arch}.conf.5*
|
||||
%else
|
||||
%config(noreplace) %{_sysconfdir}/opensc.conf
|
||||
%{_mandir}/man5/opensc.conf.5*
|
||||
%endif
|
||||
|
||||
%config(noreplace) %{_sysconfdir}/opensc-%{_arch}.conf
|
||||
# Co-owned with p11-kit so it is not hard dependency
|
||||
%dir %{_datadir}/p11-kit
|
||||
%dir %{_datadir}/p11-kit/modules
|
||||
%{_datadir}/p11-kit/modules/opensc.module
|
||||
%{_bindir}/cardos-tool
|
||||
%{_bindir}/cryptoflex-tool
|
||||
%{_bindir}/eidenv
|
||||
%{_bindir}/iasecc-tool
|
||||
%{_bindir}/gids-tool
|
||||
%{_bindir}/netkey-tool
|
||||
%{_bindir}/openpgp-tool
|
||||
%{_bindir}/opensc-explorer
|
||||
%{_bindir}/opensc-tool
|
||||
%{_bindir}/opensc-asn1
|
||||
%{_bindir}/piv-tool
|
||||
%{_bindir}/pkcs11-tool
|
||||
%{_bindir}/pkcs15-crypt
|
||||
%{_bindir}/pkcs15-init
|
||||
%{_bindir}/pkcs15-tool
|
||||
%{_bindir}/sc-hsm-tool
|
||||
%{_bindir}/dnie-tool
|
||||
%{_bindir}/westcos-tool
|
||||
%{_bindir}/egk-tool
|
||||
%{_bindir}/goid-tool
|
||||
%{_bindir}/pkcs11-register
|
||||
%{_libdir}/lib*.so.*
|
||||
%{_libdir}/opensc-pkcs11.so
|
||||
%{_libdir}/pkcs11-spy.so
|
||||
%{_libdir}/onepin-opensc-pkcs11.so
|
||||
%%dir %{_libdir}/pkcs11
|
||||
%{_libdir}/pkcs11/opensc-pkcs11.so
|
||||
%{_libdir}/pkcs11/onepin-opensc-pkcs11.so
|
||||
%{_libdir}/pkcs11/pkcs11-spy.so
|
||||
%{_datadir}/opensc/
|
||||
%{_mandir}/man1/cardos-tool.1*
|
||||
%{_mandir}/man1/cryptoflex-tool.1*
|
||||
%{_mandir}/man1/eidenv.1*
|
||||
%{_mandir}/man1/gids-tool.1*
|
||||
%{_mandir}/man1/iasecc-tool.1*
|
||||
%{_mandir}/man1/netkey-tool.1*
|
||||
%{_mandir}/man1/openpgp-tool.1*
|
||||
%{_mandir}/man1/opensc-explorer.*
|
||||
%{_mandir}/man1/opensc-tool.1*
|
||||
%{_mandir}/man1/opensc-asn1.1*
|
||||
%{_mandir}/man1/piv-tool.1*
|
||||
%{_mandir}/man1/pkcs11-tool.1*
|
||||
%{_mandir}/man1/pkcs15-crypt.1*
|
||||
%{_mandir}/man1/pkcs15-init.1*
|
||||
%{_mandir}/man1/pkcs15-tool.1*
|
||||
%{_mandir}/man1/sc-hsm-tool.1*
|
||||
%{_mandir}/man1/westcos-tool.1*
|
||||
%{_mandir}/man1/dnie-tool.1*
|
||||
%{_mandir}/man1/egk-tool.1*
|
||||
%{_mandir}/man5/pkcs15-profile.5*
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Aug 19 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.20.0-8
|
||||
- Drop useless ldconfig scriptlets
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed May 13 2020 Jakub Jelen <jjelen@redhat.com> - 0.20.0-6
|
||||
- Unbreak CardOS 5.x support (#1830528)
|
||||
|
||||
* Mon Feb 10 2020 Jakub Jelen <jjelen@redhat.com> - 0.20.0-5
|
||||
- Unbreak build on gcc10 with -fno-common (#1799836)
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jan 10 2020 Jakub Jelen <jjelen@redhat.com> - 0.20.0-3
|
||||
- Drop the notification support for now
|
||||
|
||||
* Fri Jan 10 2020 Jakub Jelen <jjelen@redhat.com> - 0.20.0-2
|
||||
- Cleanup spec file
|
||||
- Split notify support to separate subpackage
|
||||
|
||||
* Thu Jan 02 2020 Jakub Jelen <jjelen@redhat.com> - 0.20.0-1
|
||||
- New upstream release (#1749357)
|
||||
- Fixes for various security issues identified by fuzzing (#1765223, #1765231, #1782520, #1782951, #1782956)
|
||||
|
||||
* Mon Sep 30 2019 Jakub Jelen <jjelen@redhat.com> - 0.19.0-8
|
||||
- Correctly mention bundled simclist library
|
||||
- Add missing zlib build requires (#1756326)
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed Mar 27 2019 Jakub Jelen <jjelen@redhat.com> - 0.19.0-6
|
||||
- Make OpenSC multilib again by moving the offending files on ix86 arch
|
||||
- Do not ship packageconfig files to avoid inadvertent linking against pkcs11 modules (#1673139)
|
||||
|
||||
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.19.0-5
|
||||
- Rebuild for readline 8.0
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Wed Oct 31 2018 Jakub Jelen <jjelen@redhat.com> - 0.19.0-3
|
||||
- Unbreak the RSA-PSS mechanisms
|
||||
- Unbreak the signing using hashed mechanisms in CardOS and others
|
||||
|
||||
* Mon Oct 22 2018 Jakub Jelen <jjelen@redhat.com> - 0.19.0-2
|
||||
- Fix verification after implementing RSA-PSS mechanisms
|
||||
- Disable pinpad by default
|
||||
|
||||
* Tue Sep 25 2018 Jakub Jelen <jjelen@redhat.com> - 0.19.0-1
|
||||
- New upstream release fixing various CVE-2018-16418 - 16421, 16423 - 16427
|
||||
- Add support for RSA-PSS signatures
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Jakub Jelen <jjelen@redhat.com> - 0.18.0-3
|
||||
- Do not add pkcs11 module to NSS after installation
|
||||
(NSS is loading p11-kit modules by default)
|
||||
- Remove pkcs11-switch since there is nothing to switch to
|
||||
|
||||
* Mon May 21 2018 Jakub Jelen <jjelen@redhat.com> - 0.18.0-2
|
||||
- Backport a fix for C_WaitForSlotEvent crash (#1579933)
|
||||
|
||||
* Thu May 17 2018 Jakub Jelen <jjelen@redhat.com> - 0.18.0-1
|
||||
- New upstream release (#1567503)
|
||||
|
||||
* Wed Apr 04 2018 Jakub Jelen <jjelen@redhat.com> - 0.17.0-10
|
||||
- Install the PKCS#11 modules also to the new NSS DB
|
||||
- Drop the pkcs11-switch as the coolkey is gone
|
||||
|
||||
* Tue Apr 03 2018 Jakub Jelen <jjelen@redhat.com> - 0.17.0-9
|
||||
- Improved support for CloudHSM (#1562572)
|
||||
|
||||
* Mon Mar 19 2018 Jakub Jelen <jjelen@redhat.com> - 0.17.0-8
|
||||
- Build requires gcc
|
||||
- Backport a fix for feitian tokens (#1558099)
|
||||
|
||||
* Fri Mar 02 2018 Jakub Jelen <jjelen@redhat.com> - 0.17.0-7
|
||||
- Obsolete coolkey
|
||||
- Do not report bogus errors from pkcs11-switch
|
||||
- Do not delete nonexisting modules during uninstall (#1526670)
|
||||
|
||||
* Wed Feb 21 2018 Jakub Jelen <jjelen@redhat.com> - 0.17.0-6
|
||||
- PIV: Use Cardholder name in the token label
|
||||
- Avoid infinite loop when reading CAC cards
|
||||
- Properly parse multi-byte length in SimpleTLV
|
||||
- Support CAC Alt tokens
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Mon Dec 04 2017 Jakub Jelen <jjelen@redhat.com> - 0.17.0-4
|
||||
- Allow functionality of a new Estonia ID cards (#1519751)
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Wed Jul 19 2017 Jakub Jelen <jjelen@redhat.com> - 0.17.0-1
|
||||
- New upstream release including support for Coolkey and CAC cards
|
||||
|
||||
* Tue Feb 28 2017 Jakub Jelen <jjelen@redhat.com> - 0.16.0-5.20161016git0362439
|
||||
- Add PKCS#11 library to the NSS DB (#1421692)
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.0-4.20161016git0362439
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.16.0-3.20161016git0362439
|
||||
- Rebuild for readline 7.x
|
||||
|
||||
* Mon Oct 31 2016 Jakub Jelen <jjelen@redhat.com> - 0.16.0-2.20161016git0362439
|
||||
- Updated to latest git to address openssl 1.1.0 compilation issues (#1388895)
|
||||
- Do not own /etc/bash_completion.d directory (#1303441)
|
||||
|
||||
* Tue Aug 02 2016 Jakub Jelen <jjelen@redhat.com> - 0.16.0-1
|
||||
- New upstream release 0.16.0 (#1306071)
|
||||
|
||||
* Tue Jul 12 2016 Jakub Jelen <jjelen@redhat.com> - 0.15.0-6
|
||||
- Add support for 2048 key length (#1350588)
|
||||
- Explicitly set CKA_PRIVATE to false when writing certificates (#1272127)
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Mon Jan 18 2016 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.15.0-4
|
||||
- Fix a crash in accessing public key (#1298669)
|
||||
|
||||
* Thu Nov 19 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.15.0-3
|
||||
- Export PKCS#11 symbols from spy library (#1283306)
|
||||
|
||||
* Tue Aug 4 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.15.0-2
|
||||
- Updated fix for issue with C_Initialize after fork() (#1218797)
|
||||
|
||||
* Tue Jul 14 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.15.0-1
|
||||
- Update to 0.15.0 (#1209682)
|
||||
- Solve issue with C_Initialize after fork() (#1218797)
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Tue Jul 01 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.14.0-1
|
||||
- new upstream version
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.0-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Fri Feb 28 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.13.0-12
|
||||
- Added fix for crash when calling pkcs11-tool with an invalid module (#1071368)
|
||||
- Added fix for invalid parameters passed to module by pkcs11-tool
|
||||
when importing a private key (#1071369)
|
||||
- Configuration file opensc.conf was renamed to opensc-arch.conf to
|
||||
avoid multi-arch issues.
|
||||
|
||||
* Fri Jan 31 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.13.0-11
|
||||
- Corrected installation path of opensc.module (#1060053)
|
||||
|
||||
* Mon Jan 06 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.13.0-10
|
||||
- Applied myeid related patch (#1048576)
|
||||
|
||||
* Thu Jan 02 2014 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.13.0-9
|
||||
- Applied epass2003 related patch (#981462)
|
||||
|
||||
* Mon Dec 23 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.13.0-8
|
||||
- Compile using the --enable-sm option (related but does not fix #981462)
|
||||
|
||||
* Wed Dec 18 2013 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.13.0-7
|
||||
- Ensure that pcsc-lite is depended on (#1029133)
|
||||
|
||||
* Mon Sep 23 2013 Stef Walter <stefw@redhat.com> - 0.13.0-6
|
||||
- Install p11-kit config file to the right place (#999190)
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Fri Mar 08 2013 Stef Walter <stefw@redhat.com> - 0.13.0-4
|
||||
- Use the standard name format for p11-kit module configs
|
||||
- Put the p11-kit module config is the system location
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sun Jan 13 2013 Kalev Lember <kalevlember@gmail.com> - 0.13.0-2
|
||||
- Backport an upstream patch for fixing pkcs15 cert length calculation
|
||||
|
||||
* Thu Jan 03 2013 Milan Broz <mbroz@redhat.com> - 0.13.0-1
|
||||
- Update to 0.13.0 (#890770)
|
||||
- Remove no longer provided onepin-opensc-pkcs11.so.
|
||||
- Add iasecc-tool, openpgp-tool and sc-hsm-tool.
|
||||
|
||||
* Fri Jul 27 2012 Tomas Mraz <tmraz@redhat.com> - 0.12.2-6
|
||||
- Add a configuration file for p11-kit (#840504)
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sun Mar 4 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.12.2-4
|
||||
- Add patch for dso
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Wed Aug 17 2011 Tomas Mraz <tmraz@redhat.com> - 0.12.2-2
|
||||
- Rebuilt to fix trailing slashes in filelist from rpmbuild bug
|
||||
|
||||
* Tue Jul 19 2011 Kalev Lember <kalevlember@gmail.com> - 0.12.2-1
|
||||
- Update to 0.12.2 (#722659)
|
||||
|
||||
* Wed May 18 2011 Kalev Lember <kalev@smartlink.ee> - 0.12.1-1
|
||||
- Update to 0.12.1 (#705743)
|
||||
- Removed BR libtool-ltdl-devel to build with glibc's libdl instead
|
||||
|
||||
* Tue Apr 12 2011 Tomas Mraz <tmraz@redhat.com> - 0.12.0-4
|
||||
- drop multilib conflicting and duplicated doc file (#695368)
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Mon Jan 03 2011 Kalev Lember <kalev@smartlink.ee> - 0.12.0-2
|
||||
- Disabled asserts
|
||||
|
||||
* Mon Jan 03 2011 Kalev Lember <kalev@smartlink.ee> - 0.12.0-1
|
||||
- Update to 0.12.0
|
||||
- Removed and obsoleted mozilla-opensc-signer and opensc-devel subpackages
|
||||
- Dropped patches which are now upstreamed
|
||||
- It is no longer possible to build in both pcsc-lite and openct support,
|
||||
so opensc now gets built exclusively with pcsc-lite.
|
||||
|
||||
* Tue Dec 21 2010 Tomas Mraz <tmraz@redhat.com> - 0.11.13-6
|
||||
- fix buffer overflow on rogue card serial numbers
|
||||
|
||||
* Tue Oct 19 2010 Tomas Mraz <tmraz@redhat.com> - 0.11.13-5
|
||||
- own the _libdir/pkcs11 subdirectory (#644527)
|
||||
|
||||
* Tue Sep 7 2010 Tomas Mraz <tmraz@redhat.com> - 0.11.13-4
|
||||
- fix build with new pcsc-lite
|
||||
|
||||
* Wed Aug 11 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.11.13-3
|
||||
- build against libassuan1 (f14+)
|
||||
|
||||
* Wed Jun 9 2010 Tomas Mraz <tmraz@redhat.com> - 0.11.13-2
|
||||
- replace file dependency (#601943)
|
||||
|
||||
* Tue Feb 16 2010 Kalev Lember <kalev@smartlink.ee> - 0.11.13-1
|
||||
- new upstream version
|
||||
|
||||
* Sun Feb 14 2010 Kalev Lember <kalev@smartlink.ee> - 0.11.12-2
|
||||
- Added patch to fix linking with the new --no-add-needed default (#564758)
|
||||
|
||||
* Mon Dec 21 2009 Kalev Lember <kalev@smartlink.ee> - 0.11.12-1
|
||||
- new upstream version
|
||||
- replaced %%define with %%global
|
||||
- BR clean up from items not applicable to current Fedora releases
|
||||
|
||||
* Tue Dec 8 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 0.11.11-2
|
||||
- Explicitly BR libassuan-static in accordance with the Packaging
|
||||
Guidelines (libassuan-devel is still static-only).
|
||||
|
||||
* Thu Nov 19 2009 Tomas Mraz <tmraz@redhat.com> - 0.11.11-1
|
||||
- new upstream version
|
||||
|
||||
* Tue Sep 29 2009 Tomas Mraz <tmraz@redhat.com> - 0.11.9-2
|
||||
- fix multilib conflict in the configuration file (#526269)
|
||||
|
||||
* Wed Sep 09 2009 Tomas Mraz <tmraz@redhat.com> - 0.11.9-1
|
||||
- new upstream version
|
||||
|
||||
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.11.8-5
|
||||
- rebuilt with new openssl
|
||||
|
||||
* Mon Jul 27 2009 Tomas Mraz <tmraz@redhat.com> - 0.11.8-4
|
||||
- Depend on specific arch of pcsc-lite-libs (reported by Kalev Lember)
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Mon Jun 15 2009 Tomas Mraz <tmraz@redhat.com> - 0.11.8-2
|
||||
- Rebuilt with new openct
|
||||
|
||||
* Mon May 11 2009 Tomas Mraz <tmraz@redhat.com> - 0.11.8-1
|
||||
- new upstream version - fixes security issue
|
||||
|
||||
* Fri Feb 27 2009 Tomas Mraz <tmraz@redhat.com> - 0.11.7-1
|
||||
- new upstream version - fixes CVE-2009-0368
|
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> - 0.11.6-2
|
||||
- Add explicit requires for pcsc-lite-libs. Dlopen libpcsclite with the full
|
||||
soname.
|
||||
|
||||
* Tue Sep 2 2008 Tomas Mraz <tmraz@redhat.com> - 0.11.6-1
|
||||
- Update to latest upstream, fixes CVE-2008-2235
|
||||
|
||||
* Thu Apr 10 2008 Hans de Goede <j.w.r.degoede@hhs.nl> - 0.11.4-5
|
||||
- BuildRequire libassuan-devel instead of libassuan-static (bz 441812)
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.11.4-4
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 0.11.4-3
|
||||
- Rebuild for deps
|
||||
|
||||
* Wed Dec 5 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.4-2
|
||||
- Rebuild.
|
||||
|
||||
* Mon Sep 10 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.4-1
|
||||
- 0.11.4.
|
||||
|
||||
* Mon Aug 20 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.4-0.1.rc1
|
||||
- 0.11.4-rc1, pkcs11-tool usage message fix applied upstream.
|
||||
- License: LGPLv2+
|
||||
|
||||
* Thu Jul 26 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.3-2
|
||||
- Fix pkcs11-tool usage message crash (#249702).
|
||||
|
||||
* Tue Jul 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.3-1
|
||||
- 0.11.3.
|
||||
|
||||
* Sat Jun 30 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.3-0.1.pre2
|
||||
- 0.11.3-pre2.
|
||||
|
||||
* Thu Jun 21 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.3-0.1.pre1
|
||||
- 0.11.3-pre1.
|
||||
|
||||
* Sun May 6 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.2-2
|
||||
- Add explicit build dependency on ncurses-devel.
|
||||
|
||||
* Sat May 5 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.2-1
|
||||
- 0.11.2.
|
||||
|
||||
* Tue Apr 24 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.2-0.3.rc2
|
||||
- 0.11.2-rc2.
|
||||
|
||||
* Fri Mar 23 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.2-0.3.rc1
|
||||
- 0.11.2-rc1.
|
||||
|
||||
* Thu Mar 15 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.2-0.2.pre6
|
||||
- 0.11.2-pre6.
|
||||
|
||||
* Tue Mar 6 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.11.2-0.2.pre4
|
||||
- 0.11.2-pre4.
|
||||
- Require pinentry-gui instead of the pinentry executable in signer.
|
||||
|
||||
* Sun Dec 3 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.11.2-0.1.pre3
|
||||
- 0.11.2-pre3.
|
||||
- Build with new libassuan.
|
||||
- Don't run autotools during build.
|
||||
- Adjust to readline/termcap/ncurses changes.
|
||||
|
||||
* Sat Oct 14 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.11.1-6
|
||||
- Rebuild with new libassuan.
|
||||
|
||||
* Sun Oct 8 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.11.1-5
|
||||
- Rebuild with new libassuan.
|
||||
|
||||
* Mon Oct 2 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.11.1-4
|
||||
- Rebuild.
|
||||
|
||||
* Tue Sep 26 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.11.1-3
|
||||
- Rebuild with new libassuan.
|
||||
|
||||
* Sat Sep 2 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.11.1-2
|
||||
- Rebuild.
|
||||
|
||||
* Wed May 31 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.11.1-1
|
||||
- 0.11.1.
|
||||
- Avoid some multilib conflicts.
|
||||
|
||||
* Sun May 7 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.11.0-2
|
||||
- Sync example paths in openct.conf with ctapi-common.
|
||||
- Update URL.
|
||||
|
||||
* Thu May 4 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.11.0-1
|
||||
- 0.11.0.
|
||||
|
||||
* Thu Apr 27 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.11.0-0.1.rc2
|
||||
- 0.11.0-rc2.
|
||||
|
||||
* Sat Apr 22 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.11.0-0.1.rc1
|
||||
- 0.11.0-rc1.
|
||||
|
||||
* Mon Mar 6 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.10.1-3
|
||||
- Rebuild.
|
||||
|
||||
* Wed Feb 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.10.1-2
|
||||
- Avoid standard rpaths on lib64 archs.
|
||||
|
||||
* Sun Jan 8 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.10.1-1
|
||||
- 0.10.1.
|
||||
|
||||
* Wed Nov 9 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.10.0-1
|
||||
- 0.10.0.
|
||||
- Adapt to modularized X.Org.
|
||||
|
||||
* Wed Oct 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.10.0-0.1.rc2
|
||||
- 0.10.0-rc2.
|
||||
- Install signer plugin only to plugin dir.
|
||||
|
||||
* Sat Oct 22 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.10.0-0.1.rc1
|
||||
- 0.10.0-rc1.
|
||||
|
||||
* Wed Oct 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.10.0-0.1.beta2.rc1
|
||||
- 0.10.0-beta2-rc1.
|
||||
- Specfile cleanups.
|
||||
|
||||
* Tue Apr 26 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.6-2
|
||||
- 0.9.6, build patch applied upstream.
|
||||
- Package summary and description improvements.
|
||||
- Drop explicit openct dependency.
|
||||
|
||||
* Fri Mar 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.4-3
|
||||
- Fix FC4 build.
|
||||
- Rename opensc-pam to pam_opensc per package naming guidelines.
|
||||
|
||||
* Wed Feb 9 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.4-2
|
||||
- Substitute hardcoded 'lib' in OpenSSL checks for multi-lib platforms.
|
||||
- Use --with-plugin-dir instead of --with-plugin-path (fixes x86_64).
|
||||
|
||||
* Thu Feb 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.9.4-1
|
||||
- Drop unnecessary Epochs, pre-FC1 compat cruft, and no longer relevant
|
||||
--with(out) rpmbuild options.
|
||||
- Exclude *.la.
|
||||
|
||||
* Wed Nov 3 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.4-0.fdr.1
|
||||
- Update to 0.9.4, parallel build patch applied upstream.
|
||||
- Patch to fix library paths and LDFLAGS.
|
||||
- Don't require mozilla, but the plugin dir in signer.
|
||||
- Build with dependency tracking disabled.
|
||||
|
||||
* Tue Jul 27 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.2-0.fdr.2
|
||||
- Building the signer plugin can be disabled with "--without signer".
|
||||
Thanks to Fritz Elfert for the idea.
|
||||
- Update description.
|
||||
|
||||
* Sun Jul 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.2-0.fdr.1
|
||||
- Update to 0.9.2, old patches applied upstream.
|
||||
- Add patch to fix parallel builds.
|
||||
- Convert man pages to UTF-8.
|
||||
|
||||
* Thu Jul 22 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.1-0.fdr.1
|
||||
- Update to 0.9.1 (preview).
|
||||
|
||||
* Thu Jul 1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.9.0-0.fdr.0.1.alpha
|
||||
- Update to 0.9.0-alpha.
|
||||
|
||||
* Sat May 1 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.1-0.fdr.8
|
||||
- Rebuild with libassuan 0.6.5.
|
||||
|
||||
* Sat Jan 31 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.1-0.fdr.7
|
||||
- Rebuild with libassuan 0.6.3.
|
||||
- Add gdm example to PAM quickstart.
|
||||
|
||||
* Mon Jan 19 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.1-0.fdr.6
|
||||
- Use /%%{_lib} instead of hardcoding /lib.
|
||||
|
||||
* Sat Dec 20 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.1-0.fdr.5
|
||||
- Split PAM support into a subpackage.
|
||||
- Rebuild with libassuan 0.6.2.
|
||||
|
||||
* Sun Nov 23 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.1-0.fdr.4
|
||||
- Rebuild with libassuan 0.6.1.
|
||||
- Include PAM quickstart doc snippet.
|
||||
|
||||
* Fri Nov 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.1-0.fdr.3
|
||||
- Require OpenCT.
|
||||
|
||||
* Fri Oct 17 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.1-0.fdr.2
|
||||
- Install example config files as documentation.
|
||||
|
||||
* Tue Oct 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.1-0.fdr.1
|
||||
- Update to 0.8.1.
|
||||
|
||||
* Wed Aug 27 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.0-0.fdr.2
|
||||
- Signer can be built with oldssl too.
|
||||
|
||||
* Wed Aug 27 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.0-0.fdr.1
|
||||
- Update to 0.8.0.
|
||||
|
||||
* Wed Jul 30 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.0-0.fdr.0.2.cvs20030730
|
||||
- Update to 20030730.
|
||||
- Clean up %%docs.
|
||||
- Include *.la (uses ltdl).
|
||||
- Own the %%{_libdir}/pkcs11 directory.
|
||||
- Disable signer; assuan has disappeared from the tarball :(
|
||||
|
||||
* Fri May 23 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.8.0-0.fdr.0.1.rc1
|
||||
- First build.
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (opensc-0.20.0.tar.gz) = 71f71fa6062410e63c6c60f5b2d10d1d855cc6cc815ef0e42e42a1ddd25bbd52fc396c1e495ef54610f3243996dec84dacc8007b186deb670ed645b04ee6eda5
|
66
tests/pkcs11-tool/Makefile
Normal file
66
tests/pkcs11-tool/Makefile
Normal file
@ -0,0 +1,66 @@
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Makefile of /CoreOS/opensc/Sanity/pkcs11-tool
|
||||
# Description: This is a sanity test for pkcs11-tool
|
||||
# Author: Jakub Jelen <jjelen@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2018 Red Hat, Inc.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation, either version 2 of
|
||||
# the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
export TEST=/CoreOS/opensc/Sanity/pkcs11-tool
|
||||
export TESTVERSION=1.0
|
||||
|
||||
BUILT_FILES=
|
||||
|
||||
FILES=$(METADATA) runtest.sh Makefile PURPOSE cert.cfg virtcacard.cil
|
||||
|
||||
.PHONY: all install download clean
|
||||
|
||||
run: $(FILES) build
|
||||
./runtest.sh
|
||||
|
||||
build: $(BUILT_FILES)
|
||||
test -x runtest.sh || chmod a+x runtest.sh
|
||||
|
||||
clean:
|
||||
rm -f *~ $(BUILT_FILES)
|
||||
|
||||
|
||||
include /usr/share/rhts/lib/rhts-make.include
|
||||
|
||||
$(METADATA): Makefile
|
||||
@echo "Owner: Jakub Jelen <jjelen@redhat.com>" > $(METADATA)
|
||||
@echo "Name: $(TEST)" >> $(METADATA)
|
||||
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||
@echo "Description: This is a sanity test for pkcs11-tool" >> $(METADATA)
|
||||
@echo "Type: Sanity" >> $(METADATA)
|
||||
@echo "TestTime: 15m" >> $(METADATA)
|
||||
@echo "RunFor: opensc" >> $(METADATA)
|
||||
@echo "Requires: opensc openssl gnutls-utils libcacard" >> $(METADATA)
|
||||
@echo "Requires: opencryptoki-libs opencryptoki opencryptoki-swtok" >> $(METADATA)
|
||||
@echo "Requires: softhsm nss-tools policycoreutils" >> $(METADATA)
|
||||
@echo "Priority: Normal" >> $(METADATA)
|
||||
@echo "License: GPLv2+" >> $(METADATA)
|
||||
@echo "Confidential: yes" >> $(METADATA)
|
||||
@echo "Destructive: no" >> $(METADATA)
|
||||
@echo "Releases: -RHEL4 -RHELClient5 -RHELServer5 -RHEL6" >> $(METADATA)
|
||||
|
||||
rhts-lint $(METADATA)
|
||||
|
3
tests/pkcs11-tool/PURPOSE
Normal file
3
tests/pkcs11-tool/PURPOSE
Normal file
@ -0,0 +1,3 @@
|
||||
PURPOSE of /CoreOS/opensc/Sanity/pkcs11-tool
|
||||
Description: This is a sanity test for pkcs11-tool
|
||||
Author: Jakub Jelen <jjelen@redhat.com>
|
6
tests/pkcs11-tool/cert.cfg
Normal file
6
tests/pkcs11-tool/cert.cfg
Normal file
@ -0,0 +1,6 @@
|
||||
organization = "OpenSC"
|
||||
expiration_days = 365
|
||||
email = "none@example.org"
|
||||
signing_key
|
||||
encryption_key
|
||||
|
288
tests/pkcs11-tool/runtest.sh
Executable file
288
tests/pkcs11-tool/runtest.sh
Executable file
@ -0,0 +1,288 @@
|
||||
#!/bin/bash
|
||||
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# runtest.sh of /CoreOS/opensc/Sanity/pkcs11-tool
|
||||
# Description: This is a sanity test for pkcs11-tool
|
||||
# Author: Jakub Jelen <jjelen@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2018 Red Hat, Inc.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation, either version 2 of
|
||||
# the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# Include Beaker environment
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
PACKAGE="opensc"
|
||||
## from OpenSC/src/tests/p11test/runtest.sh
|
||||
SOPIN="12345678"
|
||||
PIN="123456"
|
||||
export GNUTLS_PIN=$PIN
|
||||
GENERATE_KEYS=1
|
||||
PKCS11_TOOL="pkcs11-tool"
|
||||
NSSDB=db
|
||||
|
||||
function generate_cert() {
|
||||
TYPE="$1"
|
||||
ID="$2"
|
||||
LABEL="$3"
|
||||
|
||||
# Generate key pair
|
||||
$PKCS11_TOOL --keypairgen --key-type="$TYPE" --login --pin=$PIN \
|
||||
--module="$P11LIB" --label="$LABEL" --id=$ID
|
||||
|
||||
if [[ "$?" -ne "0" ]]; then
|
||||
echo "Couldn't generate $TYPE key pair"
|
||||
return 1
|
||||
fi
|
||||
|
||||
# check type value for the PKCS#11 URI (RHEL7 is using old "object-type")
|
||||
TYPE_KEY="type"
|
||||
p11tool --list-all --provider="$P11LIB" --login | grep "object-type" && \
|
||||
TYPE_KEY="object-type"
|
||||
|
||||
# Generate certificate
|
||||
certtool --generate-self-signed --outfile="$ID.cert" --template=cert.cfg \
|
||||
--provider="$P11LIB" --load-privkey "pkcs11:object=$LABEL;$TYPE_KEY=private" \
|
||||
--load-pubkey "pkcs11:object=$LABEL;$TYPE_KEY=public"
|
||||
# convert to DER:
|
||||
openssl x509 -inform PEM -outform DER -in "$ID.cert" -out "$ID.cert.der"
|
||||
# Write certificate
|
||||
#p11tool --login --write --load-certificate="$ID.cert" --label="$LABEL" \
|
||||
# --provider="$P11LIB"
|
||||
$PKCS11_TOOL --write-object "$ID.cert.der" --type=cert --id=$ID \
|
||||
--label="$LABEL" --module="$P11LIB"
|
||||
|
||||
rm "$ID.cert.der"
|
||||
|
||||
# Extract public key, which is more digestible by some of the tools
|
||||
openssl x509 -inform PEM -in $ID.cert -pubkey > $ID.pub
|
||||
|
||||
p11tool --login --provider="$P11LIB" --list-all
|
||||
}
|
||||
|
||||
function card_setup() {
|
||||
case $1 in
|
||||
"softhsm")
|
||||
P11LIB="/usr/lib64/pkcs11/libsofthsm2.so"
|
||||
echo "directories.tokendir = .tokens/" > .softhsm2.conf
|
||||
echo "slots.removable = true" >> .softhsm2.conf
|
||||
echo "objectstore.backend = file" >> .softhsm2.conf
|
||||
echo "log.level = INFO" >> .softhsm2.conf
|
||||
mkdir ".tokens"
|
||||
export SOFTHSM2_CONF=".softhsm2.conf"
|
||||
# Init token
|
||||
softhsm2-util --init-token --slot 0 --label "SC test" --so-pin="$SOPIN" --pin="$PIN"
|
||||
;;
|
||||
"opencryptoki")
|
||||
# Supports only RSA mechanisms
|
||||
P11LIB="/usr/lib64/pkcs11/libopencryptoki.so"
|
||||
SO_PIN=87654321
|
||||
SLOT_ID=3 # swtok slot
|
||||
rlServiceStart "pkcsslotd"
|
||||
echo "test_swtok" | /usr/sbin/pkcsconf -I -c $SLOT_ID -S $SO_PIN
|
||||
/usr/sbin/pkcsconf -u -c $SLOT_ID -S $SO_PIN -n $PIN
|
||||
;;
|
||||
"libcacard")
|
||||
# Remove OpenSC from p11-kit so we do not recurse
|
||||
rlRun "rlFileBackup /usr/share/p11-kit/modules/"
|
||||
rlRun "rm /usr/share/p11-kit/modules/opensc.module"
|
||||
|
||||
# we use softhsm internally
|
||||
rlRun "card_setup softhsm"
|
||||
|
||||
# Setup NSS DB
|
||||
rlRun "mkdir $NSSDB"
|
||||
# Do not add a softhsm2 to the nssdb if there is already p11-kit-proxy
|
||||
rlRun "modutil -create -dbdir sql:$NSSDB -force"
|
||||
rlRun "modutil -list -dbdir sql:$NSSDB | grep 'library name: p11-kit-proxy.so'" 0,1
|
||||
if [ "$?" = "1" ]; then
|
||||
rlRun "modutil -force -add 'SoftHSM PKCS#11' -dbdir sql:$NSSDB -libfile $P11LIB"
|
||||
fi
|
||||
|
||||
# Download and Install vsmartcard and virt_cacard
|
||||
rlRun "yes | dnf copr enable jjelen/vsmartcard"
|
||||
rlRun "dnf install -y virt_cacard virtualsmartcard"
|
||||
|
||||
# Install the temporary SELinux policy
|
||||
rlRun "semodule -i virtcacard.cil"
|
||||
|
||||
# Restart pcscd
|
||||
rlRun "systemctl restart pcscd"
|
||||
|
||||
# Start virtcacard
|
||||
#rlRun "G_MESSAGES_DEBUG=libcacard LIBCACARD_DEBUG=1 ./virt_cacard/virt_cacard 2> virt_cacard.debug &"
|
||||
rlRun "/usr/bin/virt_cacard 2> virt_cacard.debug &"
|
||||
rlRun "sleep 5"
|
||||
|
||||
# We will use OpenSC directly from here
|
||||
P11LIB="/usr/lib64/pkcs11/opensc-pkcs11.so"
|
||||
|
||||
rlRun "$PKCS11_TOOL -O"
|
||||
|
||||
# The keys are already generated in softhsm
|
||||
return 0
|
||||
;;
|
||||
*)
|
||||
echo "Error: Missing argument."
|
||||
exit 1;
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ $GENERATE_KEYS -eq 1 ]]; then
|
||||
# Generate 1024b RSA Key pair
|
||||
generate_cert "RSA:1024" "0001" "RSA1024"
|
||||
# Generate 2048b RSA Key pair
|
||||
generate_cert "RSA:2048" "0002" "RSA2048"
|
||||
# Generate 3092b RSA Key pair
|
||||
generate_cert "RSA:2048" "0003" "RSA3"
|
||||
fi
|
||||
}
|
||||
|
||||
function card_cleanup() {
|
||||
case $1 in
|
||||
"softhsm")
|
||||
rm .softhsm2.conf
|
||||
rm -rf ".tokens"
|
||||
;;
|
||||
"libcacard")
|
||||
rlRun "pkill virt_cacard" 0,1
|
||||
rlFileSubmit virt_cacard.debug
|
||||
rlRun "rm -rf $NSSDB"
|
||||
card_cleanup softhsm
|
||||
rlRun "rlFileRestore"
|
||||
;;
|
||||
esac
|
||||
if [[ $GENERATE_KEYS -eq 1 ]]; then
|
||||
rm "0{1,2,3,4}.{cert,pub}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup "General setup"
|
||||
rlAssertRpm $PACKAGE
|
||||
rlPhaseEnd
|
||||
|
||||
for BACKEND in "softhsm" "opencryptoki" "libcacard"; do
|
||||
rlPhaseStartSetup "Set up $BACKEND"
|
||||
rlAssertRpm $BACKEND
|
||||
rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
|
||||
rlRun "cp cert.cfg virtcacard.cil $TmpDir"
|
||||
rlRun "pushd $TmpDir"
|
||||
rlRun "card_setup $BACKEND"
|
||||
rlRun 'echo "data to sign (max 100 bytes)" > data'
|
||||
# Read the certificates from the module (the IDs might get mixed up in libcacard)
|
||||
for ID in "0001" "0002" "0003"; do
|
||||
rlRun ">$ID.cert"
|
||||
rlRun "$PKCS11_TOOL --read-object --id $ID --type cert --output-file $ID.cert --module $P11LIB"
|
||||
rlRun "openssl x509 -inform DER -in $ID.cert -pubkey > $ID.pub"
|
||||
done
|
||||
rlPhaseEnd
|
||||
|
||||
for HASH in "" "SHA1" "SHA224" "SHA256" "SHA384" "SHA512"; do
|
||||
for SIGN_KEY in "0001" "0002" "0003"; do
|
||||
METHOD="RSA-PKCS"
|
||||
if [[ ! -z $HASH ]]; then
|
||||
METHOD="$HASH-$METHOD"
|
||||
fi
|
||||
# OpenCryptoki does not work with hashed mechanisms
|
||||
if [[ "$BACKEND" != "opencryptoki" ]]; then
|
||||
rlPhaseStartTest "$BACKEND: $METHOD: Sign & Verify (KEY $SIGN_KEY)"
|
||||
rlRun "$PKCS11_TOOL --id $SIGN_KEY -s -p $PIN -m $METHOD --module $P11LIB \
|
||||
--input-file data --output-file data.sig"
|
||||
|
||||
# OpenSSL verification
|
||||
if [[ -z $HASH ]]; then
|
||||
rlRun "openssl rsautl -verify -pubin -inkey $SIGN_KEY.pub -in data.sig"
|
||||
else
|
||||
rlRun "openssl dgst -verify $SIGN_KEY.pub -${HASH,,*} \
|
||||
-signature data.sig data"
|
||||
fi
|
||||
|
||||
# pkcs11-tool verification
|
||||
rlRun "$PKCS11_TOOL --id $SIGN_KEY --verify -m $METHOD --module $P11LIB \
|
||||
--input-file data --signature-file data.sig"
|
||||
rlRun "rm data.sig"
|
||||
rlPhaseEnd
|
||||
fi
|
||||
|
||||
METHOD="$METHOD-PSS"
|
||||
if [[ "$HASH" == "SHA512" ]]; then
|
||||
continue; # This one is broken
|
||||
fi
|
||||
rlPhaseStartTest "$BACKEND: $METHOD: Sign & Verify (KEY $SIGN_KEY)"
|
||||
if [[ -z $HASH ]]; then
|
||||
# hashing is done outside of the module. We chose here SHA256
|
||||
rlRun "openssl dgst -binary -sha256 data > data.hash"
|
||||
HASH_ALGORITM="--hash-algorithm=SHA256"
|
||||
VERIFY_DGEST="-sha256"
|
||||
VERIFY_OPTS="-sigopt rsa_mgf1_md:sha256"
|
||||
else
|
||||
# hashing is done inside of the module
|
||||
rlRun "cp data data.hash"
|
||||
HASH_ALGORITM=""
|
||||
VERIFY_DGEST="-${HASH,,*}"
|
||||
VERIFY_OPTS="-sigopt rsa_mgf1_md:${HASH,,*}"
|
||||
fi
|
||||
rlRun "$PKCS11_TOOL --id $SIGN_KEY -s -p $PIN -m $METHOD --module $P11LIB \
|
||||
$HASH_ALGORITM --salt-len=-1 \
|
||||
--input-file data.hash --output-file data.sig"
|
||||
|
||||
# OpenSSL verification
|
||||
rlRun "openssl dgst -verify $SIGN_KEY.pub $VERIFY_DGEST \
|
||||
-sigopt rsa_padding_mode:pss $VERIFY_OPTS -sigopt rsa_pss_saltlen:-1 \
|
||||
-signature data.sig data"
|
||||
|
||||
# pkcs11-tool verification
|
||||
rlRun "$PKCS11_TOOL --id $SIGN_KEY --verify -m $METHOD --module $P11LIB \
|
||||
$HASH_ALGORITM --salt-len=-1 \
|
||||
--input-file data.hash --signature-file data.sig"
|
||||
rlRun "rm data.{sig,hash}"
|
||||
|
||||
rlPhaseEnd
|
||||
done
|
||||
|
||||
# Skip hashed algorithms (do not support encryption & decryption)
|
||||
if [[ ! -z "$HASH" ]]; then
|
||||
continue;
|
||||
fi
|
||||
METHOD="RSA-PKCS"
|
||||
for ENC_KEY in "0001" "0002" "0003"; do
|
||||
rlPhaseStartTest "$BACKEND: $METHOD: Encrypt & Decrypt (KEY $ENC_KEY)"
|
||||
# OpenSSL Encryption
|
||||
rlRun "openssl rsautl -encrypt -pubin -inkey $ENC_KEY.pub -in data \
|
||||
-out data.crypt"
|
||||
rlRun "$PKCS11_TOOL --id $ENC_KEY --decrypt -p $PIN -m $METHOD \
|
||||
--module $P11LIB --input-file data.crypt > data.decrypted"
|
||||
rlRun "diff data{,.decrypted}"
|
||||
rlRun "rm data.{crypt,decrypted}"
|
||||
|
||||
# TODO pkcs11-tool encryption
|
||||
rlPhaseEnd
|
||||
done
|
||||
done
|
||||
|
||||
rlPhaseStartCleanup "Cleanup $BACKEND"
|
||||
card_cleanup $BACKEND
|
||||
rlRun "popd"
|
||||
rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
|
||||
rlPhaseEnd
|
||||
done
|
||||
rlJournalPrintText
|
||||
rlJournalEnd
|
2
tests/pkcs11-tool/virtcacard.cil
Normal file
2
tests/pkcs11-tool/virtcacard.cil
Normal file
@ -0,0 +1,2 @@
|
||||
(allow pcscd_t node_t (tcp_socket (node_bind)))
|
||||
|
29
tests/tests.yml
Normal file
29
tests/tests.yml
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
# Tests for docker container
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- container
|
||||
# no compatible tests
|
||||
|
||||
# Tests for classic environment and Atomic Host
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- all
|
||||
- classic
|
||||
- atomic
|
||||
roles:
|
||||
- role: standard-test-beakerlib
|
||||
tests:
|
||||
- pkcs11-tool
|
||||
required_packages:
|
||||
- softhsm # software PKCS#11 module
|
||||
- openssl # openssl tools
|
||||
- gnutls-utils # p11tool
|
||||
- opencryptoki-libs # opencryptoki
|
||||
- opencryptoki
|
||||
- opencryptoki-swtok
|
||||
- libcacard
|
||||
- softhsm
|
||||
- nss-tools # Handling NSS DB
|
||||
- policycoreutils # Loading custom selinux modules
|
||||
|
Loading…
Reference in New Issue
Block a user