| 1 |
.TH PKCSEP11_MIGRATE 1 "Jan 2014" "@PACKAGE_VERSION@" "openCryptoki" |
| 2 |
.SH NAME |
| 3 |
pkcsep11_migrate \- utility to re-encrypt EP11 token keys to prepare a |
| 4 |
change of master keys in the EP11 adapter |
| 5 |
|
| 6 |
.SH SYNOPSIS |
| 7 |
\fBpkcep11_migrate\fP |
| 8 |
[\fB-h\fP] |
| 9 |
[\fB-slot\fP \fIslot-number\fP \fB-adapter\fP \fIadapter-ID\fP |
| 10 |
\fB-domain\fP \fIdomain-ID\fP ] |
| 11 |
|
| 12 |
.SH DESCRIPTION |
| 13 |
In case of a Master key change within an EP11 adapter all key objects that are |
| 14 |
wrapped with this master key must be re-wrapped or re-encrypted. |
| 15 |
The \fBpkcsep11_migrate\fP utility takes all EP11 token related key objects |
| 16 |
that are wrapped with the EP11 adapter master key, decrypts each key object |
| 17 |
with the current master key and encrypt it with the new master key. |
| 18 |
|
| 19 |
Notes: |
| 20 |
.br |
| 21 |
1. The new master key must be set and committed on the EP11 adapter via |
| 22 |
Trusted Key Entry console (TKE) before using this utility. |
| 23 |
.br |
| 24 |
2. While using this tool no process using the EP11 token should be running. |
| 25 |
.br |
| 26 |
3. Before using this tool make a back-up of the token objects in ep11tok/TOK_OBJ/. |
| 27 |
.br |
| 28 |
4. After successfully execution of the migrate utility and before (re)starting |
| 29 |
programs using the EP11 token the new master key must be activated using the TKE. |
| 30 |
|
| 31 |
.SH "COMMAND SUMMARY" |
| 32 |
.IP "\fB-slot\fP \fIslot-number\fP" 10 |
| 33 |
specifies the token slot of the EP11 token |
| 34 |
.IP "\fB-adapter\fP \fIadapter-ID\fP" 10 |
| 35 |
specifies an EP11 adapter ID. |
| 36 |
(Refer to lszcrypt to get a list of installed crypto adapters. |
| 37 |
The adapter ID will be the number xx in 'card\fBxx\fP' from the output.) |
| 38 |
This value can be provided either in hexadecimal (e.g. 0x0A) or decimal (10) |
| 39 |
notation. |
| 40 |
.IP "\fB-domain\fP \fIdomain-ID\fP" 10 |
| 41 |
specifies the usage domain for the EP11 adapter. (see /sys/bus/ap/ap_domain.) |
| 42 |
This value can be provided either in hexadecimal (e.g. 0x0B) or decimal (11) |
| 43 |
notation. |
| 44 |
.IP "\fB-h\fP" 10 |
| 45 |
show usage information |
| 46 |
|
| 47 |
.SH SEE ALSO |
| 48 |
.PD 0 |
| 49 |
.TP |
| 50 |
\fBpkcsconf\fP(1), |
| 51 |
.TP |
| 52 |
\fBopencryptoki\fP(7), |
| 53 |
.TP |
| 54 |
\fBpkcsslotd\fP(8). |
| 55 |
.PD |