The '#include "slotmgr.h"' is not needed in the sample code, as well
as 'Slot_Mgr_Shr_t *shmp = NULL;'. File slotmgr.h is not installed
into /usr/include/opencryptoki, so compiling this sample would not
be possible outside of the source tree.
Signed-off-by: Ingo Franzki <ifranzki@linux.vnet.ibm.com>
This file was previously distributed as a PDF and was really outdated. We are
replacing it for an updated text (.md) file.
Signed-off-by: Eduardo Barretto <ebarretto@linux.vnet.ibm.com>
The README.pkcscca_migrate document was outdated as it mentioned pkcsconf64
which is not present anymore and was integrated into pkcsconf.
Fixed some coding style and small spelling mistakes.
Signed-off-by: Eduardo Barretto <ebarretto@linux.vnet.ibm.com>
OpenCryptoki-HOWTO.pdf is from 2005, really outdated, and we shouldn't have a
pdf in the package source. Another file will be written to take its place.
README-IBM_CCA_users was needed when pkcsconf didn't support 64 bits, so there
was a pkcsconf64 tool to help on that. But now this pkcsconf64 doesn't exist
anymore and pkcsconf works for 32 and 64bits.
Signed-off-by: Eduardo Barretto <ebarretto@linux.vnet.ibm.com>
CONTRIBUTING file documents how to get started on developing for OpenCryptoki.
The conding style is a guideline about how you should write your code.
Signed-off-by: Eduardo Barretto <ebarretto@linux.vnet.ibm.com>
Since opencryptoki-3.0 the file pk_config_data was replaced by the
opencryptoki.conf file. The ock_tests.sh script was still depending
on the pk_config_data file to read slots number to execute.
This patch fixes GitHub issue #12
Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
wrapped keys need to be unwrapped with the old mater key and wrapped with the
new master key. This patch extends the pkcscca tool to migrate wrapped keys.
Signed-off-by: Fionnuala Gunter <fin@linux.vnet.ibm.com>
Signed-off-by: Vineetha Pai <vpishar@us.ibm.com>
The following patch adds documentation on openCryptoki's handling of token data and adds it to the rpm specfile.
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
doc/README.token_data | 99 +++++++++++++++++++++++++++++++++++++++++++++++++
rpm/opencryptoki.spec | 2 +-
2 files changed, 100 insertions(+), 1 deletions(-)
Documentation files were scattered across different places. Consolidate
them in doc/ to make packaging easier, while avoiding collisions.
Signed-off-by: Klaus Heinrich Kiwi <klausk@linux.vnet.ibm.com>