b9ab58
Name:			opencryptoki
b9ab58
Summary:		Implementation of the PKCS#11 (Cryptoki) specification v3.0
397a93
Version:		3.19.0
397a93
Release:		2%{?dist}
b9ab58
License:		CPL
b9ab58
URL:			https://github.com/opencryptoki/opencryptoki
b9ab58
Source0:		https://github.com/opencryptoki/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
b9ab58
# https://bugzilla.redhat.com/show_bug.cgi?id=732756
b9ab58
Patch0:			opencryptoki-3.11.0-group.patch
b9ab58
# bz#1373833, change tmpfiles snippets from /var/lock/* to /run/lock/*
b9ab58
Patch1:			opencryptoki-3.11.0-lockdir.patch
4ed4d8
# add missing p11sak_defined_attrs.conf, strength.conf
4ed4d8
Patch2:			opencryptoki-3.18.0-p11sak.patch
b9ab58
# upstream patches
397a93
Patch100:		opencryptoki-3.19.0-fix-memory-leak.patch
397a93
Patch101:		0001-EP11-Unify-key-pair-generation-functions.patch
397a93
Patch102:		0002-EP11-Do-not-report-DSA-DH-parameter-generation-as-be.patch
397a93
Patch103:		0003-EP11-Do-not-pass-empty-CKA_PUBLIC_KEY_INFO-to-EP11-h.patch
397a93
Patch104:		0004-Mechtable-CKM_IBM_DILITHIUM-can-also-be-used-for-key.patch
397a93
Patch105:		0005-EP11-Remove-DSA-DH-parameter-generation-mechanisms-f.patch
397a93
Patch106:		0006-EP11-Pass-back-chain-code-for-CKM_IBM_BTC_DERIVE.patch
397a93
Patch107:		0007-EP11-Supply-CKA_PUBLIC_KEY_INFO-with-CKM_IBM_BTC_DER.patch
397a93
Patch108:		0008-EP11-Supply-CKA_PUBLIC_KEY_INFO-when-importing-priva.patch
397a93
Patch109:		0009-EP11-Fix-memory-leak-introduced-with-recent-commit.patch
397a93
Patch110:		0010-p11sak-Fix-segfault-when-dilithium-version-is-not-sp.patch
397a93
Patch111:		0011-EP11-remove-dead-code-and-unused-variables.patch
397a93
Patch112:		0012-EP11-Update-EP11-host-library-header-files.patch
397a93
Patch113:		0013-EP11-Support-EP11-host-library-version-4.patch
397a93
Patch114:		0014-EP11-Add-new-control-points.patch
397a93
Patch115:		0015-EP11-Default-unknown-CPs-to-ON.patch
397a93
Patch116:		0016-COMMON-Add-defines-for-Dilithium-round-2-and-3-varia.patch
397a93
Patch117:		0017-COMMON-Add-defines-for-Kyber.patch
397a93
Patch118:		0018-COMMON-Add-post-quantum-algorithm-OIDs.patch
397a93
Patch119:		0019-COMMON-Dilithium-key-BER-encoding-decoding-allow-dif.patch
397a93
Patch120:		0020-COMMON-EP11-Add-CKA_VALUE-holding-SPKI-PKCS-8-of-key.patch
397a93
Patch121:		0021-COMMON-EP11-Allow-to-select-Dilithium-variant-via-mo.patch
397a93
Patch122:		0022-EP11-Query-supported-PQC-variants-and-restrict-usage.patch
397a93
Patch123:		0023-POLICY-Dilithium-strength-and-signature-size-depends.patch
397a93
Patch124:		0024-TESTCASES-Test-Dilithium-variants.patch
397a93
Patch125:		0025-COMMON-EP11-Add-Kyber-key-type-and-mechanism.patch
397a93
Patch126:		0026-EP11-Add-support-for-generating-and-importing-Kyber-.patch
397a93
Patch127:		0027-EP11-Add-support-for-encrypt-decrypt-and-KEM-operati.patch
397a93
Patch128:		0028-POLICY-STATISTICS-Check-for-Kyber-KEM-KDFs-and-count.patch
397a93
Patch129:		0029-TESTCASES-Add-tests-for-CKM_IBM_KYBER.patch
397a93
Patch130:		0030-p11sak-Support-additional-Dilithium-variants.patch
397a93
Patch131:		0031-p11sak-Add-support-for-IBM-Kyber-key-type.patch
397a93
Patch132:		0032-testcase-Enhance-p11sak-testcase-to-generate-IBM-Kyb.patch
397a93
Patch133:		0033-EP11-Supply-CKA_PUBLIC_KEY_INFO-with-CKM_IBM_BTC_DER.patch
397a93
Patch134:		0034-EP11-Fix-setting-unknown-CPs-to-ON.patch
4ed4d8
4ed4d8
Requires(pre):		coreutils diffutils
b9ab58
Requires: 		(selinux-policy >= 34.1.8-1 if selinux-policy-targeted)
b9ab58
BuildRequires:		gcc
b9ab58
BuildRequires:		gcc-c++
b9ab58
BuildRequires:		openssl-devel >= 1.1.1
b9ab58
%if 0%{?tmptok}
b9ab58
BuildRequires:		trousers-devel
b9ab58
%endif
b9ab58
BuildRequires:		openldap-devel
b9ab58
BuildRequires:		autoconf automake libtool
b9ab58
BuildRequires:		bison flex
b9ab58
BuildRequires:		systemd-devel
b9ab58
BuildRequires:		libitm-devel
b9ab58
BuildRequires:		expect
b9ab58
BuildRequires:		make
b9ab58
%ifarch s390 s390x
b9ab58
BuildRequires:		libica-devel >= 3.3
b9ab58
%endif
b9ab58
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Requires:		%{name}(token)
b9ab58
Requires(post):		systemd
b9ab58
Requires(preun):	systemd
b9ab58
Requires(postun):	systemd
b9ab58
b9ab58
b9ab58
%description
b9ab58
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
b9ab58
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
b9ab58
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
b9ab58
token implementation that can be used without any cryptographic
b9ab58
hardware.
b9ab58
This package contains the Slot Daemon (pkcsslotd) and general utilities.
b9ab58
b9ab58
b9ab58
%package libs
b9ab58
Summary:		The run-time libraries for opencryptoki package
b9ab58
Requires(pre):	shadow-utils
b9ab58
b9ab58
%description libs
b9ab58
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
b9ab58
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
b9ab58
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
b9ab58
token implementation that can be used without any cryptographic
b9ab58
hardware.
b9ab58
This package contains the PKCS#11 library implementation, and requires
b9ab58
at least one token implementation (packaged separately) to be fully
b9ab58
functional.
b9ab58
b9ab58
b9ab58
%package devel
b9ab58
Summary:		Development files for openCryptoki
b9ab58
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
b9ab58
%description devel
b9ab58
This package contains the development header files for building
b9ab58
opencryptoki and PKCS#11 based applications
b9ab58
b9ab58
b9ab58
%package swtok
b9ab58
Summary:		The software token implementation for opencryptoki
b9ab58
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Provides:		%{name}(token)
b9ab58
b9ab58
%description swtok
b9ab58
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
b9ab58
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
b9ab58
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
b9ab58
token implementation that can be used without any cryptographic
b9ab58
hardware.
b9ab58
This package brings the software token implementation to use opencryptoki
b9ab58
without any specific cryptographic hardware.
b9ab58
b9ab58
b9ab58
%package tpmtok
b9ab58
Summary:		Trusted Platform Module (TPM) device support for opencryptoki
b9ab58
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Provides:		%{name}(token)
b9ab58
b9ab58
%description tpmtok
b9ab58
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
b9ab58
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
b9ab58
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
b9ab58
token implementation that can be used without any cryptographic
b9ab58
hardware.
b9ab58
This package brings the necessary libraries and files to support
b9ab58
Trusted Platform Module (TPM) devices in the opencryptoki stack.
b9ab58
b9ab58
b9ab58
%package icsftok
b9ab58
Summary:		ICSF token support for opencryptoki
b9ab58
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Provides:		%{name}(token)
b9ab58
b9ab58
%description icsftok
b9ab58
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
b9ab58
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
b9ab58
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
b9ab58
token implementation that can be used without any cryptographic
b9ab58
hardware.
b9ab58
This package brings the necessary libraries and files to support
b9ab58
ICSF token in the opencryptoki stack.
b9ab58
b9ab58
b9ab58
%ifarch s390 s390x
b9ab58
%package icatok
b9ab58
Summary:		ICA cryptographic devices (clear-key) support for opencryptoki
b9ab58
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Provides:		%{name}(token)
b9ab58
b9ab58
%description icatok
b9ab58
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
b9ab58
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
b9ab58
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
b9ab58
token implementation that can be used without any cryptographic
b9ab58
hardware.
b9ab58
This package brings the necessary libraries and files to support ICA
b9ab58
devices in the opencryptoki stack. ICA is an interface to IBM
b9ab58
cryptographic hardware such as IBM 4764 or 4765 that uses the
b9ab58
"accelerator" or "clear-key" path.
b9ab58
b9ab58
%package ccatok
b9ab58
Summary:		CCA cryptographic devices (secure-key) support for opencryptoki
b9ab58
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Provides:		%{name}(token)
b9ab58
b9ab58
%description ccatok
b9ab58
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
b9ab58
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
b9ab58
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
b9ab58
token implementation that can be used without any cryptographic
b9ab58
hardware.
b9ab58
This package brings the necessary libraries and files to support CCA
b9ab58
devices in the opencryptoki stack. CCA is an interface to IBM
b9ab58
cryptographic hardware such as IBM 4764 or 4765 that uses the
b9ab58
"co-processor" or "secure-key" path.
b9ab58
b9ab58
%package ep11tok
b9ab58
Summary:		CCA cryptographic devices (secure-key) support for opencryptoki
b9ab58
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
b9ab58
Provides:		%{name}(token)
b9ab58
b9ab58
%description ep11tok
b9ab58
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
b9ab58
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
b9ab58
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
b9ab58
token implementation that can be used without any cryptographic
b9ab58
hardware.
b9ab58
This package brings the necessary libraries and files to support EP11
b9ab58
tokens in the opencryptoki stack. The EP11 token is a token that uses
b9ab58
the IBM Crypto Express adapters (starting with Crypto Express 4S adapters)
b9ab58
configured with Enterprise PKCS#11 (EP11) firmware.
b9ab58
%endif
b9ab58
b9ab58
b9ab58
%prep
b9ab58
%autosetup -p1
b9ab58
b9ab58
b9ab58
%build
b9ab58
./bootstrap.sh
b9ab58
b9ab58
%configure --with-systemd=%{_unitdir} --enable-testcases	\
b9ab58
%if 0%{?tpmtok}
b9ab58
    --enable-tpmtok \
