Debian Codegraph @

man/man1/pkcscca.1.in

raw
1 .TH PKCSCCA 1 "September 2014" "@PACKAGE_VERSION@" "openCryptoki"
2 .SH NAME
3 pkcscca \- configuration utility for the CCA token
4
5 .SH SYNOPSIS
6 .SS "VERSION MIGRATION"
7 \fBpkcscca\fP
8 [\fB-m v2objectsv3\fP]
9 [\fIOPTIONS\fP]
10
11 .SS "KEY MIGRATION"
12 \fBpkcscca\fP
13 [\fB-m keys\fP]
14 [\fB-s SLOTID\fP]
15 [\fB-k aes|apka|asym|sym\fP]
16 [\fIOPTIONS\fP]
17
18 .SS "OLD RSA KEY MIGRATION"
19 \fBpkcscca\fP
20 [\fB-m oldrsakeys\fP]
21 [\fB-s SLOTID\fP]
22 [\fIOPTIONS\fP]
23
24 .SH DESCRIPTION
25 The \fBpkcscca\fP utility assists in administering the CCA token.
26
27 In version 2 of opencryptoki, CCA private token objects were encrypted in CCA
28 hardware. In version 3 these objects are encrypted in software. The
29 \fBv2objectsv3\fP migration option migrates these v2 objects by
30 decrypting them in CCA hardware using a secure key and then re-encrypting
31 them in software using a software key. Afterwards, v2 objects can be accessed
32 in version 3.
33
34 There may be situations where CCA master keys must be changed. All CCA secret
35 and private keys are wrapped with a master key. After a CCA master key is
36 changed, keys wrapped with the old master key need to be re-wrapped with the
37 current master key. The \fBkeys\fP migration option migrates these wrapped keys
38 by unwrapping them with the old master key and wrapping them with the current
39 master key.
40
41 Up to opencryptoki version 3.14.0, RSA keys were created using the RSA-CRT
42 key token format (private key section X'08'). RSA-CRT keys are encrypted with
43 the CCA ASYM master key, and can not be used for certain mechanisms, e.g.
44 RSA-PSS or RSA-OAEP. In newer opencryptoki versions, RSA keys are created using
45 the RSA-AESC key token format (private key section X'31'). Up to version 3.16.0,
46 RSA public keys also contained full CCA secure key tokens, including the private
47 key section (which is encrypted by the CCA master key). The \fBoldrsakeys\fP
48 migration option migrates old RSA private key tokens to the new format, and also
49 extracts the public key sections from RSA public key tokens containing a full
50 CCA secure key token.
51
52 .SH "GENERAL OPTIONS"
53 .IP "\fB-d|--datastore\fP \fIdirectory\fp" 10
54 the directory where the CCA token information is kept. This directory will be
55 used to locate the private token objects to be migrated. i.e. /var/lib/opencryptoki/ccatok
56 .IP "\fB-v|--verbose\fP" 5
57 Provide more detailed output
58
59 .SH "VERSION MIGRATION"
60 .IP "\fB-m v2objectsv3\fP" 5
61 Migrates CCA private token objects from CCA encryption (used in v2) to software
62 encryption (used in v3).
63
64 .SH "KEY MIGRATION"
65 .IP "\fB-m keys\fP" 5
66 Unwraps private keys with an old CCA master key and wraps them with a new CCA
67 master key.
68 .IP "\fB-k aes|apka|asym|sym\fP" 5
69 Migrate keys wrapped with the selected master key type.
70 .IP "\fB-s|--slotid\fP \fISLOTID\fP" 5
71 The PKCS slot number.
72
73 .SH "OLD RSA KEY MIGRATION"
74 .IP "\fB-m oldrsakeys\fP" 5
75 Converts old RSA keys (RSA-CRT) to the new format (RSA-AESC) and extracts the
76 public key section only from key objects containing the full RSA key token.
77 .IP "\fB-s|--slotid\fP \fISLOTID\fP" 5
78 The PKCS slot number.
79
80 .SH "FILES"
81 .IP "/var/lib/opencryptoki/ccatok/TOK_OBJ/OBJ.IDX"
82 contains current list of public and private token objects for the CCA token.
83
84 .SH SEE ALSO
85 .PD 0
86 .TP
87 \fBREADME.cca_stdll\fP (in system's doc directory)
88 .PD