1DNIE-TOOL(1) OpenSC Tools DNIE-TOOL(1)
2
3
4
6 dnie-tool - displays information about DNIe based security tokens
7
9 dnie-tool [OPTIONS]
10
12 The dnie-tool utility is used to display additional information about
13 DNIe, the Spanish National eID card.
14
16 --idesp, -i
17 Show the DNIe IDESP value.
18
19 --data, -d
20 Show DNIe personal information. Reads and print DNIe number and
21 User Name and SurName
22
23 --all, -a
24 Displays every available information. This command is equivalent to
25 -d -i -V -s
26
27 --serial, -s
28 Displays DNIe Serial Number
29
30 --version, -V
31 Show DNIe sw version. Displays software version for in-card DNIe OS
32
33 --pin pin, -p pin
34 These options can be used to specify the PIN value on the command
35 line. If the value is set to env:VARIABLE, the value of the
36 specified environment variable is used. By default, the code is
37 prompted on the command line if needed.
38
39 Note that on most operation systems, any user can display the
40 command line of any process on the system using utilities such as
41 ps(1). Therefore, you should prefer passing the codes via an
42 environment variable on an unsecured system.
43
44 --reader arg, -r arg
45 Number of the reader to use. By default, the first reader with a
46 present card is used. If arg is an ATR, the reader with a matching
47 card will be chosen.
48
49 --wait, -w
50 Causes dnie-tool to wait for the token to be inserted into reader.
51
52 --verbose, -v
53 Causes dnie-tool to be more verbose. Specify this flag several
54 times to enable debug output in the opensc library.
55
57 dnie-tool was written by Juan Antonio Martinez <jonsito@terra.es>.
58
59
60
61opensc 08/10/2021 DNIE-TOOL(1)