1OPENSC-TOOL(1)                   OpenSC Tools                   OPENSC-TOOL(1)
2
3
4

NAME

6       opensc-tool - generic smart card utility
7

SYNOPSIS

9       opensc-tool [OPTIONS]
10

DESCRIPTION

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

OPTIONS

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       --list-algorithms,
28           Lists algorithms supported by card
29
30       --info, -i
31           Print information about OpenSC, such as version and enabled
32           components.
33
34       --list-drivers, -D
35           List all installed card drivers.
36
37       --list-files, -f
38           Recursively list all files stored on card.
39
40       --list-readers, -l
41           List all configured readers.
42
43       --name, -n
44           Print the name of the inserted card (driver).
45
46       --get-conf-entry conf, -G conf
47           Get configuration key, format: section:name:key
48
49       --set-conf-entry conf, -S conf
50           Get configuration key, format: section:name:key:value
51
52       --reader num, -r num
53           Specify the reader to use. By default, the first reader with a
54           present card is used. If num is an ATR, the reader with a matching
55           card will be chosen.
56
57       --reset [type],
58           Resets the card in reader. The default reset type is cold, but warm
59           reset is also possible.
60
61       --send-apdu apdu, -s apdu
62           Sends an arbitrary APDU to the card in the format
63           AA:BB:CC:DD:EE:FF....
64
65       --serial
66           Print the card serial number (normally the ICCSN). Output is in hex
67           byte format
68
69       --verbose, -v
70           Causes opensc-tool to be more verbose. Specify this flag several
71           times to enable debug output in the opensc library.
72
73       --wait, -w
74           Wait for a card to be inserted.
75

SEE ALSO

77       opensc-explorer(1)
78

AUTHORS

80       opensc-tool was written by Juha Yrjölä <juha.yrjola@iki.fi>.
81
82
83
84opensc                            03/27/2019                    OPENSC-TOOL(1)
Impressum