Blame SPECS/opencryptoki.spec

bf32a6
%global _hardened_build 1
bf32a6
bf32a6
Name:			opencryptoki
bf32a6
Summary:		Implementation of the PKCS#11 (Cryptoki) specification v2.11
ca735d
Version:		3.11.0
299615
Release:		5%{?dist}
bf32a6
License:		CPL
bf32a6
Group:			System Environment/Base
f793d6
URL:			https://github.com/opencryptoki/opencryptoki
ca735d
Source0:		https://github.com/opencryptoki/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
ca735d
ca735d
# https://bugzilla.redhat.com/show_bug.cgi?id=732756
ca735d
Patch0:        opencryptoki-3.11.0-group.patch
ca735d
# bz#1373833, change tmpfiles snippets from /var/lock/* to /run/lock/*
ca735d
Patch1:        opencryptoki-3.11.0-lockdir.patch
ca735d
# bz#1063763, inform the user that he is not in pkcs11 group
ca735d
Patch2:        opencryptoki-3.11.0-warn-user-not-in-pkcs11-group.patch
ca735d
# EP11 token fails when using Strict-Session mode or VHSM-Mode
ca735d
Patch3:        opencryptoki-3.11.0-1dae7c15e7bc3bb5b5aad72b851e0b9cd328bb0b.patch
ca735d
# coverity issues
ca735d
Patch4:        opencryptoki-3.11.0-covscan.patch
ca735d
# bz#1688891, C_EncryptInit fails with CKR_KEY_TYPE_INCONSISTENT. on ep11 token when using imported RSA public key
ca735d
Patch5:        opencryptoki-3.11.0-bedf46da28da6231607a12e35414cd59b4432f9f.patch
299615
# bz#1766090, EP11: Support tolerated new crypto cards
299615
Patch6:        opencryptoki-3.11.0-d6ba9ff61743ce869a5a677f6f77339642efef.patch
299615
# bz#1769258 - ICA HW token missing after the package update 
299615
Patch7:        opencryptoki-3.11.1-use-soname.patch
95b452
bf32a6
Requires(pre):		shadow-utils coreutils sed
bf32a6
BuildRequires:		openssl-devel
bf32a6
BuildRequires:		trousers-devel
bf32a6
BuildRequires:		openldap-devel
bf32a6
BuildRequires:		autoconf automake libtool
bf32a6
BuildRequires:		bison flex
bf32a6
BuildRequires:		systemd
f793d6
BuildRequires:		libitm-devel
bf32a6
%ifarch s390 s390x
95b452
BuildRequires:		libica-devel >= 2.5
bf32a6
%endif
50440f
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
bf32a6
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
bf32a6
Requires:		%{name}(token)
bf32a6
Requires(post):		systemd
bf32a6
Requires(preun):	systemd
bf32a6
Requires(postun):	systemd
95b452
conflicts:		selinux-policy < 3.13.1-84
bf32a6
bf32a6
bf32a6
%description
bf32a6
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
bf32a6
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
bf32a6
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
bf32a6
token implementation that can be used without any cryptographic
bf32a6
hardware.
bf32a6
This package contains the Slot Daemon (pkcsslotd) and general utilities.
bf32a6
bf32a6
bf32a6
%package libs
bf32a6
Group:			System Environment/Libraries
bf32a6
Summary:		The run-time libraries for opencryptoki package
b32e24
Requires(pre):		shadow-utils
bf32a6
bf32a6
%description libs
bf32a6
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
bf32a6
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
bf32a6
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
bf32a6
token implementation that can be used without any cryptographic
bf32a6
hardware.
bf32a6
This package contains the PKCS#11 library implementation, and requires
bf32a6
at least one token implementation (packaged separately) to be fully
bf32a6
functional.
bf32a6
bf32a6
bf32a6
%package devel
bf32a6
Group:			Development/Libraries
bf32a6
Summary:		Development files for openCryptoki
bf32a6
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
bf32a6
bf32a6
%description devel
bf32a6
This package contains the development header files for building
bf32a6
opencryptoki and PKCS#11 based applications
bf32a6
bf32a6
bf32a6
%package swtok
bf32a6
Group:			System Environment/Libraries
bf32a6
Summary:		The software token implementation for opencryptoki
50440f
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
bf32a6
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
bf32a6
Provides:		%{name}(token)
bf32a6
bf32a6
%description swtok
bf32a6
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
bf32a6
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
bf32a6
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
bf32a6
token implementation that can be used without any cryptographic
bf32a6
hardware.
bf32a6
This package brings the software token implementation to use opencryptoki
bf32a6
without any specific cryptographic hardware.
bf32a6
bf32a6
bf32a6
%package tpmtok
bf32a6
Group:			System Environment/Libraries
bf32a6
Summary:		Trusted Platform Module (TPM) device support for opencryptoki
50440f
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
bf32a6
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
bf32a6
Provides:		%{name}(token)
bf32a6
bf32a6
%description tpmtok
bf32a6
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
bf32a6
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
bf32a6
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
bf32a6
token implementation that can be used without any cryptographic
bf32a6
hardware.
bf32a6
This package brings the necessary libraries and files to support
bf32a6
Trusted Platform Module (TPM) devices in the opencryptoki stack.
bf32a6
bf32a6
bf32a6
%package icsftok
bf32a6
Group:			System Environment/Libraries
bf32a6
Summary:		ICSF token support for opencryptoki
50440f
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
bf32a6
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
bf32a6
Provides:		%{name}(token)
bf32a6
bf32a6
%description icsftok
bf32a6
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
bf32a6
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
bf32a6
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
bf32a6
token implementation that can be used without any cryptographic
bf32a6
hardware.
bf32a6
This package brings the necessary libraries and files to support
bf32a6
ICSF token in the opencryptoki stack.
bf32a6
bf32a6
bf32a6
%ifarch s390 s390x
bf32a6
%package icatok
bf32a6
Group:			System Environment/Libraries
bf32a6
Summary:		ICA cryptographic devices (clear-key) support for opencryptoki
50440f
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
bf32a6
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
bf32a6
Provides:		%{name}(token)
bf32a6
bf32a6
%description icatok
bf32a6
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
bf32a6
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
bf32a6
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
bf32a6
token implementation that can be used without any cryptographic
bf32a6
hardware.
bf32a6
This package brings the necessary libraries and files to support ICA
bf32a6
devices in the opencryptoki stack. ICA is an interface to IBM
bf32a6
cryptographic hardware such as IBM 4764 or 4765 that uses the
bf32a6
"accelerator" or "clear-key" path.
bf32a6
bf32a6
%package ccatok
bf32a6
Group:			System Environment/Libraries
bf32a6
Summary:		CCA cryptographic devices (secure-key) support for opencryptoki
50440f
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
bf32a6
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
bf32a6
Provides:		%{name}(token)
bf32a6
bf32a6
%description ccatok
bf32a6
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
bf32a6
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
bf32a6
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
bf32a6
token implementation that can be used without any cryptographic
bf32a6
hardware.
bf32a6
This package brings the necessary libraries and files to support CCA
bf32a6
devices in the opencryptoki stack. CCA is an interface to IBM
bf32a6
cryptographic hardware such as IBM 4764 or 4765 that uses the
bf32a6
"co-processor" or "secure-key" path.
b32e24
b32e24
%package ep11tok
b32e24
Group:			System Environment/Libraries
b32e24
Summary:		CCA cryptographic devices (secure-key) support for opencryptoki
b32e24
Requires(pre):		%{name}-libs%{?_isa} = %{version}-%{release}
b32e24
Requires:		%{name}-libs%{?_isa} = %{version}-%{release}
b32e24
Provides:		%{name}(token)
b32e24
b32e24
%description ep11tok
b32e24
Opencryptoki implements the PKCS#11 specification v2.11 for a set of
b32e24
cryptographic hardware, such as IBM 4764 and 4765 crypto cards, and the
b32e24
Trusted Platform Module (TPM) chip. Opencryptoki also brings a software
b32e24
token implementation that can be used without any cryptographic
b32e24
hardware.
b32e24
This package brings the necessary libraries and files to support EP11
b32e24
tokens in the opencryptoki stack. The EP11 token is a token that uses
b32e24
the IBM Crypto Express adapters (starting with Crypto Express 4S adapters)
b32e24
configured with Enterprise PKCS#11 (EP11) firmware.
bf32a6
%endif
bf32a6
bf32a6
bf32a6
%prep
a88a86
%setup -q -n %{name}-%{version}
ca735d
%patch0 -p1 -b .group
ca735d
%patch1 -p1 -b .lockdir
ca735d
%patch2 -p1 -b .warn-user-not-in-pkcs11-group
ca735d
%patch3 -p1 -b .EP11_token_fails_when_using_Strict-Session_mode_or_VHSM-Mode
ca735d
%patch4 -p1 -b .coverity
ca735d
%patch5 -p1 -b .created-MACed-SPKIs-when-importing-public-keys
299615
%patch6 -p1 -b .support-tolerated-new-crypto-cards
299615
%patch7 -p1 -b .soname
bf32a6
bf32a6
# Upstream tarball has unnecessary executable perms set on the sources
bf32a6
find . -name '*.[ch]' -print0 | xargs -0 chmod -x
bf32a6
bf32a6
%build
bf32a6
./bootstrap.sh
bf32a6
bf32a6
%configure --with-systemd=%{_unitdir}	\
bf32a6
%ifarch s390 s390x
b32e24
    --enable-icatok --enable-ccatok --enable-ep11tok --enable-pkcsep11_migrate
