From: Douglas E E. <dee...@gm...> - 2015-10-29 20:38:08
|
Good to hear. LatviaEid_AID is incorrectly named. Its in not an AID, but the string the vendor put in the ATR. On 10/29/2015 3:30 PM, Kaspars Dambis wrote: > Looks like the LatviaEid_AID is used for ATR matching only while the actual AID is the GlobalPlatform_CardManager_AID. I fixed my issue by adding SC_CARD_TYPE_IASECC_LATVIAEID to iasecc_select_file() > (L993 of card-iassecc.c) where it uses card->type to verify a valid card type: > > https://github.com/kasparsd/OpenSC-Latvia-eID/commit/0c86db2e9731edcc306cbce1fecfea73f680729f > > $ ./opensc-tool -a -v > Using reader with a card: OMNIKEY AG Smart Card Reader > Connecting to card in reader OMNIKEY AG Smart Card Reader... > Using card driver IAS-ECC. > Card ATR: > 3B DD 18 00 81 31 FE 45 90 4C 41 54 56 49 41 2D ;....1.E.LATVIA- > 65 49 44 90 00 8C eID... > > > Here is dump from pkcs15-tool: > https://gist.github.com/kasparsd/ed3a874173cbfc6d3981 > > Thank you once again! > Kaspars > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Opensc-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensc-devel > -- Douglas E. Engert <DEE...@gm...> |