From: Anthony F. <ant...@gm...> - 2013-08-30 00:07:07
|
Hello Lists! (Hint, it's easier to write a human response if you offer at least a first name...) Anyway. I'm using the SC-HSM under linux successfully (and, with just opensc / pcsclite, under windows 7). You shouldn't need openct; the SC-HSM reader is CCID compilant, so pcsclite (pcscd) should work just fine. I did rebuilt it myself, but that was due to the changes merged into opensc after my distribution (Fedora 18) built their copy. Using the attached script to rebuild my stack, here's the results: $ opensc-tool -i opensc 0.13.0 [gcc 4.7.2 20121109 (Red Hat 4.7.2-8)] Enabled features: zlib openssl pcsc(libpcsclite.so.1) $ opensc-tool --list-readers -v # Detected readers (pcsc) Nr. Card Features Name 0 Yes SCM Microsystems Inc. SCR 355 00 00 3b:fe:18:00:00:81:31:fe:45:80:31:81:54:48:53:4d:31:73:80:21:40:81:07:fa SmartCard-HSM $ pkcs15-tool -D Using reader with a card: SCM Microsystems Inc. SCR 355 00 00 PKCS#15 Card [SmartCard-HSM]: Version : 0 Serial number : UTTM000xxxx Manufacturer ID: www.CardContact.de Flags : ... So try it again with pcsclite / libccid instead of openct. Best regards, Anthony Foiani On Thu, Aug 29, 2013 at 3:57 PM, <li...@no...> wrote: > > My Smartcard-HSM (USB form) is recognised by the OS but not by opensc. > > Linux version 3.7.10-1.16-desktop (geeko@buildhost) (gcc version 4.7.2 20130108 [gcc-4_7-branch revision 195012] (SUSE Linux) ) #1 SMP PREEMPT Fri May 31 20:21:23 UTC 2013 (97c14ba) > > │ ├┬─SCx35xx v2.0 USB SC Reader │ > │ │├──Bus: USB │ > │ │├──Class (spec): │ > │ │├──Class: Chipcard reader │ > │ │├──Device Identifier: 218128 │ > │ │├──Device: SCx35xx v2.0 USB SC Reader │ > │ │├──Hwcfg Bus: usb │ > │ │├──Model: SCM Microsystems SCx35xx v2.0 USB SC Reader │ > │ │├──Old Unique Key: NLLf.qkb4Y46c0A0 ┬ > │ │├──Parent Unique ID: zPk0.AJzOe6ShP50 │ > │ │├+─Resources │ > │ │├──Revision: 3.04 │ > │ │├──Sysfs ID: /devices/pci0000:00/0000:00:13.2/usb4/4-1/4-1:1.0 │ > │ │├──Sysfs ID: 4-1:1.0 │ > │ │├──Unique Key: PYMB.hPVszvRlKk4 ┴ > │ │├──Vendor Identifier: 197862 │ > │ │├──Vendor: SCM Microsystems, Inc. │ > │ │├──hotplug: usb │ > │ │└──modalias: usb:v04E6p5410d0304dc00dsc00dp00ic0Bisc00ip00in00 > > > Because it's USB I've compiled with openct (I also tried pcsc-lite). > > $ opensc-tool -i > opensc 0.13.0 [gcc 4.7.2 20130108 [gcc-4_7-branch revision 195012]] > Enabled features: zlib openssl openct > > $ opensc-tool --list-readers -vv > # Detected readers (openct) > Nr. Card Features Name > 0x7f11036bc700 22:52:36.160 [opensc-tool] reader-openct.c:173:openct_reader_detect_card_presence: called > 0 No OpenCT reader (detached) > 0x7f11036bc700 22:52:36.161 [opensc-tool] reader-openct.c:173:openct_reader_detect_card_presence: called > 1 No OpenCT reader (detached) > 0x7f11036bc700 22:52:36.161 [opensc-tool] ctx.c:787:sc_release_context: called > 0x7f11036bc700 22:52:36.161 [opensc-tool] reader-openct.c:153:openct_reader_release: called > 0x7f11036bc700 22:52:36.161 [opensc-tool] reader-openct.c:153:openct_reader_release: called > 0x7f11036bc700 22:52:36.161 [opensc-tool] reader-openct.c:140:openct_reader_finish: called > > > $ pkcs11-tool --module /usr/local/lib/opensc-pkcs11.so -L > Available slots: > Slot 0 (0xffffffffffffffff): Virtual hotplug slot > (empty) > Slot 1 (0x1): OpenCT reader (detached) > (empty) > Slot 2 (0x5): OpenCT reader (detached) > (empty) > > $ pkcs11-tool --module /usr/local/lib/opensc-pkcs11.so -T > Available slots: > No slots. > > > What else should I look into? Is there a more suitable forum than this? > > Thanks. > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Opensc-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensc-devel |