1CRYPTOFLEX-TOOL(1) OpenSC Tools CRYPTOFLEX-TOOL(1)
2
3
4
6 cryptoflex-tool - utility for manipulating Schlumberger Cryptoflex data
7 structures
8
10 cryptoflex-tool [OPTIONS]
11
13 cryptoflex-tool is used to manipulate PKCS data structures on
14 Schlumberger Cryptoflex smart cards. Users can create, list and read
15 PINs and keys stored on the smart card. User PIN authentication is
16 performed for those operations that require it.
17
19 --app-df num, -a num
20 Specifies the DF to operate in
21
22 --create-key-files arg, -c arg
23 Creates new RSA key files for arg keys
24
25 --create-pin-files id, -P id
26 Creates new PIN file for CHVid
27
28 --exponent exp, -e exp
29 Specifies the RSA exponent, exp, to use in key generation. The
30 default value is 3.
31
32 --generate-key, -g
33 Generate a new RSA key pair
34
35 --key-num num, -k num
36 Specifies the key number to operate on. The default is key number
37 1.
38
39 --list-keys, -l
40 Lists all keys stored in a public key file
41
42 --modulus-length length, -m length
43 Specifies the modulus length to use in key generation. The default
44 value is 1024.
45
46 --prkey-file id, -p id
47 Specifies the private key file id, id, to use
48
49 --pubkey-file id, -u id
50 Specifies the public key file id, id, to use
51
52 --read-key, -R
53 Reads a public key from the card, allowing the user to extract and
54 store or use the public key
55
56 --reader arg, -r arg
57 Number of the reader to use. By default, the first reader with a
58 present card is used. If arg is an ATR, the reader with a matching
59 card will be chosen.
60
61 --verbose, -v
62 Causes cryptoflex-tool to be more verbose. Specify this flag
63 several times to enable debug output in the opensc library.
64
65 --verify-pin, -V
66 Verifies CHV1 before issuing commands
67
68 --wait, -w
69 Causes cryptoflex-tool to wait for a card insertion.
70
72 pkcs15-tool(1)
73
75 cryptoflex-tool was written by Juha Yrjölä <juha.yrjola@iki.fi>.
76
77
78
79opensc 02/10/2020 CRYPTOFLEX-TOOL(1)