b9ab58
%else
b9ab58
    --disable-tpmtok \
b9ab58
%endif
b9ab58
%ifarch s390 s390x
b9ab58
    --enable-icatok --enable-ccatok --enable-ep11tok --enable-pkcsep11_migrate
b9ab58
%else
b9ab58
    --disable-icatok --disable-ccatok --disable-ep11tok --disable-pkcsep11_migrate
b9ab58
%endif
b9ab58
b9ab58
%make_build CHGRP=/bin/true
b9ab58
b9ab58
b9ab58
%install
b9ab58
%make_install CHGRP=/bin/true
b9ab58
59f042
%pre
59f042
# don't touch opencryptoki.conf even if it is unchanged due to new tokversion
59f042
# backup config file
59f042
%global cfile /etc/opencryptoki/opencryptoki.conf
59f042
%global csuffix .rpmsave.XyoP
59f042
if test $1 -gt 1 && test -f %{cfile} ; then
59f042
    cp -p %{cfile} %{cfile}%{csuffix}
59f042
fi
b9ab58
b9ab58
%pre libs
b9ab58
getent group pkcs11 >/dev/null || groupadd -r pkcs11
b9ab58
exit 0
b9ab58
b9ab58
%post
59f042
# restore the config file from %pre
59f042
if test $1 -gt 1 && test -f %{cfile} ; then
59f042
    if ( ! cmp -s %{cfile} %{cfile}%{csuffix} ) ; then