bf32a6
%else
b32e24
    --disable-icatok --disable-ccatok --disable-ep11tok --disable-pkcsep11_migrate --disable-pkcscca_migrate
bf32a6
%endif
bf32a6
bf32a6
make %{?_smp_mflags} CHGRP=/bin/true
bf32a6
bf32a6
bf32a6
%install
bf32a6
make install DESTDIR=$RPM_BUILD_ROOT CHGRP=/bin/true
bf32a6
bf32a6
# Remove unwanted cruft
bf32a6
rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/*.la
bf32a6
rm -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/stdll/*.la
bf32a6
bf32a6
bf32a6
bf32a6
%post libs -p /sbin/ldconfig
bf32a6
%post swtok -p /sbin/ldconfig
bf32a6
%post tpmtok -p /sbin/ldconfig
bf32a6
%post icsftok -p /sbin/ldconfig
bf32a6
%ifarch s390 s390x
bf32a6
%post icatok -p /sbin/ldconfig
bf32a6
%post ccatok -p /sbin/ldconfig
b32e24
%post ep11tok -p /sbin/ldconfig
bf32a6
%endif
bf32a6
bf32a6
%postun libs -p /sbin/ldconfig
bf32a6
%postun swtok -p /sbin/ldconfig
bf32a6
%postun tpmtok -p /sbin/ldconfig
bf32a6
%postun icsftok -p /sbin/ldconfig
bf32a6
%ifarch s390 s390x
bf32a6
%postun icatok -p /sbin/ldconfig
bf32a6
%postun ccatok -p /sbin/ldconfig
b32e24
%postun ep11tok -p /sbin/ldconfig
bf32a6
%endif
bf32a6
50440f
%pre libs
bf32a6
getent group pkcs11 >/dev/null || groupadd -r pkcs11
bf32a6
exit 0
bf32a6
bf32a6
%post
bf32a6
%systemd_post pkcsslotd.service
ca735d
if test $1 -eq 1; then
ca735d
    %tmpfiles_create
ca735d
fi
bf32a6
bf32a6
%preun
bf32a6
%systemd_preun pkcsslotd.service
bf32a6
bf32a6
%postun
bf32a6
%systemd_postun_with_restart pkcsslotd.service
bf32a6
bf32a6
bf32a6
%files
12cf54
%doc ChangeLog FAQ README.md
12cf54
%doc doc/opencryptoki-howto.md
bf32a6
%doc doc/README.token_data
bf32a6
%dir %{_sysconfdir}/%{name}
bf32a6
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
95b452
%{_tmpfilesdir}/%{name}.conf
bf32a6
%{_unitdir}/pkcsslotd.service
bf32a6
%{_sbindir}/pkcsconf
bf32a6
%{_sbindir}/pkcsslotd
bf32a6
%{_mandir}/man1/pkcsconf.1*
bf32a6
%{_mandir}/man5/%{name}.conf.5*
bf32a6
%{_mandir}/man7/%{name}.7*
bf32a6
%{_mandir}/man8/pkcsslotd.8*
bf32a6
%{_libdir}/opencryptoki/methods
bf32a6
%{_libdir}/pkcs11/methods
bf32a6
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}
ca735d
%ghost %dir %attr(770,root,pkcs11) %{_rundir}/lock/%{name}
ca735d
%ghost %dir %attr(770,root,pkcs11) %{_rundir}/lock/%{name}/*
95b452
%dir %attr(770,root,pkcs11) %{_localstatedir}/log/opencryptoki
bf32a6
bf32a6
%files libs
bf32a6
%doc LICENSE
bf32a6
%{_sysconfdir}/ld.so.conf.d/*
bf32a6
# Unversioned .so symlinks usually belong to -devel packages, but opencryptoki
bf32a6
# needs them in the main package, because:
bf32a6
#   documentation suggests that programs should dlopen "PKCS11_API.so".
bf32a6
%dir %{_libdir}/opencryptoki
bf32a6
%{_libdir}/opencryptoki/libopencryptoki.*
bf32a6
%{_libdir}/opencryptoki/PKCS11_API.so
bf32a6
%dir %{_libdir}/opencryptoki/stdll
bf32a6
%dir %{_libdir}/pkcs11
bf32a6
%{_libdir}/pkcs11/libopencryptoki.so
bf32a6
%{_libdir}/pkcs11/PKCS11_API.so
bf32a6
%{_libdir}/pkcs11/stdll
bf32a6
bf32a6
%files devel
bf32a6
%{_includedir}/%{name}/
bf32a6
bf32a6
%files swtok
bf32a6
%{_libdir}/opencryptoki/stdll/libpkcs11_sw.*
bf32a6
%{_libdir}/opencryptoki/stdll/PKCS11_SW.so
50440f
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/swtok/
50440f
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/swtok/TOK_OBJ/
bf32a6
bf32a6
%files tpmtok
bf32a6
%doc doc/README.tpm_stdll
bf32a6
%{_libdir}/opencryptoki/stdll/libpkcs11_tpm.*
bf32a6
%{_libdir}/opencryptoki/stdll/PKCS11_TPM.so
50440f
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/tpm/
bf32a6
bf32a6
%files icsftok
bf32a6
%doc doc/README.icsf_stdll
bf32a6
%{_sbindir}/pkcsicsf
bf32a6
%{_mandir}/man1/pkcsicsf.1*
bf32a6
%{_libdir}/opencryptoki/stdll/libpkcs11_icsf.*
bf32a6
%{_libdir}/opencryptoki/stdll/PKCS11_ICSF.so
50440f
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/icsf/
bf32a6
bf32a6
%ifarch s390 s390x
bf32a6
%files icatok
bf32a6
%{_libdir}/opencryptoki/stdll/libpkcs11_ica.*
bf32a6
%{_libdir}/opencryptoki/stdll/PKCS11_ICA.so
50440f
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/lite/
50440f
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/lite/TOK_OBJ/
bf32a6
bf32a6
%files ccatok
bf32a6
%doc doc/README.cca_stdll
3630b7
%{_sbindir}/pkcscca
3630b7
%{_mandir}/man1/pkcscca.1*
bf32a6
%{_libdir}/opencryptoki/stdll/libpkcs11_cca.*
bf32a6
%{_libdir}/opencryptoki/stdll/PKCS11_CCA.so
50440f
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ccatok/
50440f
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ccatok/TOK_OBJ/
b32e24
b32e24
%files ep11tok
b32e24
%doc doc/README.ep11_stdll
b32e24
%config(noreplace) %{_sysconfdir}/%{name}/ep11tok.conf
12cf54
%config(noreplace) %{_sysconfdir}/%{name}/ep11cpfilter.conf
b32e24
%{_sbindir}/pkcsep11_migrate
12cf54
%{_sbindir}/pkcsep11_session
b32e24
%{_mandir}/man1/pkcsep11_migrate.1.*
12cf54
%{_mandir}/man1/pkcsep11_session.1*
b32e24
%{_libdir}/opencryptoki/stdll/libpkcs11_ep11.*
b32e24
%{_libdir}/opencryptoki/stdll/PKCS11_EP11.so
b32e24
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ep11tok/
b32e24
%dir %attr(770,root,pkcs11) %{_sharedstatedir}/%{name}/ep11tok/TOK_OBJ/
bf32a6
%endif
bf32a6
bf32a6
bf32a6
%changelog
299615
* Wed Nov 06 2019 Than Ngo <than@redhat.com> - 3.11.0-5
299615
- Resolves: #1769258, ICA HW token missing after the package update
299615
299615
* Mon Oct 28 2019 Than Ngo <than@redhat.com> - 3.11.0-4
299615
- Resolves: #1766090, EP11: Support tolerated new crypto cards
299615
ca735d
* Thu Mar 14 2019 Than Ngo <than@redhat.com> - 3.11.0-3
ca735d
- Resolves: #1688891 - C_EncryptInit fails with CKR_KEY_TYPE_INCONSISTENT. on ep11 token when using imported RSA public key
ca735d
ca735d
* Thu Feb 21 2019 Than Ngo <than@redhat.com> - 3.11.0-2
ca735d
- Resolves: #1678788 - EP11 token fails when using Strict-Session mode or VHSM-Mode
ca735d
ca735d
* Tue Feb 19 2019 Than Ngo <than@redhat.com> - 3.11.0-1
ca735d
- Resolves: #1063763 - opencryptoki tools should inform the user that he is not in pkcs11 group 
ca735d
- Resolves: #1641027 - enhanced IBM z14 functions
ca735d
- Resolves: #1641026 - support m_*Single functions from ep11 lib
ca735d
- Resolves: #1641025 - rebase to 3.11.0
ca735d
- Resolves: #1519386 - use CPACF hashes in ep11 token
ca735d
- Resolves: #1373833 - lock file directory is %%ghost now
ca735d
12cf54
* Thu Aug 23 2018 Sinny Kumari <skumari@redhat.com> - 3.10.0-2
12cf54
- Resolves: #1613743 - ICA Token specific des3 cbc encrypt failed - token not available
12cf54
12cf54
* Fri Jun 22 2018 Sinny Kumari <skumari@redhat.com> - 3.10.0-1
12cf54
- Rebase to 3.10.0
12cf54
- Resolves: #1519383 - openCryptoki token for EP11 - crucial enhancements for s390x
12cf54
- Remove opencryptoki-3.4-fix-root-checks.patch, fixed in 3.9.0
12cf54
- Remove opencryptoki-3.2-conditional-manpages.patch, fixed in 3.9.0
12cf54
f793d6
* Tue Oct 03 2017 Sinny Kumari <skumari@redhat.com> - 3.7.0-1
f793d6
- RHBZ#1456520 - Rebase opencryptoki to 3.7.0
f793d6
- Include libitm-devel as BuildRequires
f793d6
a88a86
* Mon Feb 20 2017 Sinny Kumari <skumari@redhat.com> - 3.6.2-1
a88a86
- Rebase opencryptoki to 3.6.2
a88a86
- Remove patches from spec file applied during 3.5 release
a88a86
- Resolves: #1391559, #1380784, #1417905
a88a86
95b452
* Mon Sep 19 2016 Sinny Kumari <skumari@redhat.com> - 3.5-7
95b452
- Related: RHBZ#1343671 - Make selinux-policy as Conflicts instead of Requires
95b452
95b452
* Fri Sep 02 2016 Sinny Kumari <skumari@redhat.com> - 3.5-6
95b452
- RHBZ#1371095: coverity scan fixes - memory leak and variable initialization
95b452
- RHBZ#1372188: fix illegal instruction on pkcscca tool
95b452
95b452
* Wed Jul 20 2016 Jakub Jelen <jjelen@redhat.com> - 3.5-5
95b452
- Create missing tpm lock directory from tpm stdll (#1343671)
95b452
95b452
* Thu Jul 14 2016 Jakub Jelen <jjelen@redhat.com> - 3.5-4
95b452
- Require selinux-policy with changes related to #1343671
95b452
95b452
* Tue Jun 28 2016 Jakub Jelen <jjelen@redhat.com> - 3.5-3
95b452
- Downgraded a syslog dlopen error to warning (#1059821)
95b452
- Coverity: NULL_RETURNS fixes
95b452
95b452
* Tue Jun 28 2016 Jakub Jelen <jjelen@redhat.com> - 3.5-2
95b452
- icsf token does not validate data length for verify operation for ECDSA (#1344383)
95b452
- Create lock and log directories from opencryptoki (#1343671)
95b452
- Create log directory with appropriate permissions (#1185421)
95b452
- Added support for rc=8, reasoncode=2028 in icsf token (#1348803)
95b452
- Fix for session handle not set in session issue (#1348804)
95b452
- Fix memory leak in icsf specific code
95b452
95b452
* Fri May 13 2016 Jakub Jelen <jjelen@redhat.com> - 3.5-1
95b452
- New upstream relase (#1185421)
95b452
- Implicit dependence on libica >= 2.5
95b452
95b452
* Fri Apr 29 2016 Jakub Jelen <jjelen@redhat.com> - 3.4.1-4
95b452
- Added support for icsf reason code 11028 (#1325827)
95b452
95b452
* Thu Mar 31 2016 Jakub Jelen <jjelen@redhat.com> 3.4.1-3
95b452
- Few more issues reported by Coverity
95b452
- Fix Segfault when trace in enabled in api_interface.c
95b452
- Fix the misleading indentation
95b452
- Fix memory leak by closing the lock file descriptor in C_Final
95b452
95b452
* Thu Mar 24 2016 Jakub Jelen <jjelen@redhat.com> 3.4.1-2
95b452
- Fix problems reported by Coverity scan
95b452
95b452
* Fri Feb 12 2016 Jakub Jelen <jjelen@redhat.com> 3.4.1-1
95b452
- New upstream release (#1185421)
95b452
- Fix translating ICSF return code (#1306654)
95b452
- Fix getObjectsize call for opencryptoki ICSF token (#1303839)
95b452
- Fix for openCryptoki ICSF token failure (#1300194)
95b452
10d45d
* Thu Jan 28 2016 Jakub Jelen <jjelen@redhat.com> 3.2-5
10d45d
- Fix obj class for ep11 token (#1263179)
10d45d
b32e24
* Wed Dec 03 2014 Petr Lautrbach <plautrba@redhat.com> 3.2-4.1
b32e24
- don't check if root is in pkcs11 group
b32e24
b32e24
* Mon Nov 10 2014 Petr Lautrbach <plautrba@redhat.com> 3.2-3
b32e24
- Correctly declare OAEP parameter in RSA Wrap tests to prevent a possible
b32e24
  scope issue (#1088512)
b32e24
- several fixes for pkcsep11_migrate
b32e24
b32e24
* Mon Oct 20 2014 Petr Lautrbach <plautrba@redhat.com> 3.2-2
b32e24
- opencryptoki-libs needs shadow-utils to be installed (#1154647)
b32e24
b32e24
* Wed Sep 10 2014 Petr Lautrbach <plautrba@redhat.com> 3.2-1
b32e24
- new upstream release 3.2 (#1088512)
b32e24
- add new sub-package opencryptoki-ep11tok on s390x
3630b7
50440f
* Thu Feb 06 2014 Petr Lautrbach <plautrba@redhat.com> 3.0-11
50440f
- create the right lock directory for cca tokens (#1054442)
50440f
50440f
* Mon Feb 03 2014 Petr Lautrbach <plautrba@redhat.com> 3.0-10
50440f
- use Requires(pre): opencryptoki-libs for subpackages (#1058814)
50440f
50440f
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.0-9
50440f
- Mass rebuild 2014-01-24
50440f
50440f
* Mon Jan 20 2014 Dan Horák <dan[at]danny.cz> - 3.0-8
50440f
- include token specific directories (#1013017, #1045775, #1054442)
50440f
- fix pkcsconf crash for non-root users (#1054661)
50440f
- the libs subpackage must care of creating the pkcs11 group, it's the first to be installed
50440f
- fix build with -Werror=format-security (#1037228)
50440f
- Resolves: #1054442, #1054661
50440f
50440f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.0-7
50440f
- Mass rebuild 2013-12-27
50440f
50440f
* Fri Nov 22 2013 Dan Horák <dan[at]danny.cz> - 3.0-6
50440f
- apply post-3.0 fixes (#1033284)
50440f
- Resolves: #1033284
50440f
50440f
* Tue Nov 19 2013 Dan Horák <dan[at]danny.cz> - 3.0-5
50440f
- update opencryptoki man page (#1001729)
50440f
- Resolves: #1001729
50440f
bf32a6
* Fri Aug 23 2013 Dan Horák <dan[at]danny.cz> - 3.0-4
bf32a6
- update unit file (#995002)
bf32a6
bf32a6
* Tue Jul 23 2013 Dan Horák <dan[at]danny.cz> - 3.0-2
bf32a6
- update pkcsconf man page (#948460)
bf32a6
bf32a6
* Mon Jul 22 2013 Dan Horák <dan[at]danny.cz> - 3.0-1
bf32a6
- new upstream release 3.0
bf32a6
bf32a6
* Tue Jun 25 2013 Dan Horák <dan[at]danny.cz> - 2.4.3.1-1
bf32a6
- new upstream release 2.4.3.1
bf32a6
bf32a6
* Fri May 03 2013 Dan Horák <dan[at]danny.cz> - 2.4.3-1
bf32a6
- new upstream release 2.4.3
bf32a6
bf32a6
* Thu Apr 04 2013 Dan Horák <dan[at]danny.cz> - 2.4.2-4
bf32a6
- enable hardened build
bf32a6
- switch to systemd macros in scriptlets (#850240)
bf32a6
bf32a6
* Mon Jan 28 2013 Dan Horák <dan[at]danny.cz> - 2.4.2-3
bf32a6
- add virtual opencryptoki(token) Provides to token modules and as Requires
bf32a6
  to main package (#904986)
bf32a6
bf32a6
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-2
bf32a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
bf32a6
bf32a6
* Thu Jun 21 2012 Dan Horák <dan[at]danny.cz> - 2.4.2-1
bf32a6
- new upstream release 2.4.2
bf32a6
- add pkcs_slot man page
bf32a6
- don't add root to the pkcs11 group
bf32a6
bf32a6
* Mon Jun 11 2012 Dan Horák <dan[at]danny.cz> - 2.4.1-2
bf32a6
- fix unresolved symbols in TPM module (#830129)
bf32a6
bf32a6
* Sat Feb 25 2012 Dan Horák <dan[at]danny.cz> - 2.4.1-1
bf32a6
- new upstream release 2.4.1
bf32a6
- convert from initscript to systemd unit
bf32a6
- import fixes from RHEL-6 about root's group membership (#732756, #730903)
bf32a6
bf32a6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
bf32a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bf32a6
bf32a6
* Thu Jul 07 2011 Dan Horák <dan[at]danny.cz> - 2.4-1
bf32a6
- new upstream release 2.4
bf32a6
bf32a6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-2
bf32a6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
bf32a6
bf32a6
* Mon Jan 17 2011 Dan Horák <dan[at]danny.cz> 2.3.3-1
bf32a6
- new upstream release 2.3.3
bf32a6
bf32a6
* Tue Nov 09 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.2-2
bf32a6
- Apply Obsoletes to package names, not provides.
bf32a6
bf32a6
* Tue Sep 14 2010 Dan Horák <dan[at]danny.cz> 2.3.2-1
bf32a6
- new upstream release 2.3.2
bf32a6
- put STDLLs in separate packages to match upstream package design
bf32a6
bf32a6
* Thu Jul 08 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-7
bf32a6
- Move the LICENSE file to the -libs subpackage.
bf32a6
bf32a6
* Tue Jun 29 2010 Dan Horák <dan[at]danny.cz> 2.3.1-6
bf32a6
- rebuilt with CCA enabled (#604287)
bf32a6
- fixed issues from #546274
bf32a6
bf32a6
* Fri Apr 30 2010 Dan Horák <dan[at]danny.cz> 2.3.1-5
bf32a6
- fixed one more issue in the initscript (#547324)
bf32a6
bf32a6
* Mon Apr 26 2010 Dan Horák <dan[at]danny.cz> 2.3.1-4
bf32a6
- fixed pidfile creating and usage (#547324)
bf32a6
bf32a6
* Mon Feb 08 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-3
bf32a6
- Also list 'reload' and 'force-reload' in "Usage: ...".
bf32a6
bf32a6
* Mon Feb 08 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-2
bf32a6
- Support 'force-reload' in the initscript.
bf32a6
bf32a6
* Wed Jan 27 2010 Michal Schmidt <mschmidt@redhat.com> 2.3.1-1
bf32a6
- New upstream release 2.3.1.
bf32a6
- opencryptoki-2.3.0-fix-nss-breakage.patch was merged.
bf32a6
bf32a6
* Fri Jan 22 2010 Dan Horák <dan[at]danny.cz> 2.3.0-5
bf32a6
- made pkcsslotd initscript LSB compliant (#522149)
bf32a6
bf32a6
* Mon Sep 07 2009 Michal Schmidt <mschmidt@redhat.com> 2.3.0-4
bf32a6
- Added opencryptoki-2.3.0-fix-nss-breakage.patch on upstream request.
bf32a6
bf32a6
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.3.0-3
bf32a6
- rebuilt with new openssl
bf32a6
bf32a6
* Sun Aug 16 2009 Michal Schmidt <mschmidt@redhat.com> 2.3.0-2
bf32a6
- Require libica-2.0.
bf32a6
bf32a6
* Fri Aug 07 2009 Michal Schmidt <mschmidt@redhat.com> 2.3.0-1
bf32a6
- New upstream release 2.3.0:
bf32a6
  - adds support for RSA 4096 bit keys in the ICA token.
bf32a6
bf32a6
* Tue Jul 21 2009 Michal Schmidt <mschmidt@redhat.com> - 2.2.8-5
bf32a6
- Require arch-specific dependency on -libs.
bf32a6
bf32a6
* Tue Jul 21 2009 Michal Schmidt <mschmidt@redhat.com> - 2.2.8-4
bf32a6
- Return support for crypto hw on s390.
bf32a6
- Renamed to opencryptoki.
bf32a6
- Simplified multilib by putting libs in subpackage as suggested by Dan Horák.
bf32a6
bf32a6
* Tue Jul 21 2009 Michal Schmidt <mschmidt@redhat.com> - 2.2.8-2
bf32a6
- Fedora package based on RHEL-5 package.