opensc-tool - generic smart card utility
The opensc-tool utility can be used from the command line to perform
miscellaneous smart card operations such as getting the card ATR or
sending arbitrary APDU commands to a card.
Print the Answer To Reset (ATR) of the card. Output is in hex byte
--card-driver driver, -c driver
Use the given card driver. The default is auto-detected.
Print information about OpenSC, such as version and enabled
List all installed card drivers.
Recursively list all files stored on card.
List all configured readers.
Print the name of the inserted card (driver).
--reader num, -r num
Use the given reader number. The default is 0, the first reader in
--send-apdu apdu, -s apdu
Sends an arbitrary APDU to the card in the format
Print the card serial number (normally the ICCSN). Output is in hex
Causes opensc-tool to be more verbose. Specify this flag several
times to enable debug output in the opensc library.
Wait for a card to be inserted.