Guess that's a call for Nils ;-) BTW, I quickly tested with version 4.2B and did *not* receive this error.
Vladislav Kurz wrote:
On Sun, 10 Jun 2007, Eddy Nigg (StartCom Ltd.) wrote:Try this patch (not fully tested yet). Apply to current version or trunk.Thanks for the patch, i tried it with trunk. opensc-tool recognizes the card, I can expore it with opensc-explorer and see the DF 6666 and subdirectories, but I can't initialize it with pkcs15-init.$ /usr/local/bin/pkcs15-init -C winscard_clnt.c:3232:SCardCheckDaemonAvailability() PCSC Not Running[pkcs15-init] profile.c:303:sc_profile_load: you need to set profile_dir in your config file. [pkcs15-init] pkcs15-lib.c:353:sc_pkcs15init_bind: Failed to load profile: File not foundCouldn't bind to the card: File not found In my config there is profile_dir = /usr/local/share/opensc; and there are files cardos.profile, pkcs15.profile and others in /usr/local/share/openscI wonder whether I should add something extra into my config, or if some dubug output would be of any help$ /usr/local/bin/pkcs15-init -C -vv winscard_clnt.c:3232:SCardCheckDaemonAvailability() PCSC Not Running [pkcs15-init] sc.c:196:sc_detect_card_presence: called[pkcs15-init] reader-openct.c:207:openct_reader_detect_card_presence: called[pkcs15-init] sc.c:201:sc_detect_card_presence: returning with: 1 Connecting to card in reader Aladdin eToken PRO 64k... [pkcs15-init] card.c:110:sc_connect_card: called [pkcs15-init] reader-openct.c:231:openct_reader_connect: called[pkcs15-init] card-cardos.c:90:cardos_match_card: checking cardos version ...[pkcs15-init] reader-openct.c:431:openct_reader_lock: called [pkcs15-init] reader-openct.c:458:openct_reader_unlock: called[pkcs15-init] card-cardos.c:108:cardos_match_card: found cardos v4.3b or higher[pkcs15-init] card.c:221:sc_connect_card: card info: CardOS M4, 1004, 0x0 [pkcs15-init] card.c:222:sc_connect_card: returning with: 0 Using card driver Siemens CardOS. [pkcs15-init] reader-openct.c:431:openct_reader_lock: called [pkcs15-init] card-cardos.c:901:cardos_lifecycle_set: called [pkcs15-init] card-cardos.c:855:cardos_lifecycle_get: called [pkcs15-init] card-cardos.c:889:cardos_lifecycle_get: returning with: 0 [pkcs15-init] card.c:532:sc_select_file: called; type=2, path=3f0050154946 [pkcs15-init] card-cardos.c:434:cardos_select_file: called [pkcs15-init] card-cardos.c:262:cardos_check_sw: file not found [pkcs15-init] card-cardos.c:438:cardos_select_file: returning with: -1201 [pkcs15-init] card.c:554:sc_select_file: returning with: -1201[pkcs15-init] profile.c:303:sc_profile_load: you need to set profile_dir in your config file. [pkcs15-init] pkcs15-lib.c:353:sc_pkcs15init_bind: Failed to load profile: File not foundCouldn't bind to the card: File not found What file is it looking for? Regards Vladislav Kurz
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel