1OPENSC-TOOL(1) OpenSC Tools OPENSC-TOOL(1)
2
3
4
6 opensc-tool - generic smart card utility
7
9 opensc-tool [OPTIONS]
10
12 The opensc-tool utility can be used from the command line to perform
13 miscellaneous smart card operations such as getting the card ATR or
14 sending arbitrary APDU commands to a card.
15
17 --version,
18 Print the OpenSC package release version.
19
20 --atr, -a
21 Print the Answer To Reset (ATR) of the card. Output is in hex byte
22 format
23
24 --card-driver driver, -c driver
25 Use the given card driver. The default is auto-detected.
26
27 --info, -i
28 Print information about OpenSC, such as version and enabled
29 components.
30
31 --list-drivers, -D
32 List all installed card drivers.
33
34 --list-files, -f
35 Recursively list all files stored on card.
36
37 --list-readers, -l
38 List all configured readers.
39
40 --name, -n
41 Print the name of the inserted card (driver).
42
43 --reader num, -r num
44 Use the given reader number. The default is 0, the first reader in
45 the system.
46
47 --send-apdu apdu, -s apdu
48 Sends an arbitrary APDU to the card in the format
49 AA:BB:CC:DD:EE:FF....
50
51 --serial
52 Print the card serial number (normally the ICCSN). Output is in hex
53 byte format
54
55 --verbose, -v
56 Causes opensc-tool to be more verbose. Specify this flag several
57 times to enable debug output in the opensc library.
58
59 --wait, -w
60 Wait for a card to be inserted.
61
63 opensc-explorer(1)
64
65
66
67opensc 10/30/2018 OPENSC-TOOL(1)