Hello, On Oct 26, 2011, at 10:37 , anze.stojilko...@policija.si wrote: > Yes, the system finds SafeNet card as PIV-II card. > > How can I initialize the card? > > # opensc-tool -I > opensc 0.11.13 [gcc 4.5.0 20100604 [gcc-4_5-branch revision 160292]] > Enabled features: zlib readline iconv openssl openct > pcsc(/usr/lib/libpcsclite.so.1) nsplugin
Please use a more up to date version if possible. > # opensc-tool -a > Using reader with a card: OMNIKEY CardMan 3x21 00 00 The name of the reader suggests that you are using a driver from omnikey, not the open source CCID driver. If in doubt, please use the open source version instead. > 3b:ff:13:00:00:81:31:fe:4d:80:25:a0:00:00:00:56:57:44:4b:33:33:30:06:00:d2 http://smartcard-atr.appspot.com/parse?ATR=3b:ff:13:00:00:81:31:fe:4d:80:25:a0:00:00:00:56:57:44:4b:33:33:30:06:00:d2 > > pkcs11-tool --module <path/to/opensc-pkcs11.so> -L still gives me > Segmentation fault A segfault is never acceptable, maybe you can install the debug symbols as instructed by the below commands and try again. > > # gdb --args pkcs11-tool -I > GNU gdb (GDB) SUSE (7.1-3.12) > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "i586-suse-linux". > For bug reporting instructions, please see: > <http://www.gnu.org/software/gdb/bugs/>... > Reading symbols from /usr/bin/pkcs11-tool...Missing separate debuginfo for > /usr/bin/pkcs11-tool > Try: zypper install -C > "debuginfo(build-id)=7034486b591f3d39c4066653d8c803b3f1740c3a" > (no debugging symbols found)...done. > (gdb) run > Starting program: /usr/bin/pkcs11-tool -I > Missing separate debuginfo for /lib/ld-linux.so.2 > Try: zypper install -C > "debuginfo(build-id)=22e2b3718e8271a0d899156a796b0a90bc4dc391" > Missing separate debuginfo for /usr/lib/libopensc.so.2 > Try: zypper install -C > "debuginfo(build-id)=a2968b909d9f77159f6ceac9e27292f40329cea2" > Missing separate debuginfo for /lib/libcrypto.so.1.0.0 > Try: zypper install -C > "debuginfo(build-id)=748b7a6af35635f6d49b3e490bc63326a29d90f4" > Missing separate debuginfo for /usr/lib/libltdl.so.7 > Try: zypper install -C > "debuginfo(build-id)=5b5598e8ebd310d83acde7a67ba6894627004523" > Missing separate debuginfo for /lib/libpthread.so.0 > Try: zypper install -C > "debuginfo(build-id)=ebd849d5f5cebe33657f871a32bf0eb34132e8d1" > [Thread debugging using libthread_db enabled] > Missing separate debuginfo for /lib/libc.so.6 > Try: zypper install -C > "debuginfo(build-id)=62a8bfd7732322fa6b9c39d39a830a8028804534" > Missing separate debuginfo for /usr/lib/libopenct.so.1 > Try: zypper install -C > "debuginfo(build-id)=f7efb05f0795f9f22db4a941c6c5cb93b3c0a0ee" > Missing separate debuginfo for /lib/libz.so.1 > Try: zypper install -C > "debuginfo(build-id)=afddd839a6c18dd308b04b5289c56cc3abd1384f" > Missing separate debuginfo for /usr/lib/libscconf.so.2 > Try: zypper install -C > "debuginfo(build-id)=a2730fd63a824c6c74d4405d741d1a15b6b912de" > Missing separate debuginfo for /lib/libdl.so.2 > Try: zypper install -C > "debuginfo(build-id)=20519b5f2874a1cf29e149802cfbef0db142633f" > Missing separate debuginfo for /usr/lib/opensc-pkcs11.so > Try: zypper install -C > "debuginfo(build-id)=96f91af434b1fad440a1568057509c47e9b3ef6f" > Missing separate debuginfo for /usr/lib/libpkcs15init.so.2 > Try: zypper install -C > "debuginfo(build-id)=2c1a3b91716eb49aae5a31ba08c3e94caeacd221" > Missing separate debuginfo for /usr/lib/libpcsclite.so.1 > Try: zypper install -C > "debuginfo(build-id)=02dd0ec78d070922bcb6dbb7d47558f13ddb26a2" > > Program received signal SIGSEGV, Segmentation fault. > 0xb7f34bb7 in ?? () from /usr/lib/libopensc.so.2 > > > I really appreciate your help! For generic debugging, you can enable OpenSC debug logging in /etc/opensc/opensc.conf, set a path to debug file (uncomment the default) and set debugging level to 9 and try the output of: pkcs15-tool --dump And send the generated /tmp/opensc-debug.log file to opensc-de...@lists.opensc-project.org Best, Martin -- @MartinPaljak.net +3725156495 _______________________________________________ Muscle mailing list Muscle@lists.musclecard.com http://lists.drizzle.com/mailman/listinfo/muscle