Hi, Your card (a CardOS from Siemens) is (probably) not initialized with OpenSC tools (pkcs15-init). Maybe you need to use a PKCS11 module specifically designed for your card!
What is the output of the cardos-info command? and of the opensc-tool -f command? Jean-Pierre Sevdalin Todorov Todorov a écrit : > Hi Jean-Pierre thanks for the reply, > > the output of previews commands is from SCA 0.2.4.1 - installed > because of recommendation of my certificate issuer. > But, before 0.2.4.1 i also tried the SCA 0.2.6, with no success. > Now i've installed SCA 0.2.6 back to try again but the result is same: > > [din...@mini]-[/Library/OpenSC/bin]$ ./opensc-tool -i > opensc 0.11.8 [gcc 4.0.1 (Apple Computer, Inc. build 5367)] > Enabled features: zlib readline iconv openssl > pcsc(/System/Library/Frameworks/PCSC.framework/PCSC) > > [din...@mini]-[/Library/OpenSC/bin]$ ./pkcs11-tool -I > Cryptoki version 2.20 > Manufacturer OpenSC (www.opensc-project.org) > Library smart card PKCS#11 API (ver 0.0) > > [din...@mini]-[/Library/OpenSC/bin]$ ./pkcs11-tool -O > Bus error > > Below is the output of recommended command by you: > > [din...@mini]-[/Library/OpenSC/bin]$ /Library/OpenSC/bin/pkcs11-tool > -t -l --module /Library/OpenSC/lib/opensc-pkcs11.so > Please enter User PIN: > C_SeedRandom() and C_GenerateRandom(): > seeding (C_SeedRandom) not supported > seems to be OK > Digests: > all 4 digest functions seem to work > MD5: OK > SHA-1: OK > RIPEMD160: OK > Signatures (currently only RSA signatures) > testing key 0 (******************************) > Bus error > > Regarding the smartcard: > [din...@mini]-[/Library/OpenSC/bin]$ ./opensc-tool -n > Using reader with a card: OmniKey CardMan 6121 00 00 > CardOS M4 > > The strange thing for me is that some other commands works e.g.: > [din...@mini]-[/Library/OpenSC/bin]$ ./pkcs11-tool -T > Available slots: > Slot 0 OmniKey CardMan 6121 00 00 > token label: InfoNotary (PIN) > token manuf: Siemens AG (C) > token model: PKCS#15 > token flags: login required, PIN initialized, token initialized > serial num : > > > If you point me how can i go deep to debug this "bus error" will be > great. > > Greets, > Dincho > > > > On Jun 5, 2009, at 1:39 PM, JP Szikora wrote: > >> Hi Dincho, >> >> Which SCA did you use? opensc 0.11.5 is pretty old now. >> Which smartcard? Is it supported by OpenSC? >> Have you tried with the module specification: >> /Library/OpenSC/bin/pkcs11-tool -t -l --module >> /Library/OpenSC/lib/opensc-pkcs11.so >> >> Cheers, >> >> Jean-Pierre >> >> Sevdalin Todorov Todorov a écrit : >>> >>> The error occurred when I try to show objects on token. >>> >>> [din...@mini]-[/Library/OpenSC/bin]$ ./pkcs11-tool -vvvvvv -O >>> Bus error >>> >>> The same happens if i try: /pkcs11-tool -t -l but with some more >>> stack information ( i'm not sure that it's secure to post my key >>> signature here ). >>> > > _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel