Hello,

I've been issued a smart card by the Australian Health Insurance 
Commission or Medicare Australia. These cards are for getting on to our 
new national electronic health record system.

I would quite like to use it on Linux but haven't had a lot of luck with 
pkcs15-tool so far.

I'm really mostly wondering whether the problem is with a lack of support 
for the card operating system or an incompatibility between the OpenSC and 
card PKCS#15 implementations.

I believe they run STARCOS 3.0 and are initialised with the SafeSign 
Identity Client application, which I'm assure is PKCS#15 compliant. 
However OpenSC complains that the card is not supported.

The ATR data is:
3b:bb:18:00:c0:10:31:fe:45:80:67:04:12:b0:03:03:00:00:81:05:3c

I have attached the logs from pkcs15-tool with both OpenCT and PCSC-Lite, 
and can turn up the debugging further if that would help.

Thanks,

David Adam
zanc...@ucc.gu.uwa.edu.au
0x7f4687ac2700 23:08:50.859 [pkcs15-tool] 
reader-openct.c:173:openct_reader_detect_card_presence: called
Using reader with a card: CCID Compatible
0x7f4687ac2700 23:08:50.859 [pkcs15-tool] 
reader-openct.c:173:openct_reader_detect_card_presence: called
Connecting to card in reader CCID Compatible...
0x7f4687ac2700 23:08:50.859 [pkcs15-tool] card.c:125:sc_connect_card: called
0x7f4687ac2700 23:08:50.859 [pkcs15-tool] 
reader-openct.c:196:openct_reader_connect: called
0x7f4687ac2700 23:08:51.031 [pkcs15-tool] 
card-entersafe.c:104:entersafe_match_card: called
0x7f4687ac2700 23:08:51.031 [pkcs15-tool] 
card-rutoken.c:101:rutoken_match_card: called
0x7f4687ac2700 23:08:51.031 [pkcs15-tool] 
reader-openct.c:381:openct_reader_lock: called
0x7f4687ac2700 23:08:51.033 [pkcs15-tool] 
reader-openct.c:407:openct_reader_unlock: called
0x7f4687ac2700 23:08:51.034 [pkcs15-tool] 
reader-openct.c:381:openct_reader_lock: called
0x7f4687ac2700 23:08:51.036 [pkcs15-tool] 
reader-openct.c:407:openct_reader_unlock: called
0x7f4687ac2700 23:08:51.037 [pkcs15-tool] card-piv.c:2516:piv_match_card: called
0x7f4687ac2700 23:08:51.037 [pkcs15-tool] card-piv.c:715:piv_find_aid: called
0x7f4687ac2700 23:08:51.037 [pkcs15-tool] card-piv.c:678:piv_select_aid: called
0x7f4687ac2700 23:08:51.037 [pkcs15-tool] 
reader-openct.c:381:openct_reader_lock: called
0x7f4687ac2700 23:08:51.039 [pkcs15-tool] 
reader-openct.c:407:openct_reader_unlock: called
0x7f4687ac2700 23:08:51.040 [pkcs15-tool] 
reader-openct.c:381:openct_reader_lock: called
0x7f4687ac2700 23:08:51.042 [pkcs15-tool] 
reader-openct.c:407:openct_reader_unlock: called
0x7f4687ac2700 23:08:51.043 [pkcs15-tool] card-itacns.c:162:itacns_match_card: 
Matching 3b against atr[0] == 3b
0x7f4687ac2700 23:08:51.043 [pkcs15-tool] 
reader-openct.c:381:openct_reader_lock: called
0x7f4687ac2700 23:08:51.045 [pkcs15-tool] 
reader-openct.c:407:openct_reader_unlock: called
0x7f4687ac2700 23:08:51.046 [pkcs15-tool] 
reader-openct.c:242:openct_reader_disconnect: called
Failed to connect to card: Card is invalid or cannot be handled
0x7f4687ac2700 23:08:51.046 [pkcs15-tool] ctx.c:787:sc_release_context: called
0x7f4687ac2700 23:08:51.046 [pkcs15-tool] 
reader-openct.c:153:openct_reader_release: called
0x7f4687ac2700 23:08:51.046 [pkcs15-tool] 
reader-openct.c:153:openct_reader_release: called
0x7f4687ac2700 23:08:51.046 [pkcs15-tool] 
reader-openct.c:140:openct_reader_finish: called
0x7fb862227700 22:56:16.845 [pkcs15-tool] sc.c:195:sc_detect_card_presence: 
called
0x7fb862227700 22:56:16.846 [pkcs15-tool] reader-pcsc.c:293:refresh_attributes: 
returning with: 0 (Success)
0x7fb862227700 22:56:16.846 [pkcs15-tool] 
reader-pcsc.c:369:pcsc_detect_card_presence: returning with: 1
Using reader with a card: Gemalto USB Shell Token V2 00 00
0x7fb862227700 22:56:16.846 [pkcs15-tool] sc.c:195:sc_detect_card_presence: 
called
0x7fb862227700 22:56:16.846 [pkcs15-tool] reader-pcsc.c:293:refresh_attributes: 
returning with: 0 (Success)
0x7fb862227700 22:56:16.846 [pkcs15-tool] 
reader-pcsc.c:369:pcsc_detect_card_presence: returning with: 1
Connecting to card in reader Gemalto USB Shell Token V2 00 00...
0x7fb862227700 22:56:16.846 [pkcs15-tool] card.c:115:sc_connect_card: called
0x7fb862227700 22:56:16.847 [pkcs15-tool] reader-pcsc.c:293:refresh_attributes: 
returning with: 0 (Success)
0x7fb862227700 22:56:16.847 [pkcs15-tool] 
card-entersafe.c:104:entersafe_match_card: called
0x7fb862227700 22:56:16.847 [pkcs15-tool] 
card-rutoken.c:101:rutoken_match_card: called
0x7fb862227700 22:56:16.847 [pkcs15-tool] apdu.c:525:sc_transmit_apdu: called
0x7fb862227700 22:56:16.914 [pkcs15-tool] apdu.c:525:sc_transmit_apdu: called
0x7fb862227700 22:56:16.930 [pkcs15-tool] muscle.c:269:msc_select_applet: 
returning with: -1200 (Card command failed)
0x7fb862227700 22:56:16.930 [pkcs15-tool] card-piv.c:2507:piv_match_card: called
0x7fb862227700 22:56:16.930 [pkcs15-tool] card-piv.c:713:piv_find_aid: called
0x7fb862227700 22:56:16.930 [pkcs15-tool] card-piv.c:676:piv_select_aid: called
0x7fb862227700 22:56:16.930 [pkcs15-tool] apdu.c:525:sc_transmit_apdu: called
0x7fb862227700 22:56:16.945 [pkcs15-tool] card-piv.c:694:piv_select_aid: 
returning with: -1201 (File not found)
0x7fb862227700 22:56:16.945 [pkcs15-tool] apdu.c:525:sc_transmit_apdu: called
0x7fb862227700 22:56:16.956 [pkcs15-tool] card-itacns.c:162:itacns_match_card: 
Matching 3b against atr[0] == 3b
0x7fb862227700 22:56:16.956 [pkcs15-tool] apdu.c:525:sc_transmit_apdu: called
Using card driver Default driver for unknown cards.
Trying to find a PKCS#15 compatible card...
0x7fb862227700 22:56:16.967 [pkcs15-tool] apdu.c:525:sc_transmit_apdu: called
0x7fb862227700 22:56:16.972 [pkcs15-tool] iso7816.c:485:iso7816_select_file: 
returning with: -1205 (Incorrect parameters in APDU)
0x7fb862227700 22:56:16.972 [pkcs15-tool] 
pkcs15-syn.c:125:sc_pkcs15_bind_synthetic: called
0x7fb862227700 22:56:16.972 [pkcs15-tool] 
pkcs15-itacns.c:857:sc_pkcs15emu_itacns_init_ex: called
0x7fb862227700 22:56:16.972 [pkcs15-tool] 
pkcs15-piv.c:1005:sc_pkcs15emu_piv_init_ex: called
0x7fb862227700 22:56:16.972 [pkcs15-tool] pkcs15-piv.c:231:piv_detect_card: 
called
0x7fb862227700 22:56:16.972 [pkcs15-tool] 
pkcs15-gemsafeGPK.c:166:gemsafe_detect_card: called
0x7fb862227700 22:56:16.972 [pkcs15-tool] 
pkcs15-esinit.c:80:sc_pkcs15emu_entersafe_init_ex: called
0x7fb862227700 22:56:16.972 [pkcs15-tool] 
pkcs15-esinit.c:36:entersafe_detect_card: called
0x7fb862227700 22:56:16.972 [pkcs15-tool] 
pkcs15-oberthur.c:1045:sc_pkcs15emu_oberthur_init_ex: called
0x7fb862227700 22:56:16.972 [pkcs15-tool] 
pkcs15-oberthur.c:1032:oberthur_detect_card: called
PKCS#15 binding failed: Unsupported card
0x7fb862227700 22:56:17.027 [pkcs15-tool] ctx.c:737:sc_release_context: called
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to