ATR_analysis(1p)

ATR_analysis1p

Analyse a smart card atr

Usage

ATR_analysis [ATRstring]

Overview

ATR_analysis is used to parse the ATR (Answer To Reset) sent by a smart card.

The command also tries to find the card model using an ATR database stored in a text file called smartcard_list.txt.

The smartcard_list.txt file is searched in $XDG_CACHE_HOME/smartcard_list.txt, $HOME/.smartcardlist.txt and /usr/share/pcsc/smartcard_list.txt.

Example:
$ ATR_analysis '3B A7 00 40 18 80 65 A2 08 01 01 52'
ATR: 3B A7 00 40 18 80 65 A2 08 01 01 52
+ TS = 3B --> Direct Convention
+ T0 = A7, Y(1): 1010, K: 7 (historical bytes)
TB(1) = 00 --> Programming Param P: 0, I: 0
TD(1) = 40 --> Y(i+1) = 0100, Protocol T = 0
-----
TC(2) = 18 --> Work waiting time: 960 x 24 x (Fi/F)
+ Historical bytes: 80 65 A2 08 01 01 52

Possibly identified card:
3B A7 00 40 18 80 65 A2 08 01 01 52
Gemplus GPK8000

Files

smartcard_list.txt

Releases

12 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1
  2. 4.0–10
  3. 11–12
  4. 13–Arch

Bugs

Maybe many bugs since I am not a ISO 7816 expert.

Author

Ludovic Rousseau <[email protected]>

From pcsc-tools 1.7.5-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.