9c2944
Name: opencryptoki
ecbf24
Summary: Implementation of the PKCS#11 (Cryptoki) specification v3.0
971d89
Version: 3.19.0
971d89
Release: 2%{?dist}
9c2944
License: CPL
9c2944
Group: System Environment/Base
9c2944
URL: https://github.com/opencryptoki/opencryptoki
9c2944
Source0: https://github.com/opencryptoki/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
0251db
# https://bugzilla.redhat.com/show_bug.cgi?id=732756
9c2944
Patch0: opencryptoki-3.11.0-group.patch
b314eb
# bz#1373833, change tmpfiles snippets from /var/lock/* to /run/lock/*
9c2944
Patch1: opencryptoki-3.11.0-lockdir.patch
ecbf24
# add missing p11sak_defined_attrs.conf
1afaf9
Patch2: opencryptoki-3.18.0-p11sak.patch
9c2944
# upstream patches
971d89
Patch100: opencryptoki-3.19.0-fix-memory-leak.patch
971d89
Patch101: 0001-EP11-Unify-key-pair-generation-functions.patch
971d89
Patch102: 0002-EP11-Do-not-report-DSA-DH-parameter-generation-as-be.patch
971d89
Patch103: 0003-EP11-Do-not-pass-empty-CKA_PUBLIC_KEY_INFO-to-EP11-h.patch
971d89
Patch104: 0004-Mechtable-CKM_IBM_DILITHIUM-can-also-be-used-for-key.patch
971d89
Patch105: 0005-EP11-Remove-DSA-DH-parameter-generation-mechanisms-f.patch
971d89
Patch106: 0006-EP11-Pass-back-chain-code-for-CKM_IBM_BTC_DERIVE.patch
971d89
Patch107: 0007-EP11-Supply-CKA_PUBLIC_KEY_INFO-with-CKM_IBM_BTC_DER.patch
971d89
Patch108: 0008-EP11-Supply-CKA_PUBLIC_KEY_INFO-when-importing-priva.patch
971d89
Patch109: 0009-EP11-Fix-memory-leak-introduced-with-recent-commit.patch
971d89
Patch110: 0010-p11sak-Fix-segfault-when-dilithium-version-is-not-sp.patch
971d89
Patch111: 0011-EP11-remove-dead-code-and-unused-variables.patch
971d89
Patch112: 0012-EP11-Update-EP11-host-library-header-files.patch
971d89
Patch113: 0013-EP11-Support-EP11-host-library-version-4.patch
971d89
Patch114: 0014-EP11-Add-new-control-points.patch
971d89
Patch115: 0015-EP11-Default-unknown-CPs-to-ON.patch
971d89
Patch116: 0016-COMMON-Add-defines-for-Dilithium-round-2-and-3-varia.patch
971d89
Patch117: 0017-COMMON-Add-defines-for-Kyber.patch
971d89
Patch118: 0018-COMMON-Add-post-quantum-algorithm-OIDs.patch
971d89
Patch119: 0019-COMMON-Dilithium-key-BER-encoding-decoding-allow-dif.patch
971d89
Patch120: 0020-COMMON-EP11-Add-CKA_VALUE-holding-SPKI-PKCS-8-of-key.patch
971d89
Patch121: 0021-COMMON-EP11-Allow-to-select-Dilithium-variant-via-mo.patch
971d89
Patch122: 0022-EP11-Query-supported-PQC-variants-and-restrict-usage.patch
971d89
Patch123: 0023-POLICY-Dilithium-strength-and-signature-size-depends.patch
971d89
Patch124: 0024-TESTCASES-Test-Dilithium-variants.patch
971d89
Patch125: 0025-COMMON-EP11-Add-Kyber-key-type-and-mechanism.patch
971d89
Patch126: 0026-EP11-Add-support-for-generating-and-importing-Kyber-.patch
971d89
Patch127: 0027-EP11-Add-support-for-encrypt-decrypt-and-KEM-operati.patch
971d89
Patch128: 0028-POLICY-STATISTICS-Check-for-Kyber-KEM-KDFs-and-count.patch
971d89
Patch129: 0029-TESTCASES-Add-tests-for-CKM_IBM_KYBER.patch
971d89
Patch130: 0030-p11sak-Support-additional-Dilithium-variants.patch
971d89
Patch131: 0031-p11sak-Add-support-for-IBM-Kyber-key-type.patch
971d89
Patch132: 0032-testcase-Enhance-p11sak-testcase-to-generate-IBM-Kyb.patch
971d89
Patch133: 0033-EP11-Supply-CKA_PUBLIC_KEY_INFO-with-CKM_IBM_BTC_DER.patch
971d89
Patch134: 0034-EP11-Fix-setting-unknown-CPs-to-ON.patch
9c2944
1afaf9
Requires(pre): coreutils diffutils
9c2944
Requires: (selinux-policy >= 3.14.3-70 if selinux-policy-targeted)
9c2944
BuildRequires: gcc
9c2944
BuildRequires: gcc-c++
ecbf24
BuildRequires: openssl-devel >= 1.1.1
9c2944
BuildRequires: trousers-devel
9c2944
BuildRequires: openldap-devel
9c2944
BuildRequires: autoconf automake libtool
9c2944
BuildRequires: bison flex
9c2944
BuildRequires: systemd-devel
9c2944
BuildRequires: libitm-devel
9c2944
BuildRequires: expect
9c2944
BuildRequires: make
0251db
%ifarch s390 s390x
ecbf24
BuildRequires: libica-devel >= 3.3
0251db
%endif
9c2944
Requires(pre): %{name}-libs%{?_isa} = %{version}-%{release}
9c2944
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
9c2944
Requires: %{name}(token)
9c2944
Requires(post): systemd
9c2944
Requires(preun): systemd
9c2944
Requires(postun): systemd
0251db
0251db
0251db
%description
ecbf24
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
0251db
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
0251db
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
0251db
token implementation that can be used without any cryptographic
0251db
hardware.
0251db
This package contains the Slot Daemon (pkcsslotd) and general utilities.
0251db
0251db
0251db
%package libs
0251db
Group:			System Environment/Libraries
0251db
Summary:		The run-time libraries for opencryptoki package
0251db
Requires(pre):	shadow-utils
0251db
0251db
%description libs
ecbf24
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
0251db
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
0251db
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
0251db
token implementation that can be used without any cryptographic
0251db
hardware.
0251db
This package contains the PKCS#11 library implementation, and requires
0251db
at least one token implementation (packaged separately) to be fully
0251db
functional.
0251db
0251db
0251db
%package devel
0251db
Group:			Development/Libraries
0251db
Summary:		Development files for openCryptoki
0251db
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
0251db
0251db
%description devel
0251db
This package contains the development header files for building
0251db
opencryptoki and PKCS#11 based applications
0251db
0251db
0251db
%package swtok
0251db
Group:			System Environment/Libraries
0251db
Summary:		The software token implementation for opencryptoki
0251db
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
0251db
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
0251db
Provides:		%{name}(token)
0251db
0251db
%description swtok
ecbf24
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
0251db
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
0251db
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
0251db
token implementation that can be used without any cryptographic
0251db
hardware.
0251db
This package brings the software token implementation to use opencryptoki
0251db
without any specific cryptographic hardware.
0251db
0251db
0251db
%package tpmtok
0251db
Group:			System Environment/Libraries
0251db
Summary:		Trusted Platform Module (TPM) device support for opencryptoki
0251db
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
0251db
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
0251db
Provides:		%{name}(token)
0251db
0251db
%description tpmtok
ecbf24
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
0251db
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
0251db
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
0251db
token implementation that can be used without any cryptographic
0251db
hardware.
0251db
This package brings the necessary libraries and files to support
0251db
Trusted Platform Module (TPM) devices in the opencryptoki stack.
0251db
0251db
0251db
%package icsftok
0251db
Group:			System Environment/Libraries
0251db
Summary:		ICSF token support for opencryptoki
0251db
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
0251db
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
0251db
Provides:		%{name}(token)
0251db
0251db
%description icsftok
ecbf24
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
0251db
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
0251db
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
0251db
token implementation that can be used without any cryptographic
0251db
hardware.
0251db
This package brings the necessary libraries and files to support
0251db
ICSF token in the opencryptoki stack.
0251db
0251db
0251db
%ifarch s390 s390x
0251db
%package icatok
0251db
Group:			System Environment/Libraries
0251db
Summary:		ICA cryptographic devices (clear-key) support for opencryptoki
0251db
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
0251db
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
0251db
Provides:		%{name}(token)
0251db
0251db
%description icatok
ecbf24
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
0251db
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
0251db
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
0251db
token implementation that can be used without any cryptographic
0251db
hardware.
0251db
This package brings the necessary libraries and files to support ICA
0251db
devices in the opencryptoki stack. ICA is an interface to IBM
0251db
cryptographic hardware such as IBM 4764 or 4765 that uses the
0251db
"accelerator" or "clear-key" path.
0251db
0251db
%package ccatok
0251db
Group:			System Environment/Libraries
0251db
Summary:		CCA cryptographic devices (secure-key) support for opencryptoki
0251db
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
0251db
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
0251db
Provides:		%{name}(token)
0251db
0251db
%description ccatok
ecbf24
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
0251db
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
0251db
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
0251db
token implementation that can be used without any cryptographic
0251db
hardware.
0251db
This package brings the necessary libraries and files to support CCA
0251db
devices in the opencryptoki stack. CCA is an interface to IBM
0251db
cryptographic hardware such as IBM 4764 or 4765 that uses the
0251db
"co-processor" or "secure-key" path.
0251db
0251db
%package ep11tok
0251db
Group:			System Environment/Libraries
0251db
Summary:		CCA cryptographic devices (secure-key) support for opencryptoki
0251db
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
0251db
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
0251db
Provides:		%{name}(token)
0251db
0251db
%description ep11tok
ecbf24
Opencryptoki implements the PKCS#11 specification v2.20 for a set of
0251db
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
0251db
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
0251db
token implementation that can be used without any cryptographic
0251db
hardware.
0251db
This package brings the necessary libraries and files to support EP11
0251db
tokens in the opencryptoki stack. The EP11 token is a token that uses
0251db
the IBM Crypto Express adapters (starting with Crypto Express 4S adapters)
0251db
configured with Enterprise PKCS#11 (EP11) firmware.
0251db
%endif
0251db
0251db
0251db
%prep
0251db
%autosetup -p1
0251db
0251db
0251db
%build
0251db
./bootstrap.sh
0251db
ecbf24
%configure --with-systemd=%{_unitdir}  \
0251db
%ifarch s390 s390x
0251db
    --enable-icatok --enable-ccatok --enable-ep11tok --enable-pkcsep11_migrate
