Ticket #37 (new defect)
Opened 20 months ago
[PATCH] ifd_atr_parse() fails with some ATR strings
| Reported by: | stelian | Owned by: | OpenCT Developers |
|---|---|---|---|
| Priority: | high | Component: | general |
| Version: | trunk | Severity: | normal |
| Keywords: | ATR | Cc: |
Description
The following ATR string is not recognized as valid by ifd_atr_parse(): 3B 80 80 01 01
pscs-tools' ATR_analysis says the following about this ATR:
$ ATR_analysis 3b 80 80 01 01 ATR: 3B 80 80 01 01 + TS = 3B --> Direct Convention + T0 = 80, Y(1): 1000, K: 0 (historical bytes)
TD(1) = 80 --> Y(i+1) = 1000, Protocol T = 0
TD(2) = 01 --> Y(i+1) = 0000, Protocol T = 1
+ Historical bytes: + TCK = 01 (correct checksum)
Possibly identified card (using /usr/share/pcsc/smartcard_list.txt): 3B 80 80 01 01
Latvian e-Pasport
Attachments
Change History
Changed 20 months ago by stelian
-
attachment
openct-atr.patch
added
Note: See
TracTickets for help on using
tickets.

Patch fixing the issue