59f042
        cp -p %{cfile} %{cfile}.rpmnew
59f042
    fi
59f042
    cp -p %{cfile}%{csuffix} %{cfile} && rm -f %{cfile}%{csuffix}
59f042
fi
59f042
b9ab58
%systemd_post pkcsslotd.service
b9ab58
if test $1 -eq 1; then
b9ab58
	%tmpfiles_create %{name}.conf
b9ab58
fi
b9ab58
b9ab58
%preun
b9ab58
%systemd_preun pkcsslotd.service
b9ab58
b9ab58
%postun
b9ab58
%systemd_postun_with_restart pkcsslotd.service
b9ab58
b9ab58
b9ab58
%files
b9ab58
%doc ChangeLog FAQ README.md
b9ab58
%doc doc/opencryptoki-howto.md
b9ab58
%doc doc/README.token_data
4ed4d8
%doc %{_docdir}/%{name}/*.conf
b9ab58
%dir %{_sysconfdir}/%{name}
b9ab58
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
b9ab58
%attr(0640, root, pkcs11) %config(noreplace) %{_sysconfdir}/%{name}/p11sak_defined_attrs.conf
4ed4d8
%attr(0640, root, pkcs11) %config(noreplace) %{_sysconfdir}/%{name}/strength.conf
b9ab58
%{_tmpfilesdir}/%{name}.conf
b9ab58
%{_unitdir}/pkcsslotd.service
b9ab58
%{_sbindir}/p11sak
b9ab58
%{_sbindir}/pkcstok_migrate
b9ab58
%{_sbindir}/pkcsconf
b9ab58
%{_sbindir}/pkcsslotd
4ed4d8
%{_sbindir}/pkcsstats
b9ab58
%{_mandir}/man1/p11sak.1*
b9ab58
%{_mandir}/man1/pkcstok_migrate.1*
b9ab58
%{_mandir}/man1/pkcsconf.1*
4ed4d8
%{_mandir}/man1/pkcsstats.1*
4ed4d8
%{_mandir}/man5/policy.conf.5*
4ed4d8
%{_mandir}/man5/strength.conf.5*
b9ab58
%{_mandir}/man5/%{name}.conf.5*
b9ab58
%{_mandir}/man5/p11sak_defined_attrs.conf.5*
b9ab58
%{_mandir}/man7/%{name}.7*
b9ab58
%{_mandir}/man8/pkcsslotd.8*
b9ab58
%{_libdir}/opencryptoki/methods
b9ab58
%{_libdir}/pkcs11/methods
b9ab58
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}
b9ab58
%ghost %dir %attr(770,root,pkcs11) %{_rundir}/lock/%{name}
b9ab58
%ghost %dir %attr(770,root,pkcs11) %{_rundir}/lock/%{name}/*
b9ab58
%dir %attr(770,root,pkcs11) %{_localstatedir}/log/opencryptoki
b9ab58
b9ab58
%files libs
b9ab58
%license LICENSE
b9ab58
%{_sysconfdir}/ld.so.conf.d/*
b9ab58
# Unversioned .so symlinks usually belong to -devel packages, but opencryptoki
b9ab58
# needs them in the main package, because:
b9ab58
#   documentation suggests that programs should dlopen "PKCS11_API.so".
b9ab58
%dir %{_libdir}/opencryptoki
b9ab58
%{_libdir}/opencryptoki/libopencryptoki.*
b9ab58
%{_libdir}/opencryptoki/PKCS11_API.so
b9ab58
%dir %{_libdir}/opencryptoki/stdll
b9ab58
%dir %{_libdir}/pkcs11
b9ab58
%{_libdir}/pkcs11/libopencryptoki.so
b9ab58
%{_libdir}/pkcs11/PKCS11_API.so
b9ab58
%{_libdir}/pkcs11/stdll
b9ab58
b9ab58
%files devel
b9ab58
%{_includedir}/%{name}/
397a93
%{_libdir}/pkgconfig/%{name}.pc
b9ab58
b9ab58
%files swtok
b9ab58
%{_libdir}/opencryptoki/stdll/libpkcs11_sw.*
b9ab58
%{_libdir}/opencryptoki/stdll/PKCS11_SW.so
b9ab58
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/swtok/
b9ab58
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/swtok/TOK_OBJ/
b9ab58
b9ab58
%if 0%{?tmptok}
b9ab58
%files tpmtok
b9ab58
%doc doc/README.tpm_stdll
b9ab58
%{_libdir}/opencryptoki/stdll/libpkcs11_tpm.*
b9ab58
%{_libdir}/opencryptoki/stdll/PKCS11_TPM.so
b9ab58
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/tpm/
b9ab58
%endif
b9ab58
b9ab58
%files icsftok
b9ab58
%doc doc/README.icsf_stdll
b9ab58
%{_sbindir}/pkcsicsf
b9ab58
%{_mandir}/man1/pkcsicsf.1*
b9ab58
%{_libdir}/opencryptoki/stdll/libpkcs11_icsf.*
b9ab58
%{_libdir}/opencryptoki/stdll/PKCS11_ICSF.so
b9ab58
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/icsf/
b9ab58
b9ab58
%ifarch s390 s390x
b9ab58
%files icatok
b9ab58
%{_libdir}/opencryptoki/stdll/libpkcs11_ica.*
b9ab58
%{_libdir}/opencryptoki/stdll/PKCS11_ICA.so
b9ab58
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/lite/
b9ab58
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/lite/TOK_OBJ/
b9ab58
b9ab58
%files ccatok
b9ab58
%doc doc/README.cca_stdll
397a93
%config(noreplace) %{_sysconfdir}/%{name}/ccatok.conf
b9ab58
%{_sbindir}/pkcscca
b9ab58
%{_mandir}/man1/pkcscca.1*
b9ab58
%{_libdir}/opencryptoki/stdll/libpkcs11_cca.*
b9ab58
%{_libdir}/opencryptoki/stdll/PKCS11_CCA.so
b9ab58
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ccatok/
b9ab58
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ccatok/TOK_OBJ/
b9ab58
b9ab58
%files ep11tok
b9ab58
%doc doc/README.ep11_stdll
b9ab58
%config(noreplace) %{_sysconfdir}/%{name}/ep11tok.conf
b9ab58
%config(noreplace) %{_sysconfdir}/%{name}/ep11cpfilter.conf
b9ab58
%{_sbindir}/pkcsep11_migrate
b9ab58
%{_sbindir}/pkcsep11_session
b9ab58
%{_mandir}/man1/pkcsep11_migrate.1*
b9ab58
%{_mandir}/man1/pkcsep11_session.1*
b9ab58
%{_libdir}/opencryptoki/stdll/libpkcs11_ep11.*
b9ab58
%{_libdir}/opencryptoki/stdll/PKCS11_EP11.so
b9ab58
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ep11tok/
b9ab58
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ep11tok/TOK_OBJ/
b9ab58
%endif
b9ab58
b9ab58
b9ab58
%changelog
397a93
* Mon Jan 30 2023 Than Ngo <than@redhat.com> - 3.19.0-2
397a93
- Resolves: #2044182, Support of ep11 token for new IBM Z Hardware (IBM z16) 
397a93
397a93
* Tue Oct 11 2022 Than Ngo <than@redhat.com> - 3.19.0-1
397a93
- Resolves: #2126294, opencryptoki fails after generating > 500 RSA keys
397a93
- Resolves: #2110314, rebase to 3.19.0
397a93
- Resolves: #2110989, openCryptoki key generation with expected MKVP only on CCA and EP11 tokens
397a93
- Resolves: #2110476, openCryptoki ep11 token: master key consistency
397a93
- Resolves: #2018458, openCryptoki ep11 token: vendor specific key derivation
5b2e5a
4ed4d8
* Fri Jul 29 2022 Than Ngo <than@redhat.com> - 3.18.0-4
4ed4d8
- Related: #2044179, do not touch opencryptoki.conf if it is in place already and even if it is unchanged
4ed4d8
4ed4d8
* Tue Jun 07 2022 Than Ngo <than@redhat.com> - 3.18.0-3
4ed4d8
- Related: #2044179, fix json output
4ed4d8
4ed4d8
* Mon May 09 2022 Than Ngo <than@redhat.com> - 3.18.0-2
4ed4d8
- Related: #2044179, add missing strength.conf
59f042
4ed4d8
* Mon May 09 2022 Than Ngo <than@redhat.com> - 3.18.0-1
4ed4d8
- Resolves: #2044179, rebase to 3.18.0
4ed4d8
- Resolves: #2068091, pkcsconf -t failed with Segmentation fault in FIPS mode
4ed4d8
- Resolves: #2066763, Dilithium support not available
4ed4d8
- Resolves: #2064697, OpenSSL 3.0 Compatibility for IBM Security Libraries and Tools
4ed4d8
- Resolves: #2044181, support crypto profiles
4ed4d8
- Resolves: #2044180, add crypto counters
132e26
62231d
* Tue May 03 2022 Than Ngo <than@redhat.com> - 3.17.0-6
4ed4d8
- Resolves: #2066763, Dilithium support not available
62231d
b9ab58
* Mon Mar 14 2022 Than Ngo <than@redhat.com> - 3.17.0-5
4ed4d8
- Resolves: #2064697, ICA/EP11: Support libica version 4
b9ab58
b9ab58
* Mon Jan 17 2022 Than Ngo <than@redhat.com> - 3.17.0-4
b9ab58
- Resolves: #2040678, API: Unlock GlobMutex if user and group check fails
b9ab58
b9ab58
* Sat Dec 04 2021 Than Ngo <than@redhat.com> - 3.17.0-3
b9ab58
- Related: #2015888, added missing patch pkcsslotd-pidfile
b9ab58
b9ab58
* Wed Nov 24 2021 Than Ngo <than@redhat.com> - 3.17.0-2
b9ab58
- Related: #2015888, add missing p11sak_defined_attrs.conf
b9ab58
b9ab58
* Wed Nov 03 2021 Than Ngo <than@redhat.com> - 3.17.0-1
b9ab58
- Resolves: #2015888, rebase to 3.17.0
b9ab58
- Resolves: #2017720, openCryptoki key management tool 
b9ab58
b9ab58
* Thu Aug 26 2021 Than Ngo <than@redhat.com> - 3.16.0-12
b9ab58
- Related: #1989138, Support for OpenSSL 3.0
b9ab58
b9ab58
* Mon Aug 23 2021 Than Ngo <than@redhat.com> - 3.16.0-11
b9ab58
- Resolves: #1989138, Support for OpenSSL 3.0
b9ab58
b9ab58
* Thu Aug 19 2021 Than Ngo <than@redhat.com> - 3.16.0-10
b9ab58
- Resolves: #1987186, pkcstok_migrate leaves options with multiple strings in opencryptoki.conf options without double-quotes
b9ab58
b9ab58
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.16.0-9
b9ab58
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b9ab58
  Related: rhbz#1991688
b9ab58
b9ab58
* Wed Jul 28 2021 Florian Weimer <fweimer@redhat.com> - 3.16.0-8
b9ab58
- Rebuild to pick up OpenSSL 3.0 Beta ABI (#1984097)
b9ab58
b9ab58
* Fri Jul 16 2021 Than Ngo <than@redhat.com> - 3.16.0-7
b9ab58
- Resolves: #1974365, Fix detection if pkcsslotd is still running
b9ab58
b9ab58
* Fri Jun 25 2021 Than Ngo <than@redhat.com> - 3.16.0-6
b9ab58
- Resolves: #1974693, pkcsslotd PIDfile below legacy directory /var/run/
b9ab58
b9ab58
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.16.0-5
b9ab58
- Rebuilt for RHEL 9 BETA for openssl 3.0
b9ab58
  Related: rhbz#1971065
b9ab58
b9ab58
* Tue Jun 15 2021 Than Ngo <than@redhat.com> - 3.16.0-4
b9ab58
- Related: #1924120, add conditional requirement on new selinux-policy
b9ab58
b9ab58
* Mon May 17 2021 Than Ngo <than@redhat.com> - 3.16.0-3
b9ab58
- Resolves: #1959894, Soft token does not check if an EC key is valid
b9ab58
- Resolves: #1924120, Event Notification Support
b9ab58
b9ab58
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.16.0-2
b9ab58
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
b9ab58
b9ab58
* Wed Mar 31 2021 Dan Horák <dan[at]danny.cz> - 3.16.0-1
b9ab58
- Rebase to 3.16.0
b9ab58
b9ab58
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.15.1-6
b9ab58
- Rebuilt for updated systemd-rpm-macros
b9ab58
  See https://pagure.io/fesco/issue/2583.
b9ab58
b9ab58
* Fri Feb 12 2021 Than Ngo <than@redhat.com> - 3.15.1-5
b9ab58
- Added upstream patch, a slot ID has nothing to do with the number of slots
b9ab58
b9ab58
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.15.1-4
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b9ab58
b9ab58
* Tue Dec 22 2020 Than Ngo <than@redhat.com> - 3.15.1-3
b9ab58
- Drop tpm1.2 support by default
b9ab58
b9ab58
* Tue Dec 22 2020 Than Ngo <than@redhat.com> - 3.15.1-2
b9ab58
- Fix compiling with c++
b9ab58
- Added error message handling for p11sak remove-key command
b9ab58
- Add BR on make
b9ab58
b9ab58
* Mon Nov 02 2020 Than Ngo <than@redhat.com> - 3.15.1-1
b9ab58
- Rebase to 3.15.1
b9ab58
b9ab58
* Mon Oct 19 2020 Dan Horák <dan[at]danny.cz> - 3.15.0-1
b9ab58
- Rebase to 3.15.0
b9ab58
b9ab58
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.14.0-6
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b9ab58
b9ab58
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 3.14.0-5
b9ab58
- Use make macros
b9ab58
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
b9ab58
b9ab58
* Wed Jul 08 2020 Than Ngo <than@redhat.com> - 3.14.0-4
b9ab58
- added PIN conversion tool
b9ab58
b9ab58
* Wed Jul 01 2020 Than Ngo <than@redhat.com> - 3.14.0-3
b9ab58
- upstream fix - handle early error cases in C_Initialize
b9ab58
b9ab58
* Wed May 27 2020 Than Ngo <than@redhat.com> - 3.14.0-2
b9ab58
- fix regression, segfault in C_SetPin
b9ab58
b9ab58
* Fri May 15 2020 Dan Horák <dan[at]danny.cz> - 3.14.0-1
b9ab58
- Rebase to 3.14.0
b9ab58
b9ab58
* Fri Mar 06 2020 Dan Horák <dan[at]danny.cz> - 3.13.0-1
b9ab58
- Rebase to 3.13.0
b9ab58
b9ab58
* Mon Feb 03 2020 Dan Horák <dan[at]danny.cz> - 3.12.1-3
b9ab58
- fix build with gcc 10
b9ab58
b9ab58
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.1-2
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b9ab58
b9ab58
* Wed Nov 27 2019 Dan Horák <dan[at]danny.cz> - 3.12.1-1
b9ab58
- Rebase to 3.12.1
b9ab58
b9ab58
* Wed Nov 13 2019 Dan Horák <dan[at]danny.cz> - 3.12.0-1
b9ab58
- Rebase to 3.12.0
b9ab58
b9ab58
* Sun Sep 22 2019 Dan Horák <dan[at]danny.cz> - 3.11.1-1
b9ab58
- Rebase to 3.11.1
b9ab58
b9ab58
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-5
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b9ab58
b9ab58
* Thu Mar 28 2019 Than Ngo <than@redhat.com> - 3.11.0-4
b9ab58
- enable testcase by default
b9ab58
- fix URL
b9ab58
b9ab58
* Tue Feb 19 2019 Than Ngo <than@redhat.com> - 3.11.0-3
b9ab58
- Resolved #1063763 - opencryptoki tools should inform the user that he is not in pkcs11 group
b9ab58
b9ab58
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-2
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b9ab58
b9ab58
* Thu Jan 31 2019 Than Ngo <than@redhat.com> - 3.11.0-1
b9ab58
- Updated to 3.11.0
b9ab58
- Resolved #1341079 - Failed to create directory or subvolume "/var/lock/opencryptoki"
b9ab58
- Ported root's group membership's patch for 3.11.0
b9ab58
b9ab58
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.0-2
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b9ab58
b9ab58
* Tue Jun 12 2018 Dan Horák <dan[at]danny.cz> - 3.10.0-1
b9ab58
- Rebase to 3.10.0
b9ab58
b9ab58
* Fri Feb 23 2018 Dan Horák <dan[at]danny.cz> - 3.9.0-1
b9ab58
- Rebase to 3.9.0
b9ab58
b9ab58
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.2-3
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b9ab58
b9ab58
* Fri Nov 24 2017 Dan Horák <dan[at]danny.cz> - 3.8.2-2
b9ab58
- use upstream tmpfiles config
b9ab58
b9ab58
* Thu Nov 23 2017 Dan Horák <dan[at]danny.cz> - 3.8.2-1
b9ab58
- Rebase to 3.8.2 (#1512678)
b9ab58
b9ab58
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-3
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b9ab58
b9ab58
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-2
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b9ab58
b9ab58
* Wed May 17 2017 Sinny Kumari <sinny@redhat.com> - 3.7.0-1
b9ab58
- Rebase to 3.7.0
b9ab58
- Added libitm-devel as BuildRequires
b9ab58
b9ab58
* Mon Apr 03 2017 Sinny Kumari <sinny@redhat.com> - 3.6.2-1
b9ab58
- Rebase to 3.6.2
b9ab58
- RHBZ#1424017 - opencryptoki: FTBFS in rawhide
b9ab58
b9ab58
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-2
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b9ab58
b9ab58
* Thu Sep 01 2016 Jakub Jelen <jjelen@redhat.com> - 3.5.1-1
b9ab58
- New upstream release
b9ab58
b9ab58
* Tue May 03 2016 Jakub Jelen <jjelen@redhat.com> - 3.5-1
b9ab58
- New upstream release
b9ab58
b9ab58
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-2
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b9ab58
b9ab58
* Mon Dec 07 2015 Jakub Jelen <jjelen@redhat.com> 3.4.1-1
b9ab58
- New bugfix upstream release
b9ab58
b9ab58
* Wed Nov 18 2015 Jakub Jelen <jjelen@redhat.com> 3.4-1
b9ab58
- New upstream release
b9ab58
- Adding post-release patch fixing compile warnings
b9ab58
b9ab58
* Thu Aug 27 2015 Jakub Jelen <jjelen@redhat.com> 3.3-1.1
b9ab58
- New upstream release
b9ab58
- Correct dependencies for group creation
b9ab58
b9ab58
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-4
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b9ab58
b9ab58
* Thu May 07 2015 Jakub Jelen <jjelen@redhat.com> 3.2-3
b9ab58
- Few more undefined symbols fixed for s390(x) specific targets
b9ab58
- Do not require --no-undefined, because s390(x) requires some
b9ab58
b9ab58
* Mon May 04 2015 Jakub Jelen <jjelen@redhat.com> 3.2-2
b9ab58
- Fix missing sources and libraries in makefiles causing undefined symbols (#1193560)
b9ab58
- Make inline function compatible for GCC5
b9ab58
b9ab58
* Wed Sep 10 2014 Petr Lautrbach <plautrba@redhat.com> 3.2-1
b9ab58
- new upstream release 3.2
b9ab58
- add new sub-package opencryptoki-ep11tok on s390x
b9ab58
b9ab58
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b9ab58
b9ab58
* Thu Jul 24 2014 Petr Lautrbach <plautrba@redhat.com> 3.1-1
b9ab58
- new upstream release 3.1
b9ab58
b9ab58
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-11
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b9ab58
b9ab58
* Mon Feb 17 2014 Petr Lautrbach <plautrba@redhat.com> 3.0-10
b9ab58
- create the right lock directory for cca tokens (#1054442)
b9ab58
b9ab58
* Wed Jan 29 2014 Petr Lautrbach <plautrba@redhat.com> 3.0-9
b9ab58
- use Requires(pre): opencryptoki-libs for subpackages
b9ab58
b9ab58
* Mon Jan 20 2014 Dan Horák <dan[at]danny.cz> - 3.0-8
b9ab58
- include token specific directories (#1013017, #1045775, #1054442)
b9ab58
- fix pkcsconf crash for non-root users (#10054661)
b9ab58
- the libs subpackage must care of creating the pkcs11 group, it's the first to be installed
b9ab58
b9ab58
* Tue Dec 03 2013 Dan Horák <dan[at]danny.cz> - 3.0-7
b9ab58
- fix build with -Werror=format-security (#1037228)
b9ab58
b9ab58
* Fri Nov 22 2013 Dan Horák <dan[at]danny.cz> - 3.0-6
b9ab58
- apply post-3.0 fixes (#1033284)
b9ab58
b9ab58
* Tue Nov 19 2013 Dan Horák <dan[at]danny.cz> - 3.0-5
b9ab58
- update opencryptoki man page (#1001729)
b9ab58
b9ab58
* Fri Aug 23 2013 Dan Horák <dan[at]danny.cz> - 3.0-4
b9ab58
- update unit file (#995002)
b9ab58
b9ab58
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-3
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b9ab58
b9ab58
* Tue Jul 23 2013 Dan Horák <dan[at]danny.cz> - 3.0-2
b9ab58
- update pkcsconf man page (#948460)
b9ab58
b9ab58
* Mon Jul 22 2013 Dan Horák <dan[at]danny.cz> - 3.0-1
b9ab58
- new upstream release 3.0
b9ab58
b9ab58
* Tue Jun 25 2013 Dan Horák <dan[at]danny.cz> - 2.4.3.1-1
b9ab58
- new upstream release 2.4.3.1
b9ab58
b9ab58
* Fri May 03 2013 Dan Horák <dan[at]danny.cz> - 2.4.3-1
b9ab58
- new upstream release 2.4.3
b9ab58
b9ab58
* Thu Apr 04 2013 Dan Horák <dan[at]danny.cz> - 2.4.2-4
b9ab58
- enable hardened build
b9ab58
- switch to systemd macros in scriptlets (#850240)
b9ab58
b9ab58
* Mon Jan 28 2013 Dan Horák <dan[at]danny.cz> - 2.4.2-3
b9ab58
- add virtual opencryptoki(token) Provides to token modules and as Requires
b9ab58
  to main package (#904986)
b9ab58
b9ab58
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-2
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b9ab58
b9ab58
* Thu Jun 21 2012 Dan Horák <dan[at]danny.cz> - 2.4.2-1
b9ab58
- new upstream release 2.4.2
b9ab58
- add pkcs_slot man page
b9ab58
- don't add root to the pkcs11 group
b9ab58
b9ab58
* Mon Jun 11 2012 Dan Horák <dan[at]danny.cz> - 2.4.1-2
b9ab58
- fix unresolved symbols in TPM module (#830129)
b9ab58
b9ab58
* Sat Feb 25 2012 Dan Horák <dan[at]danny.cz> - 2.4.1-1
b9ab58
- new upstream release 2.4.1
b9ab58
- convert from initscript to systemd unit
b9ab58
- import fixes from RHEL-6 about root's group membership (#732756, #730903)
b9ab58
b9ab58
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b9ab58
b9ab58
* Thu Jul 07 2011 Dan Horák <dan[at]danny.cz> - 2.4-1
b9ab58
- new upstream release 2.4
b9ab58
b9ab58
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-2
b9ab58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b9ab58
b9ab58
* Mon Jan 17 2011 Dan Horák <dan[at]danny.cz> 2.3.3-1
b9ab58
- new upstream release 2.3.3
b9ab58
b9ab58
* Tue Nov 09 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.2-2
b9ab58
- Apply Obsoletes to package names, not provides.
b9ab58
b9ab58
* Tue Sep 14 2010 Dan Horák <dan[at]danny.cz> 2.3.2-1
b9ab58
- new upstream release 2.3.2
b9ab58
- put STDLLs in separate packages to match upstream package design
b9ab58
b9ab58
* Thu Jul 08 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-7
b9ab58
- Move the LICENSE file to the -libs subpackage.
b9ab58
b9ab58
* Tue Jun 29 2010 Dan Horák <dan[at]danny.cz> 2.3.1-6
b9ab58
- rebuilt with CCA enabled (#604287)
b9ab58
- fixed issues from #546274
b9ab58
b9ab58
* Fri Apr 30 2010 Dan Horák <dan[at]danny.cz> 2.3.1-5
b9ab58
- fixed one more issue in the initscript (#547324)
b9ab58
b9ab58
* Mon Apr 26 2010 Dan Horák <dan[at]danny.cz> 2.3.1-4
b9ab58
- fixed pidfile creating and usage (#547324)
b9ab58
b9ab58
* Mon Feb 08 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-3
b9ab58
- Also list 'reload' and 'force-reload' in "Usage: ...".
b9ab58
b9ab58
* Mon Feb 08 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-2
b9ab58
- Support 'force-reload' in the initscript.
b9ab58
b9ab58
* Wed Jan 27 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-1
b9ab58
- New upstream release 2.3.1.
b9ab58
- opencryptoki-2.3.0-fix-nss-breakage.patch was merged.
b9ab58
b9ab58
* Fri Jan 22 2010 Dan Horák <dan[at]danny.cz> 2.3.0-5
b9ab58
- made pkcsslotd initscript LSB compliant (#522149)
b9ab58
b9ab58
* Mon Sep 07 2009 Michal Schmidt <mschmidt@redhat.com> 2.3.0-4
b9ab58
- Added opencryptoki-2.3.0-fix-nss-breakage.patch on upstream request.
b9ab58
b9ab58
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.3.0-3
b9ab58
- rebuilt with new openssl
b9ab58
b9ab58
* Sun Aug 16 2009 Michal Schmidt <mschmidt@redhat.com> 2.3.0-2
b9ab58
- Require libica-2.0.
b9ab58
b9ab58
* Fri Aug 07 2009 Michal Schmidt <mschmidt@redhat.com> 2.3.0-1
b9ab58
- New upstream release 2.3.0:
b9ab58
  - adds support for RSA 4096 bit keys in the ICA token.
b9ab58
b9ab58
* Tue Jul 21 2009 Michal Schmidt <mschmidt@redhat.com> - 2.2.8-5
b9ab58
- Require arch-specific dependency on -libs.
b9ab58
b9ab58
* Tue Jul 21 2009 Michal Schmidt <mschmidt@redhat.com> - 2.2.8-4
b9ab58
- Return support for crypto hw on s390.
b9ab58
- Renamed to opencryptoki.
b9ab58
- Simplified multilib by putting libs in subpackage as suggested by Dan Horák.
b9ab58
b9ab58
* Tue Jul 21 2009 Michal Schmidt <mschmidt@redhat.com> - 2.2.8-2
b9ab58
- Fedora package based on RHEL-5 package.