Bug #786
Updated by Tobias Wich almost 5 years ago
The rule for detecting the Turkish turkish eID card is based on the existence of the DF.CIA file specified in ISO/IEC 7816-15, Sec. 7.5.5. This file is very likely to exist on other cards as well, making this rule alone not suitable to precisely detect a Turkish turkish eID card. A more specific rule containing a unique match identifier of data of this card is needed. This could be a successive read binary call with a match string fitting only to Turkish eID cards. The excerpt from the recognition tree: <pre> <iso:CardCall> <iso:CommandAPDU>00A4040C0CA000000063504B43532D3135</iso:CommandAPDU> <iso:ResponseAPDU> <iso:Body> <iso:MatchingData> <iso:Offset>00</iso:Offset> <iso:Length>00</iso:Length> <iso:MatchingValue/> </iso:MatchingData> </iso:Body> <iso:Trailer>9000</iso:Trailer> <iso:Conclusion> <iso:RecognizedCardType>http://www.ekds.gov.tr/2.5</iso:RecognizedCardType> </iso:Conclusion> </iso:ResponseAPDU> </iso:CardCall> </pre>