1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
|
.\"Generated by db2man.xsl. Don't modify this, modify the source.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH "CRYPTOFLEX-TOOL" 1 "" "" "OpenSC"
.SH NAME
cryptoflex-tool \- utility for manipulating Schlumberger Cryptoflex data structures
.SH "SYNOPSIS"
.PP
\fBcryptoflex\-tool\fR [OPTIONS]
.SH "DESCRIPTION"
.PP
\fBcryptoflex\-tool\fR is used to manipulate PKCS data structures on Schlumberger Cryptoflex smart cards\&. Users can create, list and read PINs and keys stored on the smart card\&. User PIN authentication is performed for those operations that require it\&.
.SH "OPTIONS"
.PP
.TP
\fB\-\-verify\-pin, \-V\fR
Verifies CHV1 before issuing commands
.TP
\fB\-\-list\-keys, \-l\fR
Lists all keys stored in a public key file
.TP
\fB\-\-create\-key\-files\fR \fIarg\fR, \fB\-c\fR \fIarg\fR
Creates new RSA key files for \fIarg\fR keys
.TP
\fB\-\-create\-pin\-files\fR \fIid\fR, \fB\-P\fR \fIid\fR
Creates new PIN file for CHV\fIid\fR
.TP
\fB\-\-generate\-key, \-g\fR
Generate a new RSA key pair
.TP
\fB\-\-read\-key\fR
Reads a public key from the card, allowing the user to extract and store or use the public key
.TP
\fB\-\-key\-num\fR \fInum\fR, \fB\-k\fR \fInum\fR
Specifies the key number to operate on\&. The default is key number 1\&.
.TP
\fB\-\-app\-df\fR \fInum\fR, \fB\-a\fR \fInum\fR
Specifies the DF to operate in
.TP
\fB\-\-prkey\-file\fR \fIid\fR, \fB\-p\fR \fIid\fR
Specifies the private key file id, \fIid\fR, to use
.TP
\fB\-\-pubkey\-file\fR \fIid\fR, \fB\-u\fR \fIid\fR
Specifies the public key file id, \fIid\fR, to use
.TP
\fB\-\-exponent\fR \fIexp\fR, \fB\-e\fR \fIexp\fR
Specifies the RSA exponent, \fIexp\fR, to use in key generation\&. The default value is 3\&.
.TP
\fB\-\-modulus\-length\fR \fIlength\fR, \fB\-m\fR \fIlength\fR
Specifies the modulus \fIlength\fR to use in key generation\&. The default value is 1024\&.
.TP
\fB\-\-reader\fR \fInum\fR, \fB\-r\fR \fInum\fR
Forces \fBcryptoflex\-tool\fR to use reader number \fInum\fR for operations\&. The default is to use reader number 0, the first reader in the system\&.
.TP
\fB\-\-verbose, \-v\fR
Causes \fBcryptoflex\-tool\fR to be more verbose\&. Specify this flag several times to enable debug output in the opensc library\&.
.SH "SEE ALSO"
.PP
opensc(7), pkcs15\-tool(1)
|