DNIE-TOOL(1)
π³ DNIE-TOOL β the DNIe gossip corner β¨
okay so bestie, welcome to dnie-tool, a lil utility from the OpenSC Tools family that spills all the tea about DNIe-based security tokens π
β¨ NAME β¨
dnie-tool β displays information about DNIe based security tokens π«Ά
πΈ SYNOPSIS πΈ
dnie-tool [OPTIONS]
π¦ DESCRIPTION π¦
The dnie-tool utility is used to display additional information about DNIe, the Spanish National eID card. that's it, that's the whole job, and it eats every single time π
π OPTIONS π
--idesp,-iβ Show the DNIe IDESP value. yes literally just that, iconic behaviour β¨--data,-dβ Show DNIe personal information. Reads and prints the DNIe number and the User Name and SurName. it's giving "hi here's your whole identity" π--all,-aβ Displays every available information. This command is equivalent to-d -i -V -sπ (the full combo meal, no cap)--serial,-sβ Displays the DNIe Serial Number π--version,-Vβ Show DNIe sw version. Displays the software version for the in-card DNIe OS β--pinpin,-ppin β These options can be used to specify the PIN value on the command line. If the value is set toenv:VARIABLE, the value of the specified environment variable is used. By default, the code is prompted on the command line if needed π
bestie listen. Note that on most operating systems, any user can display the command line of any process on the system using utilities such as ps(1). Therefore, you should prefer passing the codes via an environment variable on an unsecured system. don't be out here leaking your PIN to the whole group chat, fr fr π
--readerarg,-rarg β Number of the reader to use. By default, the first reader with a present card is used. If arg is an ATR, the reader with a matching card will be chosen π§--wait,-wβ Causesdnie-toolto wait for the token to be inserted into reader. patience is a virtue and so is this flag πΈ--verbose,-vβ Causesdnie-toolto be more verbose. Specify this flag several times to enable debug output in the opensc library π₯ (stack it, queen)
π AUTHORS π
dnie-tool was written by Juan Antonio Martinez <jonsito@terra.es> π
and that's the whole page bestie, go forth and read your DNIe πβ¨
this iconic little manual comes from opensc, dated 04/19/2026, and it's DNIE-TOOL(1) β periodt π
π
π¦ where this page comes from
- fedora 43: opensc 0.27.1-2.fc43 Β· LGPL-2.1-or-later AND BSD-3-Clause
- fedora 44: opensc 0.27.1-2.fc44 Β· LGPL-2.1-or-later AND BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms