LudovicRousseau / pcsc-tools

Some tools to be used with smart cards and PC/SC
https://pcsc-tools.apdu.fr/
GNU General Public License v2.0
185 stars 63 forks source link

Fix known tachograph card entries #47

Closed graealex closed 2 years ago

graealex commented 2 years ago

Neither the type of a tachograph card (driver, control, company, workshop) nor the issuing state can be determined from the ATR. In addition, tachograph devices are forbidden from interpreting the historic bytes in the ATR, although it's still useful for card identification.

Card type can only be deducted by reading the EF_Application_Identification record. For example, both a control and a driver card from VDO/Gemalto returned the following ATR: 3B FE 96 00 00 80 31 FE 43 80 73 84 00 E0 65 B0 85 04 00 FB 82 90 00 4E

In theory, all tachograph card ATRs that specify country of origin or card type are wrong.