0251db
%else
0251db
    --disable-icatok --disable-ccatok --disable-ep11tok --disable-pkcsep11_migrate --disable-pkcscca_migrate
0251db
%endif
0251db
0251db
make %{?_smp_mflags} CHGRP=/bin/true
0251db
0251db
0251db
%install
0251db
make install DESTDIR=$RPM_BUILD_ROOT CHGRP=/bin/true
0251db
0251db
# Remove unwanted cruft
0251db
rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la
0251db
rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/stdll/*.la
0251db
0251db
0251db
%post libs -p /sbin/ldconfig
0251db
%post swtok -p /sbin/ldconfig
0251db
%post tpmtok -p /sbin/ldconfig
0251db
%post icsftok -p /sbin/ldconfig
0251db
%ifarch s390 s390x
0251db
%post icatok -p /sbin/ldconfig
0251db
%post ccatok -p /sbin/ldconfig
0251db
%post ep11tok -p /sbin/ldconfig
0251db
%endif
0251db
0251db
%postun libs -p /sbin/ldconfig
0251db
%postun swtok -p /sbin/ldconfig
0251db
%postun tpmtok -p /sbin/ldconfig
0251db
%postun icsftok -p /sbin/ldconfig
0251db
%ifarch s390 s390x
0251db
%postun icatok -p /sbin/ldconfig
0251db
%postun ccatok -p /sbin/ldconfig
0251db
%postun ep11tok -p /sbin/ldconfig
0251db
%endif
0251db
1afaf9
%pre
1afaf9
# don't touch opencryptoki.conf even if it is unchanged due to new tokversion
1afaf9
# backup config file
1afaf9
%global cfile /etc/opencryptoki/opencryptoki.conf
1afaf9
%global csuffix .rpmsave.XyoP
1afaf9
if test $1 -gt 1 && test -f %{cfile} ; then
1afaf9
    cp -p %{cfile} %{cfile}%{csuffix}
1afaf9
fi
1afaf9
0251db
%pre libs
0251db
getent group pkcs11 >/dev/null || groupadd -r pkcs11
0251db
exit 0
0251db
0251db
%post
1afaf9
# restore the config file from %pre
1afaf9
if test $1 -gt 1 && test -f %{cfile} ; then
1afaf9
    if ( ! cmp -s %{cfile} %{cfile}%{csuffix} ) ; then
1afaf9
        cp -p %{cfile} %{cfile}.rpmnew
1afaf9
    fi
1afaf9
    cp -p %{cfile}%{csuffix} %{cfile} && rm -f %{cfile}%{csuffix}
1afaf9
fi
1afaf9
0251db
%systemd_post pkcsslotd.service
b314eb
if test $1 -eq 1; then
b314eb
    %tmpfiles_create
b314eb
fi
0251db
0251db
%preun
0251db
%systemd_preun pkcsslotd.service
0251db
0251db
%postun
0251db
%systemd_postun_with_restart pkcsslotd.service
0251db
0251db
0251db
%files
0251db
%doc ChangeLog FAQ README.md
0251db
%doc doc/opencryptoki-howto.md
0251db
%doc doc/README.token_data
1afaf9
%doc %{_docdir}/%{name}/*.conf
0251db
%dir %{_sysconfdir}/%{name}
0251db
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
ecbf24
%attr(0640, root, pkcs11) %config(noreplace) %{_sysconfdir}/%{name}/p11sak_defined_attrs.conf
1afaf9
%attr(0640, root, pkcs11) %config(noreplace) %{_sysconfdir}/%{name}/strength.conf
b314eb
%{_tmpfilesdir}/%{name}.conf
0251db
%{_unitdir}/pkcsslotd.service
5a6fa5
%{_sbindir}/p11sak
5a6fa5
%{_sbindir}/pkcstok_migrate
0251db
%{_sbindir}/pkcsconf
0251db
%{_sbindir}/pkcsslotd
1afaf9
%{_sbindir}/pkcsstats
5a6fa5
%{_mandir}/man1/p11sak.1*
5a6fa5
%{_mandir}/man1/pkcstok_migrate.1*
0251db
%{_mandir}/man1/pkcsconf.1*
1afaf9
%{_mandir}/man1/pkcsstats.1*
1afaf9
%{_mandir}/man5/policy.conf.5*
1afaf9
%{_mandir}/man5/strength.conf.5*
0251db
%{_mandir}/man5/%{name}.conf.5*
ecbf24
%{_mandir}/man5/p11sak_defined_attrs.conf.5*
0251db
%{_mandir}/man7/%{name}.7*
0251db
%{_mandir}/man8/pkcsslotd.8*
0251db
%{_libdir}/opencryptoki/methods
0251db
%{_libdir}/pkcs11/methods
0251db
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}
b314eb
%ghost %dir %attr(770,root,pkcs11) %{_rundir}/lock/%{name}
b314eb
%ghost %dir %attr(770,root,pkcs11) %{_rundir}/lock/%{name}/*
b314eb
%dir %attr(770,root,pkcs11) %{_localstatedir}/log/opencryptoki
0251db
0251db
%files libs
0251db
%license LICENSE
0251db
%{_sysconfdir}/ld.so.conf.d/*
0251db
# Unversioned .so symlinks usually belong to -devel packages, but opencryptoki
0251db
# needs them in the main package, because:
0251db
#   documentation suggests that programs should dlopen "PKCS11_API.so".
0251db
%dir %{_libdir}/opencryptoki
0251db
%{_libdir}/opencryptoki/libopencryptoki.*
0251db
%{_libdir}/opencryptoki/PKCS11_API.so
0251db
%dir %{_libdir}/opencryptoki/stdll
0251db
%dir %{_libdir}/pkcs11
0251db
%{_libdir}/pkcs11/libopencryptoki.so
0251db
%{_libdir}/pkcs11/PKCS11_API.so
0251db
%{_libdir}/pkcs11/stdll
0251db
0251db
%files devel
0251db
%{_includedir}/%{name}/
971d89
%{_libdir}/pkgconfig/%{name}.pc
0251db
0251db
%files swtok
0251db
%{_libdir}/opencryptoki/stdll/libpkcs11_sw.*
0251db
%{_libdir}/opencryptoki/stdll/PKCS11_SW.so
0251db
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/swtok/
0251db
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/swtok/TOK_OBJ/
0251db
0251db
%files tpmtok
0251db
%doc doc/README.tpm_stdll
0251db
%{_libdir}/opencryptoki/stdll/libpkcs11_tpm.*
0251db
%{_libdir}/opencryptoki/stdll/PKCS11_TPM.so
0251db
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/tpm/
0251db
0251db
%files icsftok
0251db
%doc doc/README.icsf_stdll
0251db
%{_sbindir}/pkcsicsf
0251db
%{_mandir}/man1/pkcsicsf.1*
0251db
%{_libdir}/opencryptoki/stdll/libpkcs11_icsf.*
0251db
%{_libdir}/opencryptoki/stdll/PKCS11_ICSF.so
0251db
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/icsf/
0251db
0251db
%ifarch s390 s390x
0251db
%files icatok
0251db
%{_libdir}/opencryptoki/stdll/libpkcs11_ica.*
0251db
%{_libdir}/opencryptoki/stdll/PKCS11_ICA.so
0251db
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/lite/
0251db
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/lite/TOK_OBJ/
0251db
0251db
%files ccatok
0251db
%doc doc/README.cca_stdll
971d89
%config(noreplace) %{_sysconfdir}/%{name}/ccatok.conf
0251db
%{_sbindir}/pkcscca
0251db
%{_mandir}/man1/pkcscca.1*
0251db
%{_libdir}/opencryptoki/stdll/libpkcs11_cca.*
0251db
%{_libdir}/opencryptoki/stdll/PKCS11_CCA.so
0251db
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ccatok/
0251db
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ccatok/TOK_OBJ/
0251db
0251db
%files ep11tok
0251db
%doc doc/README.ep11_stdll
0251db
%config(noreplace) %{_sysconfdir}/%{name}/ep11tok.conf
0251db
%config(noreplace) %{_sysconfdir}/%{name}/ep11cpfilter.conf
0251db
%{_sbindir}/pkcsep11_migrate
0251db
%{_sbindir}/pkcsep11_session
0251db
%{_mandir}/man1/pkcsep11_migrate.1*
0251db
%{_mandir}/man1/pkcsep11_session.1*
0251db
%{_libdir}/opencryptoki/stdll/libpkcs11_ep11.*
0251db
%{_libdir}/opencryptoki/stdll/PKCS11_EP11.so
0251db
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ep11tok/
0251db
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ep11tok/TOK_OBJ/
0251db
%endif
0251db
0251db
0251db
%changelog
971d89
* Mon Jan 30 2023 Than Ngo <than@redhat.com> - 3.19.0-2
971d89
- Resolves: #2043856, Support of ep11 token for new IBM Z Hardware (IBM z16)
971d89
971d89
* Tue Nov 01 2022 Than Ngo <than@redhat.com> - 3.19.0-1
971d89
- Resolves: #2126612, opencryptoki fails after generating > 500 RSA keys
971d89
- Resolves: #2110315, rebase to 3.19.0
971d89
- Resolves: #2110990, openCryptoki key generation with expected MKVP only on CCA and EP11 tokens
971d89
- Resolves: #2110477, openCryptoki ep11 token: master key consistency
971d89
- Resolves: #1984871, openCryptoki ep11 token: vendor specific key derivation
9b74d7
1afaf9
* Mon Aug 01 2022 Than Ngo <than@redhat.com> - 3.18.0-3
1afaf9
- Related: #2043854, do not touch opencryptoki.conf if it is in place already and even if it is unchanged
1afaf9
- Resolves: #2112785, EP11: Fix C_GetMechanismList returning CKR_BUFFER_TOO_SMALL
1afaf9
1afaf9
* Tue Jun 07 2022 Than Ngo <than@redhat.com> - 3.18.0-2
1afaf9
- Related: #2043854, fix json output
1afaf9
1afaf9
* Tue May 24 2022 Than Ngo <than@redhat.com> - 3.18.0-1
1afaf9
- Resolves: #2043845, rebase to 3.18.0
1afaf9
- Resolves: #2043854, add crypto counters
1afaf9
- Resolves: #2043855, support crypto profiles
e0658c
0971d3
* Fri Apr 15 2022 Than Ngo <than@redhat.com> - 3.17.0-4
1afaf9
- Resolves: #2066762, Dilithium support not available 
0971d3
ecbf24
* Mon Jan 17 2022 Than Ngo <than@redhat.com> - 3.17.0-3
ecbf24
- Resolves: #2040677, API: Unlock GlobMutex if user and group check fails
ecbf24
ecbf24
* Tue Nov 09 2021 Than Ngo <than@redhat.com> - 3.17.0-2
ecbf24
- Related: #1984993, add missing p11sak_defined_attrs.conf 
ecbf24
ecbf24
* Tue Oct 19 2021 Than Ngo <than@redhat.com> - 3.17.0-1
ecbf24
- Resolves: #1984993, rebase to 3.17.0
ecbf24
- Resolves: #1984870, openCryptoki key management tool
44b095
44b095
* Mon Sep 13 2021 Than Ngo <than@redhat.com> - 3.16.0-6
44b095
- Fix: Could not open /run/lock/opencryptoki/LCK..APIlock
44b095
9c2944
* Thu Aug 19 2021 Than Ngo <than@redhat.com> - 3.16.0-5
9c2944
- Resolves: #1987256, pkcstok_migrate leaves options with multiple strings in opencryptoki.conf options without double-quotes
9c2944
9c2944
* Fri Jul 16 2021 Than Ngo <than@redhat.com> - 3.16.0-4
9c2944
- Resolves: #1964304, Fix detection if pkcsslotd is still running
9c2944
9c2944
* Tue Jun 15 2021 Than Ngo <than@redhat.com> - 3.16.0-3
9c2944
- Related: #1919223, add conditional requirement
9c2944
9c2944
* Fri Jun 11 2021 Than Ngo <than@redhat.com> - 3.16.0-2
9c2944
- Related: #1919223, add requirement on selinux-policy >= 3.14.3-70 for using ipsec
0e8108
9c2944
* Tue Jun 01 2021 Than Ngo <than@redhat.com> - 3.16.0-1
9c2944
- Resolves: #1919223, rebase to 3.16.0
9c2944
- Resolves: #1922195, Event Notification Support
9c2944
- Resolves: #1959936, Soft token does not check if an EC key is valid
9c2944
- Resolves: #1851104, import and export of secure key objects
9c2944
- Resolves: #1851106, openCryptoki ep11 token: protected key support
9c2944
- Resolves: #1851107, openCryptoki ep11 token: support attribute bound keys
9fbc4a
c7a3b7
* Fri Feb 12 2021 Than Ngo <than@redhat.com> - 3.15.1-5
c7a3b7
- Resolves: #1928120, Fix problem with C_Get/SetOperationState and digest contexts
c7a3b7
c7a3b7
* Fri Feb 12 2021 Than Ngo <than@redhat.com> - 3.15.1-4
c7a3b7
- Resolves: #1927745, pkcscca migration fails with usr/sb2 is not a valid slot ID
c7a3b7
c7a3b7
* Thu Nov 26 2020 Than Ngo <than@redhat.com> - 3.15.1-3
c7a3b7
- Resolves: #1902022
c7a3b7
   Fix compiling with c++
c7a3b7
   Added error message handling for p11sak remove-key command
c7a3b7
c7a3b7
* Thu Nov 26 2020 Than Ngo <than@redhat.com> - 3.15.1-2
c7a3b7
- Related: #1847433, Added error message handling for p11sak remove-key command
c7a3b7
c7a3b7
* Mon Nov 02 2020 Than Ngo <than@redhat.com> - 3.15.1-1
c7a3b7
- Related: #1847433
c7a3b7
  upstream fixes:
c7a3b7
    - Free generated key in all error cases
c7a3b7
    - CCA: Zeroize key buffer to avoid CCA 8/32 error
c7a3b7
    - Do not delete the map-btree entry if destroying an object is not allowed
c7a3b7
    - Remove now unused header timeb.h
c7a3b7
    - TESTCASES: Use FIPS conforming keys for 3DES CBC-MAC test vectors
c7a3b7
    - Fix buffer overrun in C_CopyObject
c7a3b7
    - TPM: Fix double free in openssl_gen_key
c7a3b7
c7a3b7
* Mon Oct 19 2020 Than Ngo <than@redhat.com> - 3.15.0-1
c7a3b7
- Resolves: #1847433, rebase to 3.15.0 
c7a3b7
- Resolves: #1851105, PKCS #11 3.0 - baseline provider support
c7a3b7
- Resolves: #1851108, openCryptoki ep11 token: enhanced functionality
c7a3b7
- Resolves: #1851109, openCryptoki key management tool: key deletion function
c7a3b7
5a6fa5
* Mon Jul 06 2020 Than Ngo <than@redhat.com> - 3.14.0-5
5a6fa5
- Related: #1853420, more fixes
5a6fa5
5a6fa5
* Fri Jul 03 2020 Than Ngo <than@redhat.com> - 3.14.0-4
5a6fa5
- Resolves: #1853420, endian issue 
5a6fa5
5a6fa5
* Mon Jun 15 2020 Than Ngo <than@redhat.com> - 3.14.0-3
5a6fa5
- Resolves: #1780294, PIN conversion tool
5a6fa5
5a6fa5
* Tue May 26 2020 Than Ngo <than@redhat.com> - 3.14.0-2
5a6fa5
- Related: #1780293, fix regression, segfault in C_SetPin
5a6fa5
5a6fa5
* Tue May 19 2020 Than Ngo <than@redhat.com> - 3.14.0-1
5a6fa5
- Resolves: #1723863 - ep11 token: Enhanced Support
5a6fa5
- Resolves: #1780285 - ep11 token: Support for new IBM Z hardware z15
5a6fa5
- Resolves: #1780293 - rebase to 3.14.0
5a6fa5
- Resolves: #1800549 - key management tool: list keys function
5a6fa5
 -Resolves: #1800555 - key management tool: random key generation function
5a6fa5
ff605e
* Fri Dec 13 2019 Than Ngo <than@redhat.com> - 3.12.1-2
ff605e
- Resolves: #1782445, EP11: Fix EC-uncompress buffer length
ff605e
ff605e
* Thu Nov 28 2019 Than Ngo <than@redhat.com> - 3.12.1-1
ff605e
- Resolves: #1777313, rebase to 3.12.1
ff605e
ff605e
* Tue Nov 12 2019 Than Ngo <than@redhat.com> - 3.12.0-1
ff605e
- Resolves: #1726243, rebase to 3.12.0
cd9262
b314eb
* Mon Aug 26 2019 Dan Horák <dhorak@redhat.com> - 3.11.1-2
b314eb
- Resolves: #1739433, ICA HW token missing after the package update
b314eb
b314eb
* Mon May 06 2019 Than Ngo <than@redhat.com> - 3.11.1-1
b314eb
- Resolves: #1706140, rebase to 3.11.1
b314eb
b314eb
* Tue Mar 26 2019 Than Ngo <than@redhat.com> - 3.11.0-3
b314eb
- Resolves: #1667941, 3des tests failures due to FIPS incompatible test scenarios
b314eb
- Resolves: #1651731, ep11 token: enhanced IBM z14 functions
b314eb
- Resolves: #1651732, ep11 token: support m_*Single functions from ep11 lib
b314eb
- Resolves: #1525407, use CPACF hashes in ep11 token
b314eb
- Resolves: #1651238, rebase to 3.11.0
b314eb
- Resolves: #1682530, gating
b314eb
0251db
* Fri Dec 14 2018 Than Ngo <than@redhat.com> - 3.10.0-3
0251db
- Resolves: #1657683, can't establish libica token in FIPS mode
0251db
- Resolves: #1652856, EP11 token fails when using Strict-Session mode or VHSM-Mode
0251db
0251db
* Thu Oct 25 2018 Than Ngo <than@redhat.com> - 3.10.0-2
0251db
- Resolves: #1602641, covscan
0251db
0251db
* Tue Jun 12 2018 Dan Horák <dan[at]danny.cz> - 3.10.0-1
0251db
- Rebase to 3.10.0
0251db
0251db
* Fri Feb 23 2018 Dan Horák <dan[at]danny.cz> - 3.9.0-1
0251db
- Rebase to 3.9.0
0251db
0251db
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.2-3
0251db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0251db
0251db
* Fri Nov 24 2017 Dan Horák <dan[at]danny.cz> - 3.8.2-2
0251db
- use upstream tmpfiles config
0251db
0251db
* Thu Nov 23 2017 Dan Horák <dan[at]danny.cz> - 3.8.2-1
0251db
- Rebase to 3.8.2 (#1512678)
0251db
0251db
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-3
0251db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0251db
0251db
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-2
0251db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0251db
0251db
* Wed May 17 2017 Sinny Kumari <sinny@redhat.com> - 3.7.0-1
0251db
- Rebase to 3.7.0
0251db
- Added libitm-devel as BuildRequires
0251db
0251db
* Mon Apr 03 2017 Sinny Kumari <sinny@redhat.com> - 3.6.2-1
0251db
- Rebase to 3.6.2
0251db
- RHBZ#1424017 - opencryptoki: FTBFS in rawhide
0251db
0251db
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-2
0251db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0251db
0251db
* Thu Sep 01 2016 Jakub Jelen <jjelen@redhat.com> - 3.5.1-1
0251db
- New upstream release
0251db
0251db
* Tue May 03 2016 Jakub Jelen <jjelen@redhat.com> - 3.5-1
0251db
- New upstream release
0251db
0251db
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-2
0251db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0251db
0251db
* Mon Dec 07 2015 Jakub Jelen <jjelen@redhat.com> 3.4.1-1
0251db
- New bugfix upstream release
0251db
0251db
* Wed Nov 18 2015 Jakub Jelen <jjelen@redhat.com> 3.4-1
0251db
- New upstream release
0251db
- Adding post-release patch fixing compile warnings
0251db
0251db
* Thu Aug 27 2015 Jakub Jelen <jjelen@redhat.com> 3.3-1.1
0251db
- New upstream release
0251db
- Correct dependencies for group creation
0251db
0251db
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-4
0251db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0251db
0251db
* Thu May 07 2015 Jakub Jelen <jjelen@redhat.com> 3.2-3
0251db
- Few more undefined symbols fixed for s390(x) specific targets
0251db
- Do not require --no-undefined, because s390(x) requires some
0251db
0251db
* Mon May 04 2015 Jakub Jelen <jjelen@redhat.com> 3.2-2
0251db
- Fix missing sources and libraries in makefiles causing undefined symbols (#1193560)
0251db
- Make inline function compatible for GCC5
0251db
0251db
* Wed Sep 10 2014 Petr Lautrbach <plautrba@redhat.com> 3.2-1
0251db
- new upstream release 3.2
0251db
- add new sub-package opencryptoki-ep11tok on s390x
0251db
0251db
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2
0251db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0251db
0251db
* Thu Jul 24 2014 Petr Lautrbach <plautrba@redhat.com> 3.1-1
0251db
- new upstream release 3.1
0251db
0251db
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-11
0251db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0251db
0251db
* Mon Feb 17 2014 Petr Lautrbach <plautrba@redhat.com> 3.0-10
0251db
- create the right lock directory for cca tokens (#1054442)
0251db
0251db
* Wed Jan 29 2014 Petr Lautrbach <plautrba@redhat.com> 3.0-9
0251db
- use Requires(pre): opencryptoki-libs for subpackages
0251db
0251db
* Mon Jan 20 2014 Dan Horák <dan[at]danny.cz> - 3.0-8
0251db
- include token specific directories (#1013017, #1045775, #1054442)
0251db
- fix pkcsconf crash for non-root users (#10054661)
0251db
- the libs subpackage must care of creating the pkcs11 group, it's the first to be installed
0251db
0251db
* Tue Dec 03 2013 Dan Horák <dan[at]danny.cz> - 3.0-7
0251db
- fix build with -Werror=format-security (#1037228)
0251db
0251db
* Fri Nov 22 2013 Dan Horák <dan[at]danny.cz> - 3.0-6
0251db
- apply post-3.0 fixes (#1033284)
0251db
0251db
* Tue Nov 19 2013 Dan Horák <dan[at]danny.cz> - 3.0-5
0251db
- update opencryptoki man page (#1001729)
0251db
0251db
* Fri Aug 23 2013 Dan Horák <dan[at]danny.cz> - 3.0-4
0251db
- update unit file (#995002)
0251db
0251db
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-3
0251db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0251db
0251db
* Tue Jul 23 2013 Dan Horák <dan[at]danny.cz> - 3.0-2
0251db
- update pkcsconf man page (#948460)
0251db
0251db
* Mon Jul 22 2013 Dan Horák <dan[at]danny.cz> - 3.0-1
0251db
- new upstream release 3.0
0251db
0251db
* Tue Jun 25 2013 Dan Horák <dan[at]danny.cz> - 2.4.3.1-1
0251db
- new upstream release 2.4.3.1
0251db
0251db
* Fri May 03 2013 Dan Horák <dan[at]danny.cz> - 2.4.3-1
0251db
- new upstream release 2.4.3
0251db
0251db
* Thu Apr 04 2013 Dan Horák <dan[at]danny.cz> - 2.4.2-4
0251db
- enable hardened build
0251db
- switch to systemd macros in scriptlets (#850240)
0251db
0251db
* Mon Jan 28 2013 Dan Horák <dan[at]danny.cz> - 2.4.2-3
0251db
- add virtual opencryptoki(token) Provides to token modules and as Requires
0251db
  to main package (#904986)
0251db
0251db
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-2
0251db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0251db
0251db
* Thu Jun 21 2012 Dan Horák <dan[at]danny.cz> - 2.4.2-1
0251db
- new upstream release 2.4.2
0251db
- add pkcs_slot man page
0251db
- don't add root to the pkcs11 group
0251db
0251db
* Mon Jun 11 2012 Dan Horák <dan[at]danny.cz> - 2.4.1-2
0251db
- fix unresolved symbols in TPM module (#830129)
0251db
0251db
* Sat Feb 25 2012 Dan Horák <dan[at]danny.cz> - 2.4.1-1
0251db
- new upstream release 2.4.1
0251db
- convert from initscript to systemd unit
0251db
- import fixes from RHEL-6 about root's group membership (#732756, #730903)
0251db
0251db
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
0251db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0251db
0251db
* Thu Jul 07 2011 Dan Horák <dan[at]danny.cz> - 2.4-1
0251db
- new upstream release 2.4
0251db
0251db
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-2
0251db
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0251db
0251db
* Mon Jan 17 2011 Dan Horák <dan[at]danny.cz> 2.3.3-1
0251db
- new upstream release 2.3.3
0251db
0251db
* Tue Nov 09 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.2-2
0251db
- Apply Obsoletes to package names, not provides.
0251db
0251db
* Tue Sep 14 2010 Dan Horák <dan[at]danny.cz> 2.3.2-1
0251db
- new upstream release 2.3.2
0251db
- put STDLLs in separate packages to match upstream package design
0251db
0251db
* Thu Jul 08 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-7
0251db
- Move the LICENSE file to the -libs subpackage.
0251db
0251db
* Tue Jun 29 2010 Dan Horák <dan[at]danny.cz> 2.3.1-6
0251db
- rebuilt with CCA enabled (#604287)
0251db
- fixed issues from #546274
0251db
0251db
* Fri Apr 30 2010 Dan Horák <dan[at]danny.cz> 2.3.1-5
0251db
- fixed one more issue in the initscript (#547324)
0251db
0251db
* Mon Apr 26 2010 Dan Horák <dan[at]danny.cz> 2.3.1-4
0251db
- fixed pidfile creating and usage (#547324)
0251db
0251db
* Mon Feb 08 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-3
0251db
- Also list 'reload' and 'force-reload' in "Usage: ...".
0251db
0251db
* Mon Feb 08 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-2
0251db
- Support 'force-reload' in the initscript.
0251db
0251db
* Wed Jan 27 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-1
0251db
- New upstream release 2.3.1.
0251db
- opencryptoki-2.3.0-fix-nss-breakage.patch was merged.
0251db
0251db
* Fri Jan 22 2010 Dan Horák <dan[at]danny.cz> 2.3.0-5
0251db
- made pkcsslotd initscript LSB compliant (#522149)
0251db
0251db
* Mon Sep 07 2009 Michal Schmidt <mschmidt@redhat.com> 2.3.0-4
0251db
- Added opencryptoki-2.3.0-fix-nss-breakage.patch on upstream request.
0251db
0251db
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.3.0-3
0251db
- rebuilt with new openssl
0251db
0251db
* Sun Aug 16 2009 Michal Schmidt <mschmidt@redhat.com> 2.3.0-2
0251db
- Require libica-2.0.
0251db
0251db
* Fri Aug 07 2009 Michal Schmidt <mschmidt@redhat.com> 2.3.0-1
0251db
- New upstream release 2.3.0:
0251db
  - adds support for RSA 4096 bit keys in the ICA token.
0251db
0251db
* Tue Jul 21 2009 Michal Schmidt <mschmidt@redhat.com> - 2.2.8-5
0251db
- Require arch-specific dependency on -libs.
0251db
0251db
* Tue Jul 21 2009 Michal Schmidt <mschmidt@redhat.com> - 2.2.8-4
0251db
- Return support for crypto hw on s390.
0251db
- Renamed to opencryptoki.
0251db
- Simplified multilib by putting libs in subpackage as suggested by Dan Horák.
0251db
0251db
* Tue Jul 21 2009 Michal Schmidt <mschmidt@redhat.com> - 2.2.8-2
0251db
- Fedora package based on RHEL-5 package.