You can subscribe to this list here.
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2013 |
Jan
(26) |
Feb
(64) |
Mar
(78) |
Apr
(36) |
May
(51) |
Jun
(40) |
Jul
(43) |
Aug
(102) |
Sep
(50) |
Oct
(71) |
Nov
(42) |
Dec
(29) |
2014 |
Jan
(49) |
Feb
(52) |
Mar
(56) |
Apr
(30) |
May
(31) |
Jun
(52) |
Jul
(76) |
Aug
(19) |
Sep
(82) |
Oct
(95) |
Nov
(58) |
Dec
(76) |
2015 |
Jan
(135) |
Feb
(43) |
Mar
(47) |
Apr
(72) |
May
(59) |
Jun
(20) |
Jul
(17) |
Aug
(14) |
Sep
(34) |
Oct
(62) |
Nov
(48) |
Dec
(23) |
2016 |
Jan
(18) |
Feb
(55) |
Mar
(24) |
Apr
(20) |
May
(33) |
Jun
(29) |
Jul
(18) |
Aug
(15) |
Sep
(8) |
Oct
(21) |
Nov
(5) |
Dec
(23) |
2017 |
Jan
(3) |
Feb
|
Mar
(17) |
Apr
(4) |
May
|
Jun
(5) |
Jul
(1) |
Aug
(20) |
Sep
(17) |
Oct
(21) |
Nov
|
Dec
(3) |
2018 |
Jan
(62) |
Feb
(4) |
Mar
(4) |
Apr
(20) |
May
(16) |
Jun
|
Jul
(1) |
Aug
(9) |
Sep
(3) |
Oct
(11) |
Nov
|
Dec
(9) |
2019 |
Jan
(1) |
Feb
(1) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
(5) |
Nov
|
Dec
(5) |
2020 |
Jan
(11) |
Feb
(14) |
Mar
(7) |
Apr
|
May
|
Jun
(3) |
Jul
(3) |
Aug
(6) |
Sep
(2) |
Oct
(15) |
Nov
(11) |
Dec
(7) |
2021 |
Jan
(14) |
Feb
(21) |
Mar
(3) |
Apr
(1) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(12) |
Dec
|
2023 |
Jan
(2) |
Feb
(4) |
Mar
|
Apr
(8) |
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(1) |
2024 |
Jan
|
Feb
(2) |
Mar
(6) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
(4) |
Dec
|
2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
(11) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Anthony F. <ant...@gm...> - 2013-03-31 05:18:32
|
Ludovic -- Thanks for the reply. Sorry that it took me this long to get back to you -- but I think I understand why I'm seeing the problem (and why you aren't). On Fri, Mar 29, 2013 at 4:09 AM, Ludovic Rousseau <lud...@gm...> wrote: > > 2013/3/28 Anthony Foiani <ant...@gm...>: > > (It might be possible to use autoconf to sub in the right paths. I > > don't know autoconf & friends well enough to say.) > > Fixed in revision 6579. Looks good, thanks! > I can't reproduce the problem [unable to build pcsc-wirecheck & friends]. > > I do > $ mkdir a > $ cd a > $ ../configure > $ make > and have no error (after the fix in revision 6579. See above) > > Please give me the commands you use to get the issue. You can find it attached, but first, my analysis: Try it again with a fresh svn checkout with only a bootstrap done on the native machine. If you've built from the source tree for the *native* arch, at least once, then you're golden -- because pcsc-wirecheck-dist.c will be created with the native executable (even if its in "noinst_", it's still built for the "--host" arch). The makefile tests for existance (not regular "newer-than"), and if it exists, it just "touch"es it, so no executable is needed. If you try to cross-compile from a fresh checkout (as I did), then you run into this issue. First, the pcsc-wirecheck-dist.c file is not created (because the local/native makefile tries to run a binary that is build for the host); second, if you add in my patch to use native CC directly for pcsc-wirechec-gen.c, it is created in the build tree, not the source tree -- hence the need for all the -I and -isystem garbage. :( > > (And even if you don't care for the rest of the patch, you include two > > ".in" files on a list of _SOURCES in there somewhere; that should > > probably be fixed regardless of the rest of this patch.) > > Fixed in revision 6580. Excellent. Best regards, Anthony Foiani |
From: Ondrej M. <ond...@ni...> - 2013-03-29 13:52:15
|
On 03/29/2013 10:46 AM, Florent Deybach wrote: > |I can answer myself my question about tuning the ACL in the profile file : > | > > The "*" character is for the attributes which are not defined after, correct? Yes, I think the wildcard character affects all other ACL that are not explicitly listed. > So if I want to add the possibility to delete it: > |*=NEVER,READ=$PIN,UPDATE=$PIN,DELETE=$PIN That should work (...provided that there's not some other bug). Though note that if you try to delete a PIN-protected file in opensc-explorer, you'll need to "cd 5015" before using "verify CHV1" for some reason. At least the "verify" doesn't work for me when I'm in the MF 3F00, but works once I "cd 5015". > |Still, why does opensc-explorer list "N/A" for the ACL for READ and UPDATE? IIRC it's part of the epass2003 driver that's not finished. It always lists N/A for epass2003. The real ACLs are in the last line starting with "Security attributes", like in your example below: > Security attributes: 96 96 FF 9F FF FF FF FF Each byte is a bitwise-or from the macros EPASS2003_AC_* defined in src/libopensc/cardctl.h. The low nybble can be: #define EPASS2003_AC_EVERYONE 0x00 #define EPASS2003_AC_USER 0x06 #define EPASS2003_AC_SO 0x08 #define EPASS2003_AC_NOONE 0x0F which stands for "no pin needed", "user PIN needed", "SO-PIN needed", "forbidden" (not sure about the SO-PIN, never really made it work). The high nybble is a bit mysterious to me, as well, I've only seen the 0x90 ever used: #define EPASS2003_AC_MAC_UNEQUAL 0x80 #define EPASS2003_AC_MAC_NOLESS 0x90 #define EPASS2003_AC_MAC_LESS 0xA0 #define EPASS2003_AC_MAC_EQUAL 0xB0 The order of the "Security attributes" printed out is: READ, UPDATE, ??, DELETE, ??... (It comes from the contents of incoming APDU that is token's response to "SELECT FILE" APDU, instruction 0xA4) Some ACLs are not ever used for epass2003, e.g. INVALIDATE and REHABILITATE, since the token does not support the corresponding APDU instructions. I've never found any official documentation on epass2003, the stuff about ACLs is what I discovered by trial/error and reading the driver's source. Ondrej |
From: Ludovic R. <lud...@gm...> - 2013-03-29 10:10:14
|
2013/3/28 Anthony Foiani <ant...@gm...>: > Ludovic, greetings -- > > On Wed, Mar 27, 2013 at 3:54 PM, Ludovic Rousseau > <lud...@gm...> wrote: >> I removed the use of $^ just 10 days ago. See [1] and [2]. >> >> It does not harm (too much) and allow support of BSD make. > > I saw those commits, hence my comments in the original submission. > > My question is, without using $^, how can one support VPATH or some > other out-of-source-tree build method? > > (It might be possible to use autoconf to sub in the right paths. I > don't know autoconf & friends well enough to say.) Fixed in revision 6579. >>> Submitting anyway, in case someone might find it useful later. >>> >>> These changes build on top of my trivial cross-compile patch, and >>> allow me to build pcscd and ccid in the common autoconf manner (i.e., >>> out of source tree). >> >> Why do you need the second patch? > > Because some of the headers that pcsc-wirecheck-gen.c relies on are > created by "configure": in an out-of-source-tree build, this means > that pcsc-wirecheck-gen.c lives in the main source tree, but > PCSC/pcsclite.h and pcsc.h live in the build directory. > > That is, I end up with this situation: > > $ find pcscd-build/src/ pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/ -type f > -name '*.[hc]' | sort > > ### these are generated files, so they live in the "build" directory > pcscd-build/src/configfile.c > pcscd-build/src/pcscd.h > pcscd-build/src/PCSC/pcsclite.h > pcscd-build/src/tokenparser.c > > ### these are the files that ship with the distribution, > ### so they live in the "original source" directory: > pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/atrhandler.c > pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/atrhandler.h > ... > pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/pcscdaemon.c > pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/PCSC/debuglog.h > pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/PCSC/ifdhandler.h > pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/PCSC/reader.h > pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/PCSC/winscard.h > pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/PCSC/wintypes.h > pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/pcsc-wirecheck-dist.c > pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/pcsc-wirecheck-gen.c > pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/pcsc-wirecheck-main.c > ... > >> What fails without the patch? > > The actual "make" invocation is done inside pcscd-build, using VPATH > to find the sources in the main distribution tree. > > For the documentation issue, it fails because the .pod file lives in > the source (distribution) tree, not in the build (generated) tree. > GNU Make is smart enough to prepend the necessary bits of VPATH to $^ > so that the original source .pod file is found correctly. > > In the case of pcsc-wirecheck-gen, it's a bit crazier: > > * the actual 'make' process is running in pcscd-build/src > * but it's working on a file in the source tree > (pcsc-lite-.../PCSC/pcsc-wirecheck-gen.c) > * that file includes (directly or indirectly) both distributed and > generated headers, both as "local" includes and <system> includes. > > So I had to add all the various places that the compiler has to look > for the headers. > > The short answer to "what failes without the patch" is that > out-of-source-tree builds do not complete without these patches (or > something close to them). > > Correct answer might very well be: "don't do that". Fair enough, but > this technique is a very standard way of building packages, especially > autoconf packages; the fact that it failed was an unpleasant surprise. I can't reproduce the problem. I do $ mkdir a $ cd a $ ../configure $ make and have no error (after the fix in revision 6579. See above) Please give me the commands you use to get the issue. > (And even if you don't care for the rest of the patch, you include two > ".in" files on a list of _SOURCES in there somewhere; that should > probably be fixed regardless of the rest of this patch.) Fixed in revision 6580. Thanks -- Dr. Ludovic Rousseau |
From: Florent D. <fde...@gm...> - 2013-03-29 09:46:55
|
Edit: I can answer myself my question about tuning the ACL in the profile file : The "*" character is for the attributes which are not defined after, correct? So if I want to add the possibility to delete it: *=NEVER,READ=$PIN,UPDATE=$PIN,DELETE=$PIN Still, why does opensc-explorer list "N/A" for the ACL for READ and UPDATE? 2013/3/29 Florent Deybach <fde...@gm...> > Hello Ondrej, > > Thanks very much for taking the time to explain this to me. > > I guessed it was an ACL problems, I even tried to modify the profile file > but in the wrong section. > And as you precised, the ACL are applied when a file is created on token. > I thought they would be applied during the PKCS15 initialization once and > for all. It seems I was wrong! > > However, opensc-explorer doesn't give me much information about the ACL. > Or do I need to "decrypt" the security attributes? > > florent@ubuntu12-10:~# opensc-explorer >> OpenSC Explorer version 0.13.0rc1 >> >> Using reader with a card: Feitian ePass2003 00 00 >> OpenSC [3F00]> cd 5015 >> OpenSC [3F00/5015]> info 3400 >> >> Elementary File ID 3400 >> >> File path: 3F00/5015/3400 >> File size: 64 bytes >> EF structure: Transparent >> ACL for READ: N/A >> ACL for UPDATE: N/A >> ACL for DELETE: N/A >> ACL for WRITE: N/A >> ACL for REHABILITATE: N/A >> ACL for INVALIDATE: N/A >> ACL for LIST FILES: N/A >> ACL for CRYPTO: N/A >> Security attributes: 96 96 FF 9F FF FF FF FF >> > > So I guess it is possible to modify the ACL, right ? > > By the way how do I read the ACL? Does the first one takes precedence over > the others? i.e. the "NEVER" directive is for READ and UPDATE action, no? > >> *=NEVER,READ=$PIN,UPDATE=$PIN; >> > > But if I can't read it I will never be able to use my object, right? > > Would it be possible to use the following ACL, then? > > ACL = READ=$PIN,UPDATE=NEVER; >> > > What would be the collateral consequences of that? I mean, will other > objects be affected by this change? > > Again, thanks, > > Cheers > > > > 2013/3/28 Ondrej Mikle <ond...@ni...> > >> On 03/28/2013 09:19 AM, Florent Deybach wrote: >> > *As you can see, the object is present :* >> > ** >> > * >> > >> > *root@ubuntu12-10:~# pkcs15-tool --dump* >> > >> > *Using reader with a card: Feitian ePass2003 00 00* >> > >> > *[...]* >> > *Data object 'cleTruecrypt'* >> > *applicationName: cleTruecrypt* >> > *Path: 3f0050153400* >> > *Auth ID: 01* >> >> My guess would be that the default ACLs prevent deleting the file. If you >> look >> at /usr/share/opensc/epass2003.profile, there is the following part >> describing >> ACLs for 3f00/5015/34xx files: >> >> # data objects are stored in transparent EFs. >> EF privdata { >> file-id = 3400; >> structure = transparent; >> ACL = >> *=NEVER,READ=$PIN,UPDATE=$PIN; >> } >> >> That means the ACL for delete is NEVER, i.e. even PIN authorization won't >> suffice for deletion of this file. It would be consistent with the log you >> posted - the authenticate APDU instruction goes through OK, but erasing >> in the >> last APDU fails with SW 0x69 0x82 "security status not satisfied". >> >> AFAIK you won't be able to delete the file without erasing the card >> (pkcs15-init >> -E) or erasing the parent DF 5015. >> >> Note that the ACLs from the profile are applied at the moment a file is >> created >> on token (like key or data object). >> >> Ondrej >> >> >> ------------------------------------------------------------------------------ >> Own the Future-Intel® Level Up Game Demo Contest 2013 >> Rise to greatness in Intel's independent game demo contest. >> Compete for recognition, cash, and the chance to get your game >> on Steam. $5K grand prize plus 10 genre and skill prizes. >> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d >> _______________________________________________ >> Opensc-devel mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensc-devel >> > > |
From: Florent D. <fde...@gm...> - 2013-03-29 08:05:26
|
Hello Ondrej, Thanks very much for taking the time to explain this to me. I guessed it was an ACL problems, I even tried to modify the profile file but in the wrong section. And as you precised, the ACL are applied when a file is created on token. I thought they would be applied during the PKCS15 initialization once and for all. It seems I was wrong! However, opensc-explorer doesn't give me much information about the ACL. Or do I need to "decrypt" the security attributes? florent@ubuntu12-10:~# opensc-explorer > OpenSC Explorer version 0.13.0rc1 > Using reader with a card: Feitian ePass2003 00 00 > OpenSC [3F00]> cd 5015 > OpenSC [3F00/5015]> info 3400 > > Elementary File ID 3400 > > File path: 3F00/5015/3400 > File size: 64 bytes > EF structure: Transparent > ACL for READ: N/A > ACL for UPDATE: N/A > ACL for DELETE: N/A > ACL for WRITE: N/A > ACL for REHABILITATE: N/A > ACL for INVALIDATE: N/A > ACL for LIST FILES: N/A > ACL for CRYPTO: N/A > Security attributes: 96 96 FF 9F FF FF FF FF > So I guess it is possible to modify the ACL, right ? By the way how do I read the ACL? Does the first one takes precedence over the others? i.e. the "NEVER" directive is for READ and UPDATE action, no? > *=NEVER,READ=$PIN,UPDATE=$PIN; > But if I can't read it I will never be able to use my object, right? Would it be possible to use the following ACL, then? ACL = READ=$PIN,UPDATE=NEVER; > What would be the collateral consequences of that? I mean, will other objects be affected by this change? Again, thanks, Cheers 2013/3/28 Ondrej Mikle <ond...@ni...> > On 03/28/2013 09:19 AM, Florent Deybach wrote: > > *As you can see, the object is present :* > > ** > > * > > > > *root@ubuntu12-10:~# pkcs15-tool --dump* > > > > *Using reader with a card: Feitian ePass2003 00 00* > > > > *[...]* > > *Data object 'cleTruecrypt'* > > *applicationName: cleTruecrypt* > > *Path: 3f0050153400* > > *Auth ID: 01* > > My guess would be that the default ACLs prevent deleting the file. If you > look > at /usr/share/opensc/epass2003.profile, there is the following part > describing > ACLs for 3f00/5015/34xx files: > > # data objects are stored in transparent EFs. > EF privdata { > file-id = 3400; > structure = transparent; > ACL = > *=NEVER,READ=$PIN,UPDATE=$PIN; > } > > That means the ACL for delete is NEVER, i.e. even PIN authorization won't > suffice for deletion of this file. It would be consistent with the log you > posted - the authenticate APDU instruction goes through OK, but erasing in > the > last APDU fails with SW 0x69 0x82 "security status not satisfied". > > AFAIK you won't be able to delete the file without erasing the card > (pkcs15-init > -E) or erasing the parent DF 5015. > > Note that the ACLs from the profile are applied at the moment a file is > created > on token (like key or data object). > > Ondrej > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > _______________________________________________ > Opensc-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensc-devel > |
From: Douglas E. E. <dee...@an...> - 2013-03-28 17:46:19
|
On 3/28/2013 11:11 AM, Fred wrote: > Hi all, > > I am trying to compile cryptlib 3.4.2 against OpenSC PKCS11 api. As Alan said... > > I am using a Feitian PKI smart card (from www.gooze.eu) I have > initialized using pkcs15-tool with a test pin. > I changed cryptlib/testlib.c to have device tested. > Currently, device is opened and logged-in OK, but further device > initialization seems to fail. > > He follows debug of pcscd when cryptlib/testlib -d tries to access the device. If the card is working from the OpenSC tools, your problems are most likely in the cryptlib code. If it is really using PKCS#11, try having it use the OpenSC's pkcs11-spy to see any PKCS#11 traffic between cryptlib and opensc-pkcs11.so and to turn on the the debugging in the opensc.conf > > Can you help to diagnose what is failing ? > > Best regards, > > Fred > > ##### > 00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug > 00000066 debuglog.c:298:DebugLogSetCategory() Debug options: APDU > 00000270 configfile.l:245:DBGetReaderListDir() Parsing conf directory: > /etc/reader.conf.d > 00000040 configfile.l:257:DBGetReaderListDir() Skipping non regular file: . > 00000016 configfile.l:298:DBGetReaderList() Parsing conf file: > /etc/reader.conf.d/reader.conf > 00000099 configfile.l:298:DBGetReaderList() Parsing conf file: > /etc/reader.conf.d/libccidtwin > 00000057 configfile.l:257:DBGetReaderListDir() Skipping non regular file: .. > 00000019 pcscdaemon.c:525:main() pcsc-lite 1.8.8 daemon ready. > 00003710 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001 > 00000095 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001 > 00000098 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x096E, PID: 0x0503, path: /dev/bus/usb/002/003 > 00000023 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x096E, PID: 0x0503, path: /dev/bus/usb/002/003 > 00000005 hotplug_libudev.c:312:HPAddDevice() Adding USB device: Feitian SCR301 > 00000027 readerfactory.c:978:RFInitializeReader() Attempting startup > of Feitian SCR301 00 00 using > /usr/lib/readers/ifd-ccid.bundle/Contents/Linux/libccid.so > 00000179 readerfactory.c:868:RFBindFunctions() Loading IFD Handler 3.0 > 00000035 ifdhandler.c:1840:init_driver() Driver version: 1.4.9 > 00000624 ifdhandler.c:1857:init_driver() LogLevel: 0x0003 > 00000007 ifdhandler.c:1868:init_driver() DriverOptions: 0x0000 > 00000125 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, > device: usb:096e/0503:libudev:0:/dev/bus/usb/002/003 > 00000030 ccid_usb.c:228:OpenUSBByName() Using: > /usr/lib/readers/ifd-ccid.bundle/Contents/Info.plist > 00000548 ccid_usb.c:246:OpenUSBByName() ifdManufacturerString: Ludovic > Rousseau (lud...@fr...) > 00000007 ccid_usb.c:247:OpenUSBByName() ifdProductString: Generic CCID driver > 00000007 ccid_usb.c:248:OpenUSBByName() Copyright: This driver is > protected by terms of the GNU Lesser General Public License version > 2.1, or (at your option) any later version. > 00071330 ccid_usb.c:521:OpenUSBByName() Found Vendor/Product: > 096E/0503 (Feitian SCR301) > 00000129 ccid_usb.c:523:OpenUSBByName() Using USB bus/device: 2/3 > 00002452 ccid_usb.c:1021:get_data_rates() declared: 10753 bps > 00000058 ccid_usb.c:1021:get_data_rates() declared: 14337 bps > 00000041 ccid_usb.c:1021:get_data_rates() declared: 15625 bps > 00000038 ccid_usb.c:1021:get_data_rates() declared: 17204 bps > 00000037 ccid_usb.c:1021:get_data_rates() declared: 20833 bps > 00000037 ccid_usb.c:1021:get_data_rates() declared: 21505 bps > 00000038 ccid_usb.c:1021:get_data_rates() declared: 23438 bps > 00000270 ccid_usb.c:1021:get_data_rates() declared: 25806 bps > 00000253 ccid_usb.c:1021:get_data_rates() declared: 28674 bps > 00000311 ccid_usb.c:1021:get_data_rates() declared: 31250 bps > 00000253 ccid_usb.c:1021:get_data_rates() declared: 32258 bps > 00000251 ccid_usb.c:1021:get_data_rates() declared: 34409 bps > 00000250 ccid_usb.c:1021:get_data_rates() declared: 39063 bps > 00000282 ccid_usb.c:1021:get_data_rates() declared: 41667 bps > 00000157 ccid_usb.c:1021:get_data_rates() declared: 43011 bps > 00000057 ccid_usb.c:1021:get_data_rates() declared: 46875 bps > 00000156 ccid_usb.c:1021:get_data_rates() declared: 52083 bps > 00000055 ccid_usb.c:1021:get_data_rates() declared: 53763 bps > 00000155 ccid_usb.c:1021:get_data_rates() declared: 57348 bps > 00000053 ccid_usb.c:1021:get_data_rates() declared: 62500 bps > 00000169 ccid_usb.c:1021:get_data_rates() declared: 64516 bps > 00000058 ccid_usb.c:1021:get_data_rates() declared: 68817 bps > 00000158 ccid_usb.c:1021:get_data_rates() declared: 71685 bps > 00000053 ccid_usb.c:1021:get_data_rates() declared: 78125 bps > 00000155 ccid_usb.c:1021:get_data_rates() declared: 83333 bps > 00000054 ccid_usb.c:1021:get_data_rates() declared: 86022 bps > 00000154 ccid_usb.c:1021:get_data_rates() declared: 93750 bps > 00000053 ccid_usb.c:1021:get_data_rates() declared: 104167 bps > 00000153 ccid_usb.c:1021:get_data_rates() declared: 107527 bps > 00000087 ccid_usb.c:1021:get_data_rates() declared: 114695 bps > 00000179 ccid_usb.c:1021:get_data_rates() declared: 125000 bps > 00000153 ccid_usb.c:1021:get_data_rates() declared: 129032 bps > 00000056 ccid_usb.c:1021:get_data_rates() declared: 143369 bps > 00000153 ccid_usb.c:1021:get_data_rates() declared: 156250 bps > 00000057 ccid_usb.c:1021:get_data_rates() declared: 166667 bps > 00000152 ccid_usb.c:1021:get_data_rates() declared: 172043 bps > 00000056 ccid_usb.c:1021:get_data_rates() declared: 215054 bps > 00000052 ccid_usb.c:1021:get_data_rates() declared: 229391 bps > 00000157 ccid_usb.c:1021:get_data_rates() declared: 250000 bps > 00000181 ccid_usb.c:1021:get_data_rates() declared: 344086 bps > 00013077 ccid_usb.c:660:WriteUSB() write failed (2/3): -4 No such device > 00000080 readerfactory.c:1009:RFInitializeReader() Open Port 0x200000 > Failed (usb:096e/0503:libudev:0:/dev/bus/usb/002/003) > 00000044 readerfactory.c:312:RFAddReader() Feitian SCR301 init failed. > 00000045 readerfactory.c:529:RFRemoveReader() UnrefReader() count was: 1 > 00000039 readerfactory.c:1029:RFUnInitializeReader() Attempting > shutdown of Feitian SCR301 00 00. > 00000039 readerfactory.c:905:RFUnloadReader() Unloading reader driver. > 00000446 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001 > 00000368 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001 > 00001095 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001 > 00001005 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001 > 00001158 hotplug_libudev.c:587:HPEstablishUSBNotifications() Device removed > 00001963 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001 > 00000889 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001 > 00000159 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001 > 00000639 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001 > 00000503 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001 > 00000355 hotplug_libudev.c:513:HPRescanUsbBus() Removing USB > device[0]: Feitian SCR301 at /dev/bus/usb/002/003 > 00655829 hotplug_libudev.c:260:get_driver() Looking for a driver for > VID: 0x096E, PID: 0x0503, path: /dev/bus/usb/002/004 > 00000084 hotplug_libudev.c:312:HPAddDevice() Adding USB device: Feitian SCR301 > 00000088 readerfactory.c:978:RFInitializeReader() Attempting startup > of Feitian SCR301 00 00 using > /usr/lib/readers/ifd-ccid.bundle/Contents/Linux/libccid.so > 00000232 readerfactory.c:868:RFBindFunctions() Loading IFD Handler 3.0 > 00000053 ifdhandler.c:1840:init_driver() Driver version: 1.4.9 > 00000707 ifdhandler.c:1857:init_driver() LogLevel: 0x0003 > 00000036 ifdhandler.c:1868:init_driver() DriverOptions: 0x0000 > 00000202 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, > device: usb:096e/0503:libudev:0:/dev/bus/usb/002/004 > 00000046 ccid_usb.c:228:OpenUSBByName() Using: > /usr/lib/readers/ifd-ccid.bundle/Contents/Info.plist > 00000622 ccid_usb.c:246:OpenUSBByName() ifdManufacturerString: Ludovic > Rousseau (lud...@fr...) > 00000030 ccid_usb.c:247:OpenUSBByName() ifdProductString: Generic CCID driver > 00000027 ccid_usb.c:248:OpenUSBByName() Copyright: This driver is > protected by terms of the GNU Lesser General Public License version > 2.1, or (at your option) any later version. > 00002035 ccid_usb.c:521:OpenUSBByName() Found Vendor/Product: > 096E/0503 (Feitian SCR301) > 00000047 ccid_usb.c:523:OpenUSBByName() Using USB bus/device: 2/4 > 00004051 ccid_usb.c:1021:get_data_rates() declared: 10753 bps > 00000077 ccid_usb.c:1021:get_data_rates() declared: 14337 bps > 00000019 ccid_usb.c:1021:get_data_rates() declared: 15625 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 17204 bps > 00000047 ccid_usb.c:1021:get_data_rates() declared: 20833 bps > 00000018 ccid_usb.c:1021:get_data_rates() declared: 21505 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 23438 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 25806 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 28674 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 31250 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 32258 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 34409 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 39063 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 41667 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 43011 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 46875 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 52083 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 53763 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 57348 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 62500 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 64516 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 68817 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 71685 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 78125 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 83333 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 86022 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 93750 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 104167 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 107527 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 114695 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 125000 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 129032 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 143369 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 156250 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 166667 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 172043 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 215054 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 229391 bps > 00000016 ccid_usb.c:1021:get_data_rates() declared: 250000 bps > 00000017 ccid_usb.c:1021:get_data_rates() declared: 344086 bps > 00019218 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFB3, > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00000084 readerfactory.c:332:RFAddReader() Using the reader polling thread > 00001968 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFAE, > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00000044 ifdhandler.c:446:IFDHGetCapabilities() Reader supports 1 slot(s) > 00003894 ifdhandler.c:1122:IFDHPowerICC() action: PowerUp, > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00090695 eventhandler.c:256:EHStatusHandlerThread() powerState: > POWER_STATE_POWERED > 00000131 Card ATR: 3B 9F 95 81 31 FE 9F 00 65 46 53 05 30 06 71 DF 00 > 00 00 81 61 19 CF > 05005318 ifdhandler.c:1122:IFDHPowerICC() action: PowerDown, > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00003996 eventhandler.c:446:EHStatusHandlerThread() powerState: > POWER_STATE_UNPOWERED > 07758378 winscard_msg_srv.c:230:ProcessEventsServer() Common channel > packet arrival > 00000062 winscard_msg_srv.c:242:ProcessEventsServer() > ProcessCommonChannelRequest detects: 13 > 00000013 pcscdaemon.c:93:SVCServiceRunLoop() A new context thread > creation is requested: 13 > 00000278 winscard_svc.c:299:ContextThread() Thread is started: > dwClientID=13, threadContext @0x8744580 > 00000340 winscard_svc.c:317:ContextThread() Received command: > CMD_VERSION from client 13 > 00000190 winscard_svc.c:329:ContextThread() Client is protocol version 4:2 > 00000050 winscard_svc.c:349:ContextThread() CMD_VERSION rv=0x0 for client 13 > 00000218 winscard_svc.c:317:ContextThread() Received command: > ESTABLISH_CONTEXT from client 13 > 00000207 winscard.c:193:SCardEstablishContext() Establishing Context: 0x6AC591CA > 00000063 winscard_svc.c:410:ContextThread() ESTABLISH_CONTEXT rv=0x0 > for client 13 > 00000217 winscard_svc.c:317:ContextThread() Received command: > CMD_GET_READERS_STATE from client 13 > 00000247 winscard_svc.c:317:ContextThread() Received command: > CMD_GET_READERS_STATE from client 13 > 00000220 winscard_svc.c:317:ContextThread() Received command: > CMD_GET_READERS_STATE from client 13 > 00000210 winscard_svc.c:317:ContextThread() Received command: CONNECT > from client 13 > 00000213 winscard.c:235:SCardConnect() Attempting Connect to Feitian > SCR301 00 00 using protocol: 3 > 00000053 readerfactory.c:739:RFReaderInfo() RefReader() count was: 1 > 00003241 ifdhandler.c:1122:IFDHPowerICC() action: PowerUp, > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00091067 winscard.c:310:SCardConnect() power up complete. > 00000127 Card ATR: 3B 9F 95 81 31 FE 9F 00 65 46 53 05 30 06 71 DF 00 > 00 00 81 61 19 CF > 00000044 winscard.c:330:SCardConnect() powerState: POWER_STATE_INUSE > 00000041 prothandler.c:87:PHSetProtocol() Attempting PTS to T=1 > 00000041 ifdhandler.c:668:IFDHSetProtocolParameters() protocol T=1, > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00033963 winscard.c:409:SCardConnect() Active Protocol: T=1 > 00000114 winscard.c:429:SCardConnect() hCard Identity: 528132b8 > 00000052 winscard.c:490:SCardConnect() UnrefReader() count was: 2 > 00000046 winscard_svc.c:451:ContextThread() CONNECT rv=0x0 for client 13 > 00000198 winscard_svc.c:317:ContextThread() Received command: CONTROL > from client 13 > 00000072 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000049 ifdhandler.c:1359:IFDHControl() ControlCode: 0x42000D48, > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00000044 Control TxBuffer: > 00000062 Control RxBuffer: 0A 04 42 33 00 0A 12 04 42 33 00 12 > 00000071 winscard.c:1344:SCardControl() UnrefReader() count was: 2 > 00000054 winscard_svc.c:650:ContextThread() CONTROL rv=0x0 for client 13 > 00000131 winscard_svc.c:317:ContextThread() Received command: CONTROL > from client 13 > 00000066 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000057 ifdhandler.c:1359:IFDHControl() ControlCode: 0x4233000A, > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00000051 Control TxBuffer: > 00000053 Control RxBuffer: 00 00 07 00 > 00000051 winscard.c:1344:SCardControl() UnrefReader() count was: 2 > 00000052 winscard_svc.c:650:ContextThread() CONTROL rv=0x0 for client 13 > 00000134 winscard_svc.c:317:ContextThread() Received command: > DISCONNECT from client 13 > 00000069 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000056 winscard.c:851:SCardDisconnect() Active Contexts: 1 > 00000052 winscard.c:852:SCardDisconnect() dwDisposition: 0 > 00000058 winscard.c:1017:SCardDisconnect() powerState: POWER_STATE_GRACE_PERIOD > 00000066 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFB2, > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00000056 winscard.c:1031:SCardDisconnect() Stopping polling thread > 00000053 ifdhandler.c:323:IFDHStopPolling() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00000954 winscard.c:1044:SCardDisconnect() UnrefReader() count was: 2 > 00000074 winscard_svc.c:488:ContextThread() DISCONNECT rv=0x0 for client 13 > 00000243 winscard_svc.c:317:ContextThread() Received command: > CMD_GET_READERS_STATE from client 13 > 00000134 winscard_svc.c:317:ContextThread() Received command: > CMD_WAIT_READER_STATE_CHANGE from client 13 > 00000074 winscard_svc.c:317:ContextThread() Received command: > CMD_STOP_WAITING_READER_STATE_CHANGE from client 13 > 00000082 winscard_svc.c:391:ContextThread() > CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 13 > 00000096 winscard_svc.c:317:ContextThread() Received command: > CMD_GET_READERS_STATE from client 13 > 00000100 winscard_svc.c:317:ContextThread() Received command: > CMD_GET_READERS_STATE from client 13 > 00000115 winscard_svc.c:317:ContextThread() Received command: > CMD_WAIT_READER_STATE_CHANGE from client 13 > 00000132 winscard_svc.c:317:ContextThread() Received command: > CMD_STOP_WAITING_READER_STATE_CHANGE from client 13 > 00000065 winscard_svc.c:391:ContextThread() > CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 13 > 00000090 winscard_svc.c:317:ContextThread() Received command: > CMD_GET_READERS_STATE from client 13 > 00000117 winscard_svc.c:317:ContextThread() Received command: > CMD_GET_READERS_STATE from client 13 > 00000157 winscard_svc.c:317:ContextThread() Received command: > CMD_WAIT_READER_STATE_CHANGE from client 13 > 00000072 winscard_svc.c:317:ContextThread() Received command: > CMD_STOP_WAITING_READER_STATE_CHANGE from client 13 > 00000204 winscard_svc.c:391:ContextThread() > CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 13 > 00000218 winscard_svc.c:317:ContextThread() Received command: > CMD_GET_READERS_STATE from client 13 > 00000207 winscard_svc.c:317:ContextThread() Received command: CONNECT > from client 13 > 00000071 winscard.c:235:SCardConnect() Attempting Connect to Feitian > SCR301 00 00 using protocol: 3 > 00000162 readerfactory.c:739:RFReaderInfo() RefReader() count was: 1 > 00000055 winscard.c:330:SCardConnect() powerState: POWER_STATE_INUSE > 00000178 winscard.c:409:SCardConnect() Active Protocol: T=1 > 00000056 winscard.c:429:SCardConnect() hCard Identity: 780b5cda > 00000161 winscard.c:490:SCardConnect() UnrefReader() count was: 2 > 00000060 winscard_svc.c:451:ContextThread() CONNECT rv=0x0 for client 13 > 00000842 winscard_svc.c:317:ContextThread() Received command: > BEGIN_TRANSACTION from client 13 > 00000076 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000057 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 > 00000052 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 > 00000052 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 > for client 13 > 00000171 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000071 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000055 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000058 APDU: 00 A4 00 00 02 3F 00 E0 > 00000053 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00010879 SW: 6F 17 84 10 00 C0 6F B7 D8 A2 A6 09 B8 92 5B B7 D8 60 A6 > 09 A5 03 88 01 00 90 00 > 00000098 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000056 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000203 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000077 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000056 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000056 APDU: 00 A4 00 00 02 2F 00 E0 > 00000053 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00009777 SW: 6F 07 82 01 00 80 02 00 80 90 00 > 00000074 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000057 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000181 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000074 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000057 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000055 APDU: 00 B0 00 00 80 > 00000051 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00030152 SW: 61 25 4F 0C A0 00 00 00 63 50 4B 43 53 2D 31 35 50 0F 43 > 72 79 70 74 6C 69 62 44 65 76 44 65 73 74 51 04 3F 00 50 15 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 > 00000109 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000043 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000299 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000068 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000054 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000045 APDU: 00 A4 00 00 02 3F 00 E0 > 00000043 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00011100 SW: 6F 17 84 10 00 C0 6F B7 D8 A2 A6 09 B8 92 5B B7 D8 60 A6 > 09 A5 03 88 01 00 90 00 > 00000049 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000020 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000398 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000034 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000021 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000019 APDU: 00 A4 00 00 02 50 15 E0 > 00000019 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00011505 SW: 6F 12 84 10 A0 00 00 00 63 50 4B 43 53 2D 31 35 D8 60 A6 09 90 00 > 00000060 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000035 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000199 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000050 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000033 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000050 APDU: 00 A4 00 00 02 50 31 E0 > 00000032 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00006590 SW: 6F 07 82 01 00 80 02 01 00 90 00 > 00000062 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000042 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000148 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000059 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000061 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000042 APDU: 00 B0 00 00 E0 > 00000038 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00050594 SW: A8 0A 30 08 04 06 3F 00 50 15 44 01 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 > 00000136 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000024 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000192 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000070 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000046 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000042 APDU: 00 B0 00 E0 20 > 00000043 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00010411 SW: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 > 00000059 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000042 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000240 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000065 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000044 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000043 APDU: 00 A4 00 00 02 50 32 E0 > 00000040 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00006471 SW: 6F 07 82 01 00 80 02 00 80 90 00 > 00000069 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000043 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000163 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000077 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000047 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000041 APDU: 00 B0 00 00 80 > 00000039 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00030672 SW: 30 3E 02 01 00 04 08 16 75 04 55 09 13 02 12 0C 09 45 6E > 74 65 72 53 61 66 65 80 0F 43 72 79 70 74 6C 69 62 44 65 76 44 65 73 > 74 03 02 04 10 85 0F 32 30 31 33 30 33 32 38 31 35 30 30 31 31 5A 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 > 00000201 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000051 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000279 winscard_svc.c:317:ContextThread() Received command: > END_TRANSACTION from client 13 > 00000064 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000046 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 > 00000039 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 > 00000040 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 > 00006712 winscard_svc.c:317:ContextThread() Received command: > BEGIN_TRANSACTION from client 13 > 00000051 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000021 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 > 00000018 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 > 00000018 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 > for client 13 > 00000613 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000053 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000020 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000021 APDU: 00 A4 00 00 02 44 01 E0 > 00000019 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00007447 SW: 6F 07 82 01 00 80 02 01 00 90 00 > 00000052 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000025 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000111 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000032 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000024 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000022 APDU: 00 B0 00 00 E0 > 00000023 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00050025 SW: 30 37 30 0E 0C 08 55 73 65 72 20 50 49 4E 03 02 06 C0 30 > 03 04 01 FF A1 20 30 1E 03 02 02 4C 0A 01 01 02 01 04 02 01 10 02 01 > 10 80 01 01 04 01 00 30 06 04 04 3F 00 50 15 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 > 00000130 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000063 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000191 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000064 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000043 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000054 APDU: 00 B0 00 E0 20 > 00000040 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00010263 SW: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 > 00000080 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000044 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000287 winscard_svc.c:317:ContextThread() Received command: > END_TRANSACTION from client 13 > 00000064 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000044 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 > 00000038 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 > 00000040 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 > 00004680 winscard_svc.c:317:ContextThread() Received command: > CMD_GET_READERS_STATE from client 13 > 00000181 winscard_svc.c:317:ContextThread() Received command: > CMD_WAIT_READER_STATE_CHANGE from client 13 > 00000067 winscard_svc.c:317:ContextThread() Received command: > CMD_STOP_WAITING_READER_STATE_CHANGE from client 13 > 00000092 winscard_svc.c:391:ContextThread() > CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 13 > 00000089 winscard_svc.c:317:ContextThread() Received command: > CMD_GET_READERS_STATE from client 13 > 00000117 winscard_svc.c:317:ContextThread() Received command: > CMD_GET_READERS_STATE from client 13 > 00000121 winscard_svc.c:317:ContextThread() Received command: > CMD_WAIT_READER_STATE_CHANGE from client 13 > 00000072 winscard_svc.c:317:ContextThread() Received command: > CMD_STOP_WAITING_READER_STATE_CHANGE from client 13 > 00000066 winscard_svc.c:391:ContextThread() > CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 13 > 00000093 winscard_svc.c:317:ContextThread() Received command: > CMD_GET_READERS_STATE from client 13 > 00000338 winscard_svc.c:317:ContextThread() Received command: > BEGIN_TRANSACTION from client 13 > 00000860 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000061 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 > 00000052 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 > 00000052 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 > for client 13 > 00000146 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000071 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000054 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000065 APDU: 00 20 00 01 10 74 65 73 74 00 00 00 00 00 00 00 00 00 00 00 00 > 00000053 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00008059 SW: 90 00 > 00000096 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000046 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000266 winscard_svc.c:317:ContextThread() Received command: > END_TRANSACTION from client 13 > 00000063 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000045 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 > 00000038 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 > 00000040 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 > 00004613 winscard_svc.c:317:ContextThread() Received command: > BEGIN_TRANSACTION from client 13 > 00000071 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000064 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 > 00000043 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 > 00000042 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 > for client 13 > 00000117 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000060 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000042 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000041 APDU: 00 84 00 00 08 > 00000040 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00009249 SW: B0 CF 3A 9A 2A 97 48 C4 90 00 > 00000068 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000056 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000129 winscard_svc.c:317:ContextThread() Received command: > END_TRANSACTION from client 13 > 00000179 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000056 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 > 00000052 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 > 00000052 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 > 00001863 winscard_svc.c:317:ContextThread() Received command: > BEGIN_TRANSACTION from client 13 > 00000071 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000056 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 > 00000052 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 > 00000056 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 > for client 13 > 00000106 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000068 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000054 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000053 APDU: 00 84 00 00 08 > 00000051 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00008978 SW: 6A 1C B2 92 07 18 20 0C 90 00 > 00000067 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000053 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000127 winscard_svc.c:317:ContextThread() Received command: > END_TRANSACTION from client 13 > 00000064 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000552 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 > 00000054 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 > 00000052 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 > 00007656 winscard_svc.c:317:ContextThread() Received command: > BEGIN_TRANSACTION from client 13 > 00000078 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000057 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 > 00000052 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 > 00000052 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 > for client 13 > 00000106 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000067 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000053 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000053 APDU: 00 84 00 00 08 > 00000051 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00009831 SW: 05 DA 2C 7A 07 A7 C6 5D 90 00 > 00000099 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000044 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000143 winscard_svc.c:317:ContextThread() Received command: > END_TRANSACTION from client 13 > 00000080 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000045 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 > 00000040 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 > 00000039 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 > 00002143 winscard_svc.c:317:ContextThread() Received command: > BEGIN_TRANSACTION from client 13 > 00000062 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000043 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 > 00000039 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 > 00000040 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 > for client 13 > 00000103 winscard_svc.c:317:ContextThread() Received command: TRANSMIT > from client 13 > 00000070 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000056 winscard.c:1581:SCardTransmit() Send Protocol: T=1 > 00000053 APDU: 00 84 00 00 08 > 00000053 ifdhandler.c:1265:IFDHTransmitToICC() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00009837 SW: 84 9B 4F 11 33 51 EA EE 90 00 > 00000081 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 > 00000043 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 > 00000129 winscard_svc.c:317:ContextThread() Received command: > END_TRANSACTION from client 13 > 00000091 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000047 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 > 00000039 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 > 00000039 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 > 00008351 winscard_svc.c:317:ContextThread() Received command: > DISCONNECT from client 13 > 00000073 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 > 00000045 winscard.c:851:SCardDisconnect() Active Contexts: 1 > 00000039 winscard.c:852:SCardDisconnect() dwDisposition: 1 > 00001741 ifdhandler.c:1122:IFDHPowerICC() action: Reset, > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00093169 winscard.c:918:SCardDisconnect() Reset complete. > 00000145 Card ATR: 3B 9F 95 81 31 FE 9F 00 65 46 53 05 30 06 71 DF 00 > 00 00 81 61 19 CF > 00000051 winscard.c:1017:SCardDisconnect() powerState: POWER_STATE_GRACE_PERIOD > 00001690 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFB2, > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00000057 winscard.c:1031:SCardDisconnect() Stopping polling thread > 00000042 ifdhandler.c:323:IFDHStopPolling() > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00000889 winscard.c:1044:SCardDisconnect() UnrefReader() count was: 2 > 00000058 winscard_svc.c:488:ContextThread() DISCONNECT rv=0x0 for client 13 > 00000215 winscard_svc.c:317:ContextThread() Received command: > RELEASE_CONTEXT from client 13 > 00000058 winscard.c:204:SCardReleaseContext() Releasing Context: 0x6AC591CA > 00000046 winscard_svc.c:425:ContextThread() RELEASE_CONTEXT rv=0x0 for client 13 > 00001048 winscard_svc.c:309:ContextThread() Client die: 13 > 00000073 winscard_svc.c:928:MSGCleanupClient() Thread is stopping: > dwClientID=13, threadContext @0x8744580 > 00000044 winscard_svc.c:934:MSGCleanupClient() Freeing SCONTEXT @0x8744580 > 00398593 eventhandler.c:458:EHStatusHandlerThread() powerState: > POWER_STATE_POWERED > 05006947 ifdhandler.c:1122:IFDHPowerICC() action: PowerDown, > usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) > 00004008 eventhandler.c:446:EHStatusHandlerThread() powerState: > POWER_STATE_UNPOWERED > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > _______________________________________________ > Opensc-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensc-devel > . > -- Douglas E. Engert <DEE...@an...> Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444 |
From: Alon Bar-L. <alo...@gm...> - 2013-03-28 16:16:23
|
On Thu, Mar 28, 2013 at 6:11 PM, Fred <fre...@gm...> wrote: > Hi all, > > I am trying to compile cryptlib 3.4.2 against OpenSC PKCS11 api. What do you mean compile? PKCS#11 module should be loaded at runtime as shared library. There is no sense of OpenSC PKCS#11 API, PKCS#11 API is not specific to implementation. Alon |
From: Fred <fre...@gm...> - 2013-03-28 16:11:29
|
Hi all, I am trying to compile cryptlib 3.4.2 against OpenSC PKCS11 api. I am using a Feitian PKI smart card (from www.gooze.eu) I have initialized using pkcs15-tool with a test pin. I changed cryptlib/testlib.c to have device tested. Currently, device is opened and logged-in OK, but further device initialization seems to fail. He follows debug of pcscd when cryptlib/testlib -d tries to access the device. Can you help to diagnose what is failing ? Best regards, Fred ##### 00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug 00000066 debuglog.c:298:DebugLogSetCategory() Debug options: APDU 00000270 configfile.l:245:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d 00000040 configfile.l:257:DBGetReaderListDir() Skipping non regular file: . 00000016 configfile.l:298:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/reader.conf 00000099 configfile.l:298:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin 00000057 configfile.l:257:DBGetReaderListDir() Skipping non regular file: .. 00000019 pcscdaemon.c:525:main() pcsc-lite 1.8.8 daemon ready. 00003710 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001 00000095 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001 00000098 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x096E, PID: 0x0503, path: /dev/bus/usb/002/003 00000023 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x096E, PID: 0x0503, path: /dev/bus/usb/002/003 00000005 hotplug_libudev.c:312:HPAddDevice() Adding USB device: Feitian SCR301 00000027 readerfactory.c:978:RFInitializeReader() Attempting startup of Feitian SCR301 00 00 using /usr/lib/readers/ifd-ccid.bundle/Contents/Linux/libccid.so 00000179 readerfactory.c:868:RFBindFunctions() Loading IFD Handler 3.0 00000035 ifdhandler.c:1840:init_driver() Driver version: 1.4.9 00000624 ifdhandler.c:1857:init_driver() LogLevel: 0x0003 00000007 ifdhandler.c:1868:init_driver() DriverOptions: 0x0000 00000125 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, device: usb:096e/0503:libudev:0:/dev/bus/usb/002/003 00000030 ccid_usb.c:228:OpenUSBByName() Using: /usr/lib/readers/ifd-ccid.bundle/Contents/Info.plist 00000548 ccid_usb.c:246:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (lud...@fr...) 00000007 ccid_usb.c:247:OpenUSBByName() ifdProductString: Generic CCID driver 00000007 ccid_usb.c:248:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version. 00071330 ccid_usb.c:521:OpenUSBByName() Found Vendor/Product: 096E/0503 (Feitian SCR301) 00000129 ccid_usb.c:523:OpenUSBByName() Using USB bus/device: 2/3 00002452 ccid_usb.c:1021:get_data_rates() declared: 10753 bps 00000058 ccid_usb.c:1021:get_data_rates() declared: 14337 bps 00000041 ccid_usb.c:1021:get_data_rates() declared: 15625 bps 00000038 ccid_usb.c:1021:get_data_rates() declared: 17204 bps 00000037 ccid_usb.c:1021:get_data_rates() declared: 20833 bps 00000037 ccid_usb.c:1021:get_data_rates() declared: 21505 bps 00000038 ccid_usb.c:1021:get_data_rates() declared: 23438 bps 00000270 ccid_usb.c:1021:get_data_rates() declared: 25806 bps 00000253 ccid_usb.c:1021:get_data_rates() declared: 28674 bps 00000311 ccid_usb.c:1021:get_data_rates() declared: 31250 bps 00000253 ccid_usb.c:1021:get_data_rates() declared: 32258 bps 00000251 ccid_usb.c:1021:get_data_rates() declared: 34409 bps 00000250 ccid_usb.c:1021:get_data_rates() declared: 39063 bps 00000282 ccid_usb.c:1021:get_data_rates() declared: 41667 bps 00000157 ccid_usb.c:1021:get_data_rates() declared: 43011 bps 00000057 ccid_usb.c:1021:get_data_rates() declared: 46875 bps 00000156 ccid_usb.c:1021:get_data_rates() declared: 52083 bps 00000055 ccid_usb.c:1021:get_data_rates() declared: 53763 bps 00000155 ccid_usb.c:1021:get_data_rates() declared: 57348 bps 00000053 ccid_usb.c:1021:get_data_rates() declared: 62500 bps 00000169 ccid_usb.c:1021:get_data_rates() declared: 64516 bps 00000058 ccid_usb.c:1021:get_data_rates() declared: 68817 bps 00000158 ccid_usb.c:1021:get_data_rates() declared: 71685 bps 00000053 ccid_usb.c:1021:get_data_rates() declared: 78125 bps 00000155 ccid_usb.c:1021:get_data_rates() declared: 83333 bps 00000054 ccid_usb.c:1021:get_data_rates() declared: 86022 bps 00000154 ccid_usb.c:1021:get_data_rates() declared: 93750 bps 00000053 ccid_usb.c:1021:get_data_rates() declared: 104167 bps 00000153 ccid_usb.c:1021:get_data_rates() declared: 107527 bps 00000087 ccid_usb.c:1021:get_data_rates() declared: 114695 bps 00000179 ccid_usb.c:1021:get_data_rates() declared: 125000 bps 00000153 ccid_usb.c:1021:get_data_rates() declared: 129032 bps 00000056 ccid_usb.c:1021:get_data_rates() declared: 143369 bps 00000153 ccid_usb.c:1021:get_data_rates() declared: 156250 bps 00000057 ccid_usb.c:1021:get_data_rates() declared: 166667 bps 00000152 ccid_usb.c:1021:get_data_rates() declared: 172043 bps 00000056 ccid_usb.c:1021:get_data_rates() declared: 215054 bps 00000052 ccid_usb.c:1021:get_data_rates() declared: 229391 bps 00000157 ccid_usb.c:1021:get_data_rates() declared: 250000 bps 00000181 ccid_usb.c:1021:get_data_rates() declared: 344086 bps 00013077 ccid_usb.c:660:WriteUSB() write failed (2/3): -4 No such device 00000080 readerfactory.c:1009:RFInitializeReader() Open Port 0x200000 Failed (usb:096e/0503:libudev:0:/dev/bus/usb/002/003) 00000044 readerfactory.c:312:RFAddReader() Feitian SCR301 init failed. 00000045 readerfactory.c:529:RFRemoveReader() UnrefReader() count was: 1 00000039 readerfactory.c:1029:RFUnInitializeReader() Attempting shutdown of Feitian SCR301 00 00. 00000039 readerfactory.c:905:RFUnloadReader() Unloading reader driver. 00000446 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001 00000368 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001 00001095 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001 00001005 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001 00001158 hotplug_libudev.c:587:HPEstablishUSBNotifications() Device removed 00001963 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001 00000889 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001 00000159 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001 00000639 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001 00000503 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001 00000355 hotplug_libudev.c:513:HPRescanUsbBus() Removing USB device[0]: Feitian SCR301 at /dev/bus/usb/002/003 00655829 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x096E, PID: 0x0503, path: /dev/bus/usb/002/004 00000084 hotplug_libudev.c:312:HPAddDevice() Adding USB device: Feitian SCR301 00000088 readerfactory.c:978:RFInitializeReader() Attempting startup of Feitian SCR301 00 00 using /usr/lib/readers/ifd-ccid.bundle/Contents/Linux/libccid.so 00000232 readerfactory.c:868:RFBindFunctions() Loading IFD Handler 3.0 00000053 ifdhandler.c:1840:init_driver() Driver version: 1.4.9 00000707 ifdhandler.c:1857:init_driver() LogLevel: 0x0003 00000036 ifdhandler.c:1868:init_driver() DriverOptions: 0x0000 00000202 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, device: usb:096e/0503:libudev:0:/dev/bus/usb/002/004 00000046 ccid_usb.c:228:OpenUSBByName() Using: /usr/lib/readers/ifd-ccid.bundle/Contents/Info.plist 00000622 ccid_usb.c:246:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau (lud...@fr...) 00000030 ccid_usb.c:247:OpenUSBByName() ifdProductString: Generic CCID driver 00000027 ccid_usb.c:248:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version. 00002035 ccid_usb.c:521:OpenUSBByName() Found Vendor/Product: 096E/0503 (Feitian SCR301) 00000047 ccid_usb.c:523:OpenUSBByName() Using USB bus/device: 2/4 00004051 ccid_usb.c:1021:get_data_rates() declared: 10753 bps 00000077 ccid_usb.c:1021:get_data_rates() declared: 14337 bps 00000019 ccid_usb.c:1021:get_data_rates() declared: 15625 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 17204 bps 00000047 ccid_usb.c:1021:get_data_rates() declared: 20833 bps 00000018 ccid_usb.c:1021:get_data_rates() declared: 21505 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 23438 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 25806 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 28674 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 31250 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 32258 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 34409 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 39063 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 41667 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 43011 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 46875 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 52083 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 53763 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 57348 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 62500 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 64516 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 68817 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 71685 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 78125 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 83333 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 86022 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 93750 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 104167 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 107527 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 114695 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 125000 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 129032 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 143369 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 156250 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 166667 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 172043 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 215054 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 229391 bps 00000016 ccid_usb.c:1021:get_data_rates() declared: 250000 bps 00000017 ccid_usb.c:1021:get_data_rates() declared: 344086 bps 00019218 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFB3, usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00000084 readerfactory.c:332:RFAddReader() Using the reader polling thread 00001968 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFAE, usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00000044 ifdhandler.c:446:IFDHGetCapabilities() Reader supports 1 slot(s) 00003894 ifdhandler.c:1122:IFDHPowerICC() action: PowerUp, usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00090695 eventhandler.c:256:EHStatusHandlerThread() powerState: POWER_STATE_POWERED 00000131 Card ATR: 3B 9F 95 81 31 FE 9F 00 65 46 53 05 30 06 71 DF 00 00 00 81 61 19 CF 05005318 ifdhandler.c:1122:IFDHPowerICC() action: PowerDown, usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00003996 eventhandler.c:446:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED 07758378 winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet arrival 00000062 winscard_msg_srv.c:242:ProcessEventsServer() ProcessCommonChannelRequest detects: 13 00000013 pcscdaemon.c:93:SVCServiceRunLoop() A new context thread creation is requested: 13 00000278 winscard_svc.c:299:ContextThread() Thread is started: dwClientID=13, threadContext @0x8744580 00000340 winscard_svc.c:317:ContextThread() Received command: CMD_VERSION from client 13 00000190 winscard_svc.c:329:ContextThread() Client is protocol version 4:2 00000050 winscard_svc.c:349:ContextThread() CMD_VERSION rv=0x0 for client 13 00000218 winscard_svc.c:317:ContextThread() Received command: ESTABLISH_CONTEXT from client 13 00000207 winscard.c:193:SCardEstablishContext() Establishing Context: 0x6AC591CA 00000063 winscard_svc.c:410:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 13 00000217 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 13 00000247 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 13 00000220 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 13 00000210 winscard_svc.c:317:ContextThread() Received command: CONNECT from client 13 00000213 winscard.c:235:SCardConnect() Attempting Connect to Feitian SCR301 00 00 using protocol: 3 00000053 readerfactory.c:739:RFReaderInfo() RefReader() count was: 1 00003241 ifdhandler.c:1122:IFDHPowerICC() action: PowerUp, usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00091067 winscard.c:310:SCardConnect() power up complete. 00000127 Card ATR: 3B 9F 95 81 31 FE 9F 00 65 46 53 05 30 06 71 DF 00 00 00 81 61 19 CF 00000044 winscard.c:330:SCardConnect() powerState: POWER_STATE_INUSE 00000041 prothandler.c:87:PHSetProtocol() Attempting PTS to T=1 00000041 ifdhandler.c:668:IFDHSetProtocolParameters() protocol T=1, usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00033963 winscard.c:409:SCardConnect() Active Protocol: T=1 00000114 winscard.c:429:SCardConnect() hCard Identity: 528132b8 00000052 winscard.c:490:SCardConnect() UnrefReader() count was: 2 00000046 winscard_svc.c:451:ContextThread() CONNECT rv=0x0 for client 13 00000198 winscard_svc.c:317:ContextThread() Received command: CONTROL from client 13 00000072 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000049 ifdhandler.c:1359:IFDHControl() ControlCode: 0x42000D48, usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00000044 Control TxBuffer: 00000062 Control RxBuffer: 0A 04 42 33 00 0A 12 04 42 33 00 12 00000071 winscard.c:1344:SCardControl() UnrefReader() count was: 2 00000054 winscard_svc.c:650:ContextThread() CONTROL rv=0x0 for client 13 00000131 winscard_svc.c:317:ContextThread() Received command: CONTROL from client 13 00000066 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000057 ifdhandler.c:1359:IFDHControl() ControlCode: 0x4233000A, usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00000051 Control TxBuffer: 00000053 Control RxBuffer: 00 00 07 00 00000051 winscard.c:1344:SCardControl() UnrefReader() count was: 2 00000052 winscard_svc.c:650:ContextThread() CONTROL rv=0x0 for client 13 00000134 winscard_svc.c:317:ContextThread() Received command: DISCONNECT from client 13 00000069 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000056 winscard.c:851:SCardDisconnect() Active Contexts: 1 00000052 winscard.c:852:SCardDisconnect() dwDisposition: 0 00000058 winscard.c:1017:SCardDisconnect() powerState: POWER_STATE_GRACE_PERIOD 00000066 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFB2, usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00000056 winscard.c:1031:SCardDisconnect() Stopping polling thread 00000053 ifdhandler.c:323:IFDHStopPolling() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00000954 winscard.c:1044:SCardDisconnect() UnrefReader() count was: 2 00000074 winscard_svc.c:488:ContextThread() DISCONNECT rv=0x0 for client 13 00000243 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 13 00000134 winscard_svc.c:317:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 13 00000074 winscard_svc.c:317:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 13 00000082 winscard_svc.c:391:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 13 00000096 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 13 00000100 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 13 00000115 winscard_svc.c:317:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 13 00000132 winscard_svc.c:317:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 13 00000065 winscard_svc.c:391:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 13 00000090 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 13 00000117 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 13 00000157 winscard_svc.c:317:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 13 00000072 winscard_svc.c:317:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 13 00000204 winscard_svc.c:391:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 13 00000218 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 13 00000207 winscard_svc.c:317:ContextThread() Received command: CONNECT from client 13 00000071 winscard.c:235:SCardConnect() Attempting Connect to Feitian SCR301 00 00 using protocol: 3 00000162 readerfactory.c:739:RFReaderInfo() RefReader() count was: 1 00000055 winscard.c:330:SCardConnect() powerState: POWER_STATE_INUSE 00000178 winscard.c:409:SCardConnect() Active Protocol: T=1 00000056 winscard.c:429:SCardConnect() hCard Identity: 780b5cda 00000161 winscard.c:490:SCardConnect() UnrefReader() count was: 2 00000060 winscard_svc.c:451:ContextThread() CONNECT rv=0x0 for client 13 00000842 winscard_svc.c:317:ContextThread() Received command: BEGIN_TRANSACTION from client 13 00000076 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000057 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 00000052 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 00000052 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 13 00000171 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000071 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000055 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000058 APDU: 00 A4 00 00 02 3F 00 E0 00000053 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00010879 SW: 6F 17 84 10 00 C0 6F B7 D8 A2 A6 09 B8 92 5B B7 D8 60 A6 09 A5 03 88 01 00 90 00 00000098 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000056 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000203 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000077 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000056 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000056 APDU: 00 A4 00 00 02 2F 00 E0 00000053 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00009777 SW: 6F 07 82 01 00 80 02 00 80 90 00 00000074 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000057 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000181 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000074 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000057 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000055 APDU: 00 B0 00 00 80 00000051 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00030152 SW: 61 25 4F 0C A0 00 00 00 63 50 4B 43 53 2D 31 35 50 0F 43 72 79 70 74 6C 69 62 44 65 76 44 65 73 74 51 04 3F 00 50 15 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 00000109 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000043 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000299 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000068 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000054 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000045 APDU: 00 A4 00 00 02 3F 00 E0 00000043 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00011100 SW: 6F 17 84 10 00 C0 6F B7 D8 A2 A6 09 B8 92 5B B7 D8 60 A6 09 A5 03 88 01 00 90 00 00000049 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000020 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000398 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000034 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000021 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000019 APDU: 00 A4 00 00 02 50 15 E0 00000019 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00011505 SW: 6F 12 84 10 A0 00 00 00 63 50 4B 43 53 2D 31 35 D8 60 A6 09 90 00 00000060 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000035 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000199 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000050 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000033 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000050 APDU: 00 A4 00 00 02 50 31 E0 00000032 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00006590 SW: 6F 07 82 01 00 80 02 01 00 90 00 00000062 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000042 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000148 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000059 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000061 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000042 APDU: 00 B0 00 00 E0 00000038 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00050594 SW: A8 0A 30 08 04 06 3F 00 50 15 44 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 00000136 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000024 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000192 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000070 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000046 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000042 APDU: 00 B0 00 E0 20 00000043 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00010411 SW: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 00000059 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000042 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000240 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000065 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000044 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000043 APDU: 00 A4 00 00 02 50 32 E0 00000040 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00006471 SW: 6F 07 82 01 00 80 02 00 80 90 00 00000069 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000043 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000163 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000077 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000047 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000041 APDU: 00 B0 00 00 80 00000039 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00030672 SW: 30 3E 02 01 00 04 08 16 75 04 55 09 13 02 12 0C 09 45 6E 74 65 72 53 61 66 65 80 0F 43 72 79 70 74 6C 69 62 44 65 76 44 65 73 74 03 02 04 10 85 0F 32 30 31 33 30 33 32 38 31 35 30 30 31 31 5A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 00000201 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000051 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000279 winscard_svc.c:317:ContextThread() Received command: END_TRANSACTION from client 13 00000064 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000046 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 00000039 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 00000040 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 00006712 winscard_svc.c:317:ContextThread() Received command: BEGIN_TRANSACTION from client 13 00000051 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000021 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 00000018 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 00000018 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 13 00000613 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000053 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000020 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000021 APDU: 00 A4 00 00 02 44 01 E0 00000019 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00007447 SW: 6F 07 82 01 00 80 02 01 00 90 00 00000052 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000025 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000111 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000032 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000024 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000022 APDU: 00 B0 00 00 E0 00000023 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00050025 SW: 30 37 30 0E 0C 08 55 73 65 72 20 50 49 4E 03 02 06 C0 30 03 04 01 FF A1 20 30 1E 03 02 02 4C 0A 01 01 02 01 04 02 01 10 02 01 10 80 01 01 04 01 00 30 06 04 04 3F 00 50 15 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 00000130 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000063 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000191 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000064 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000043 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000054 APDU: 00 B0 00 E0 20 00000040 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00010263 SW: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90 00 00000080 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000044 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000287 winscard_svc.c:317:ContextThread() Received command: END_TRANSACTION from client 13 00000064 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000044 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 00000038 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 00000040 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 00004680 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 13 00000181 winscard_svc.c:317:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 13 00000067 winscard_svc.c:317:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 13 00000092 winscard_svc.c:391:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 13 00000089 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 13 00000117 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 13 00000121 winscard_svc.c:317:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 13 00000072 winscard_svc.c:317:ContextThread() Received command: CMD_STOP_WAITING_READER_STATE_CHANGE from client 13 00000066 winscard_svc.c:391:ContextThread() CMD_STOP_WAITING_READER_STATE_CHANGE rv=0x0 for client 13 00000093 winscard_svc.c:317:ContextThread() Received command: CMD_GET_READERS_STATE from client 13 00000338 winscard_svc.c:317:ContextThread() Received command: BEGIN_TRANSACTION from client 13 00000860 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000061 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 00000052 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 00000052 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 13 00000146 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000071 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000054 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000065 APDU: 00 20 00 01 10 74 65 73 74 00 00 00 00 00 00 00 00 00 00 00 00 00000053 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00008059 SW: 90 00 00000096 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000046 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000266 winscard_svc.c:317:ContextThread() Received command: END_TRANSACTION from client 13 00000063 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000045 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 00000038 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 00000040 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 00004613 winscard_svc.c:317:ContextThread() Received command: BEGIN_TRANSACTION from client 13 00000071 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000064 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 00000043 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 00000042 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 13 00000117 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000060 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000042 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000041 APDU: 00 84 00 00 08 00000040 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00009249 SW: B0 CF 3A 9A 2A 97 48 C4 90 00 00000068 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000056 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000129 winscard_svc.c:317:ContextThread() Received command: END_TRANSACTION from client 13 00000179 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000056 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 00000052 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 00000052 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 00001863 winscard_svc.c:317:ContextThread() Received command: BEGIN_TRANSACTION from client 13 00000071 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000056 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 00000052 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 00000056 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 13 00000106 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000068 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000054 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000053 APDU: 00 84 00 00 08 00000051 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00008978 SW: 6A 1C B2 92 07 18 20 0C 90 00 00000067 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000053 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000127 winscard_svc.c:317:ContextThread() Received command: END_TRANSACTION from client 13 00000064 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000552 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 00000054 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 00000052 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 00007656 winscard_svc.c:317:ContextThread() Received command: BEGIN_TRANSACTION from client 13 00000078 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000057 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 00000052 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 00000052 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 13 00000106 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000067 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000053 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000053 APDU: 00 84 00 00 08 00000051 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00009831 SW: 05 DA 2C 7A 07 A7 C6 5D 90 00 00000099 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000044 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000143 winscard_svc.c:317:ContextThread() Received command: END_TRANSACTION from client 13 00000080 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000045 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 00000040 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 00000039 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 00002143 winscard_svc.c:317:ContextThread() Received command: BEGIN_TRANSACTION from client 13 00000062 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000043 winscard.c:1083:SCardBeginTransaction() Status: 0x00000000 00000039 winscard.c:1086:SCardBeginTransaction() UnrefReader() count was: 2 00000040 winscard_svc.c:503:ContextThread() BEGIN_TRANSACTION rv=0x0 for client 13 00000103 winscard_svc.c:317:ContextThread() Received command: TRANSMIT from client 13 00000070 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000056 winscard.c:1581:SCardTransmit() Send Protocol: T=1 00000053 APDU: 00 84 00 00 08 00000053 ifdhandler.c:1265:IFDHTransmitToICC() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00009837 SW: 84 9B 4F 11 33 51 EA EE 90 00 00000081 winscard.c:1626:SCardTransmit() UnrefReader() count was: 2 00000043 winscard_svc.c:606:ContextThread() TRANSMIT rv=0x0 for client 13 00000129 winscard_svc.c:317:ContextThread() Received command: END_TRANSACTION from client 13 00000091 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000047 winscard.c:1219:SCardEndTransaction() Status: 0x00000000 00000039 winscard.c:1222:SCardEndTransaction() UnrefReader() count was: 2 00000039 winscard_svc.c:519:ContextThread() END_TRANSACTION rv=0x0 for client 13 00008351 winscard_svc.c:317:ContextThread() Received command: DISCONNECT from client 13 00000073 readerfactory.c:766:RFReaderInfoById() RefReader() count was: 1 00000045 winscard.c:851:SCardDisconnect() Active Contexts: 1 00000039 winscard.c:852:SCardDisconnect() dwDisposition: 1 00001741 ifdhandler.c:1122:IFDHPowerICC() action: Reset, usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00093169 winscard.c:918:SCardDisconnect() Reset complete. 00000145 Card ATR: 3B 9F 95 81 31 FE 9F 00 65 46 53 05 30 06 71 DF 00 00 00 81 61 19 CF 00000051 winscard.c:1017:SCardDisconnect() powerState: POWER_STATE_GRACE_PERIOD 00001690 ifdhandler.c:358:IFDHGetCapabilities() tag: 0xFB2, usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00000057 winscard.c:1031:SCardDisconnect() Stopping polling thread 00000042 ifdhandler.c:323:IFDHStopPolling() usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00000889 winscard.c:1044:SCardDisconnect() UnrefReader() count was: 2 00000058 winscard_svc.c:488:ContextThread() DISCONNECT rv=0x0 for client 13 00000215 winscard_svc.c:317:ContextThread() Received command: RELEASE_CONTEXT from client 13 00000058 winscard.c:204:SCardReleaseContext() Releasing Context: 0x6AC591CA 00000046 winscard_svc.c:425:ContextThread() RELEASE_CONTEXT rv=0x0 for client 13 00001048 winscard_svc.c:309:ContextThread() Client die: 13 00000073 winscard_svc.c:928:MSGCleanupClient() Thread is stopping: dwClientID=13, threadContext @0x8744580 00000044 winscard_svc.c:934:MSGCleanupClient() Freeing SCONTEXT @0x8744580 00398593 eventhandler.c:458:EHStatusHandlerThread() powerState: POWER_STATE_POWERED 05006947 ifdhandler.c:1122:IFDHPowerICC() action: PowerDown, usb:096e/0503:libudev:0:/dev/bus/usb/002/004 (lun: 0) 00004008 eventhandler.c:446:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED |
From: Douglas E. E. <dee...@an...> - 2013-03-28 15:33:20
|
On 3/28/2013 8:58 AM, Fred wrote: > Hi all, > > I am currently trying to use smartcard with cryptlib using OpenSC on Linux. > pkcs11 OpenSC library is working OK (from openssl, gnutls, xca or > mozilla-nss and so on ...) > > Object library are at /usr/lib/opensc-pkcs11.la and > /usr/lib/opensc-pkcs11.so from rpm opensc-0.12.2-8.1.1.i586, but > corresponding header are missing ... > > In cryptklib, PKCS11 support is auto-detected like this in tools/ccopts.sh : > > if [ -f /usr/include/pkcs11.h -o -f /usr/include/security/pkcs11.h -o \ > -f /usr/include/opensc/pkcs11.h -o -f > /usr/local/include/pkcs11.h ] ; then Does it actually use the file or just test that it is present? > > I have tried to bind cryptlib to openSC pkcs11 support on some linux > distros line Debian Squeeze, OpenSuze 12.1, 12.2 & 12.3, as well as > CentOS 6.2 & 6.3, but none of this distributions have pkcs11.h present > as tested above ... > > I also have tried to rebuild all OpenSC environment from last sources > on those plateform, but I still don't find how to have PKCS11 support > autodetected by cryptlib tools/ccopts.sh > > As a sample, here follows file list of a working OpenSC installation > on OpenSuze 12.3 (distro's RPM based install) : > > I don't understand if this is a issue related to distros package > management where xyz-devel package including OpenSC pkcs11.h header is > missing or something else ... This sounds more like a packaging problem with cryptlib, it is assuming that a development version of some other PKCS#11 implementation must already be installed. Other packages don't require a version of pkcs11.h to be already installed, they provide their own version that implement the RSA PKCS#11 standards. The pkcs11.h does not define the standard, the RSA documents do and they contain versions of the pkcs11.h. Google for: pkcs11.h RSA source This will point to the RSA versions, and one URL implies that the cryptlib 3.4.1 includes a pkcs11.h. I am surprised the cryptlib does not provided its own version of the headers, and build in pkcs11 support on its own. Have you asked the author? If you have the OpenSC source, you could try the src/pkcs11/pkcs11.h > > Can you help ? > > Best regards, > Fred MAISON > > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > > > > _______________________________________________ > Opensc-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensc-devel > -- Douglas E. Engert <DEE...@an...> Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444 |
From: Alon Bar-L. <alo...@gm...> - 2013-03-28 14:08:58
|
pkcs11 headers are specification. you can either use rsa security headers or the scute free alternative. On Thu, Mar 28, 2013 at 3:58 PM, Fred <fre...@gm...> wrote: > Hi all, > > I am currently trying to use smartcard with cryptlib using OpenSC on Linux. > pkcs11 OpenSC library is working OK (from openssl, gnutls, xca or > mozilla-nss and so on ...) > > Object library are at /usr/lib/opensc-pkcs11.la and > /usr/lib/opensc-pkcs11.so from rpm opensc-0.12.2-8.1.1.i586, but > corresponding header are missing ... > > In cryptklib, PKCS11 support is auto-detected like this in tools/ccopts.sh : > > if [ -f /usr/include/pkcs11.h -o -f /usr/include/security/pkcs11.h -o \ > -f /usr/include/opensc/pkcs11.h -o -f > /usr/local/include/pkcs11.h ] ; then > > I have tried to bind cryptlib to openSC pkcs11 support on some linux > distros line Debian Squeeze, OpenSuze 12.1, 12.2 & 12.3, as well as > CentOS 6.2 & 6.3, but none of this distributions have pkcs11.h present > as tested above ... > > I also have tried to rebuild all OpenSC environment from last sources > on those plateform, but I still don't find how to have PKCS11 support > autodetected by cryptlib tools/ccopts.sh > > As a sample, here follows file list of a working OpenSC installation > on OpenSuze 12.3 (distro's RPM based install) : > > I don't understand if this is a issue related to distros package > management where xyz-devel package including OpenSC pkcs11.h header is > missing or something else ... > > Can you help ? > > Best regards, > Fred MAISON > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > _______________________________________________ > Opensc-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensc-devel > |
From: Fred <fre...@gm...> - 2013-03-28 13:58:18
|
Hi all, I am currently trying to use smartcard with cryptlib using OpenSC on Linux. pkcs11 OpenSC library is working OK (from openssl, gnutls, xca or mozilla-nss and so on ...) Object library are at /usr/lib/opensc-pkcs11.la and /usr/lib/opensc-pkcs11.so from rpm opensc-0.12.2-8.1.1.i586, but corresponding header are missing ... In cryptklib, PKCS11 support is auto-detected like this in tools/ccopts.sh : if [ -f /usr/include/pkcs11.h -o -f /usr/include/security/pkcs11.h -o \ -f /usr/include/opensc/pkcs11.h -o -f /usr/local/include/pkcs11.h ] ; then I have tried to bind cryptlib to openSC pkcs11 support on some linux distros line Debian Squeeze, OpenSuze 12.1, 12.2 & 12.3, as well as CentOS 6.2 & 6.3, but none of this distributions have pkcs11.h present as tested above ... I also have tried to rebuild all OpenSC environment from last sources on those plateform, but I still don't find how to have PKCS11 support autodetected by cryptlib tools/ccopts.sh As a sample, here follows file list of a working OpenSC installation on OpenSuze 12.3 (distro's RPM based install) : I don't understand if this is a issue related to distros package management where xyz-devel package including OpenSC pkcs11.h header is missing or something else ... Can you help ? Best regards, Fred MAISON |
From: Ondrej M. <ond...@ni...> - 2013-03-28 13:32:10
|
On 03/28/2013 09:19 AM, Florent Deybach wrote: > *As you can see, the object is present :* > ** > * > > *root@ubuntu12-10:~# pkcs15-tool --dump* > > *Using reader with a card: Feitian ePass2003 00 00* > > *[...]* > *Data object 'cleTruecrypt'* > *applicationName: cleTruecrypt* > *Path: 3f0050153400* > *Auth ID: 01* My guess would be that the default ACLs prevent deleting the file. If you look at /usr/share/opensc/epass2003.profile, there is the following part describing ACLs for 3f00/5015/34xx files: # data objects are stored in transparent EFs. EF privdata { file-id = 3400; structure = transparent; ACL = *=NEVER,READ=$PIN,UPDATE=$PIN; } That means the ACL for delete is NEVER, i.e. even PIN authorization won't suffice for deletion of this file. It would be consistent with the log you posted - the authenticate APDU instruction goes through OK, but erasing in the last APDU fails with SW 0x69 0x82 "security status not satisfied". AFAIK you won't be able to delete the file without erasing the card (pkcs15-init -E) or erasing the parent DF 5015. Note that the ACLs from the profile are applied at the moment a file is created on token (like key or data object). Ondrej |
From: Florent D. <fde...@gm...> - 2013-03-28 08:20:14
|
0xb71f86c0 09:01:26.271 [opensc-pkcs11] ctx.c:714:sc_context_create: =================================== 0xb71f86c0 09:01:26.271 [opensc-pkcs11] ctx.c:715:sc_context_create: opensc version: 0.13.0rc1 0xb71f86c0 09:01:26.271 [opensc-pkcs11] reader-pcsc.c:666:pcsc_init: PC/SC options: connect_exclusive=0 disconnect_action=1 transaction_end_action=0 reconnect_action=0 enable_pinpad=1 enable_pace=1 0xb71f86c0 09:01:26.271 [opensc-pkcs11] reader-pcsc.c:948:pcsc_detect_readers: called 0xb71f86c0 09:01:26.271 [opensc-pkcs11] reader-pcsc.c:956:pcsc_detect_readers: Probing pcsc readers 0xb71f86c0 09:01:26.271 [opensc-pkcs11] reader-pcsc.c:978:pcsc_detect_readers: Establish pcsc context 0xb71f86c0 09:01:26.272 [opensc-pkcs11] reader-pcsc.c:1026:pcsc_detect_readers: Found new pcsc reader 'Feitian ePass2003 00 00' 0xb71f86c0 09:01:26.272 [opensc-pkcs11] reader-pcsc.c:283:refresh_attributes: Feitian ePass2003 00 00 check 0xb71f86c0 09:01:26.272 [opensc-pkcs11] reader-pcsc.c:307:refresh_attributes: current state: 0x00000022 0xb71f86c0 09:01:26.272 [opensc-pkcs11] reader-pcsc.c:308:refresh_attributes: previous state: 0x00000000 0xb71f86c0 09:01:26.272 [opensc-pkcs11] reader-pcsc.c:362:refresh_attributes: card present, changed 0xb71f86c0 09:01:26.272 [opensc-pkcs11] reader-pcsc.c:1057:pcsc_detect_readers: Requesting reader features ... 0xb71f86c0 09:01:26.326 [opensc-pkcs11] reader-pcsc.c:1071:pcsc_detect_readers: Feitian ePass2003 00 00:SCardConnect(SHARED): 0x00000000 0xb71f86c0 09:01:26.326 [opensc-pkcs11] reader-pcsc.c:824:detect_reader_features: called 0xb71f86c0 09:01:26.326 [opensc-pkcs11] reader-pcsc.c:845:detect_reader_features: Reader feature 0a found 0xb71f86c0 09:01:26.326 [opensc-pkcs11] reader-pcsc.c:845:detect_reader_features: Reader feature 12 found 0xb71f86c0 09:01:26.326 [opensc-pkcs11] reader-pcsc.c:919:detect_reader_features: Reader does not have a display. 0xb71f86c0 09:01:26.326 [opensc-pkcs11] reader-pcsc.c:1101:pcsc_detect_readers: returning with: 0 (Success) 0xb71f86c0 09:01:26.326 [opensc-pkcs11] misc.c:346:load_pkcs11_parameters: PKCS#11 options: plug_and_play=1 max_virtual_slots=16 slots_per_card=4 hide_empty_tokens=1 lock_login=0 pin_unblock_style=0 zero_ckaid_for_ca_certs=0 create_slots_flags=0x8 0xb71f86c0 09:01:26.326 [opensc-pkcs11] slot.c:90:create_slot: Creating slot with id 0x0 0xb71f86c0 09:01:26.327 [opensc-pkcs11] slot.c:90:create_slot: Creating slot with id 0x1 0xb71f86c0 09:01:26.327 [opensc-pkcs11] slot.c:90:create_slot: Creating slot with id 0x2 0xb71f86c0 09:01:26.327 [opensc-pkcs11] slot.c:90:create_slot: Creating slot with id 0x3 0xb71f86c0 09:01:26.327 [opensc-pkcs11] slot.c:90:create_slot: Creating slot with id 0x4 0xb71f86c0 09:01:26.327 [opensc-pkcs11] sc.c:231:sc_detect_card_presence: called 0xb71f86c0 09:01:26.327 [opensc-pkcs11] reader-pcsc.c:370:pcsc_detect_card_presence: called 0xb71f86c0 09:01:26.327 [opensc-pkcs11] reader-pcsc.c:283:refresh_attributes: Feitian ePass2003 00 00 check 0xb71f86c0 09:01:26.327 [opensc-pkcs11] reader-pcsc.c:299:refresh_attributes: returning with: 0 (Success) 0xb71f86c0 09:01:26.327 [opensc-pkcs11] reader-pcsc.c:375:pcsc_detect_card_presence: returning with: 1 0xb71f86c0 09:01:26.327 [opensc-pkcs11] sc.c:236:sc_detect_card_presence: returning with: 1 0xb71f86c0 09:01:26.327 [opensc-pkcs11] slot.c:188:card_detect: Feitian ePass2003 00 00: Detecting smart card 0xb71f86c0 09:01:26.327 [opensc-pkcs11] sc.c:231:sc_detect_card_presence: called 0xb71f86c0 09:01:26.327 [opensc-pkcs11] reader-pcsc.c:370:pcsc_detect_card_presence: called 0xb71f86c0 09:01:26.327 [opensc-pkcs11] reader-pcsc.c:283:refresh_attributes: Feitian ePass2003 00 00 check 0xb71f86c0 09:01:26.327 [opensc-pkcs11] reader-pcsc.c:299:refresh_attributes: returning with: 0 (Success) 0xb71f86c0 09:01:26.327 [opensc-pkcs11] reader-pcsc.c:375:pcsc_detect_card_presence: returning with: 1 0xb71f86c0 09:01:26.327 [opensc-pkcs11] sc.c:236:sc_detect_card_presence: returning with: 1 0xb71f86c0 09:01:26.327 [opensc-pkcs11] slot.c:225:card_detect: Feitian ePass2003 00 00: First seen the card 0xb71f86c0 09:01:26.327 [opensc-pkcs11] slot.c:233:card_detect: Feitian ePass2003 00 00: Connecting ... 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:125:sc_connect_card: called 0xb71f86c0 09:01:26.327 [opensc-pkcs11] reader-pcsc.c:450:pcsc_connect: called 0xb71f86c0 09:01:26.327 [opensc-pkcs11] reader-pcsc.c:283:refresh_attributes: Feitian ePass2003 00 00 check 0xb71f86c0 09:01:26.327 [opensc-pkcs11] reader-pcsc.c:299:refresh_attributes: returning with: 0 (Success) 0xb71f86c0 09:01:26.327 [opensc-pkcs11] reader-pcsc.c:479:pcsc_connect: Initial protocol: T=1 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:DD:18:00:81:31:FE:45:80:F9:A0:00:00:00:77:01:00:70:0A:90:00:8B 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7F:96:00:00:00:31:B9:64:40:70:14:10:73:94:01:80:82:90:00 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7F:96:00:00:00:31:B8:64:40:70:14:10:73:94:01:80:82:90:00 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:DF:18:FF:81:91:FE:1F:C3:00:31:B8:64:0C:01:EC:C1:73:94:01:80:82:90:00:B3 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:DC:18:FF:81:91:FE:1F:C3:80:73:C8:21:13:66:01:0B:03:52:00:05:38 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:6e:00:ff:45:73:74:45:49:44:20:76:65:72:20:31:2e:30 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:fe:94:00:ff:80:b1:fa:45:1f:03:45:73:74:45:49:44:20:76:65:72:20:31:2e:30:43 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:5e:11:ff:45:73:74:45:49:44:20:76:65:72:20:31:2e:30 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:de:18:ff:c0:80:b1:fe:45:1f:03:45:73:74:45:49:44:20:76:65:72:20:31:2e:30:2b 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:6e:00:00:45:73:74:45:49:44:20:76:65:72:20:31:2e:30 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:fe:18:00:00:80:31:fe:45:45:73:74:45:49:44:20:76:65:72:20:31:2e:30:a8 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:fe:18:00:00:80:31:fe:45:80:31:80:66:40:90:a4:56:1b:16:83:01:90:00:86 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:fe:18:00:00:80:31:fe:45:80:31:80:66:40:90:a4:16:2a:00:83:01:90:00:e1 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:fe:18:00:00:80:31:fe:45:80:31:80:66:40:90:a4:16:2a:00:83:0f:90:00:ef 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:ff:94:00:ff:80:b1:fe:45:1f:03:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00:23 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:ff:11:00:ff:80:b1:fe:45:1f:03:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00:a6 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:146:sc_connect_card: matching configured ATRs 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:155:sc_connect_card: trying driver 'authentic' 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:DD:18:00:81:31:FE:45:80:F9:A0:00:00:00:77:01:00:70:0A:90:00:8B 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:155:sc_connect_card: trying driver 'iasecc' 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7F:96:00:00:00:31:B9:64:40:70:14:10:73:94:01:80:82:90:00 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7F:96:00:00:00:31:B8:64:40:70:14:10:73:94:01:80:82:90:00 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:DF:18:FF:81:91:FE:1F:C3:00:31:B8:64:0C:01:EC:C1:73:94:01:80:82:90:00:B3 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:DC:18:FF:81:91:FE:1F:C3:80:73:C8:21:13:66:01:0B:03:52:00:05:38 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:184:sc_connect_card: matching built-in ATRs 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'cardos' 0xb71f86c0 09:01:26.327 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:e2:00:ff:c1:10:31:fe:55:c8:02:9c 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:e9:00:ff:c1:10:31:fe:55:00:64:05:00:c8:02:31:80:00:47 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:fb:98:00:ff:c1:10:31:fe:55:00:64:05:20:47:03:31:80:00:90:00:f3 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:fc:98:00:ff:c1:10:31:fe:55:c8:03:49:6e:66:6f:63:61:6d:65:72:65:28 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:f4:98:00:ff:c1:10:31:fe:55:4d:34:63:76:b4 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:f2:18:00:ff:c1:0a:31:fe:55:c8:06:8a 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:d2:18:02:c1:0a:31:fe:58:c8:0d:51 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'flex' 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:95:15:40:20:68:01:02:00:00 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:01 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:04 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:85:40:20:68:01:01:05:01 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:94:40:FF:63:01:01:02:01 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:15:40:FF:63:01:01:02:01 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:18:40:FF:64:02:01:01:02 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:01:00:00 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:02:01:04 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:18:40:FF:62:04:01:01:05 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:95:15:40:ff:68:01:02:45:47 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:06 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:05 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:07 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:85:40:20:68:01:01:03:05 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:02:14:50 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:19:14:55:90:01:02:01:00:05:04:B0 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:32:15:00:06:80 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:32:15:00:06:95 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:19:14:59:01:01:0F:01:00:05:08:B0 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:19:14:55:90:01:01:01:00:05:08:B0 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:3F 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:2F 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'cyberflex' 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:95:15:40:20:68:01:02:00:00 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:01 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:15:40:FF:68:01:02:02:04 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:85:40:20:68:01:01:05:01 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:94:40:FF:63:01:01:02:01 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:15:40:FF:63:01:01:02:01 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:18:40:FF:64:02:01:01:02 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:01:00:00 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:18:40:FF:62:01:02:01:04 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:18:40:FF:62:04:01:01:05 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:95:15:40:ff:68:01:02:45:47 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:06 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:05 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:E2:00:00:40:20:49:07 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:85:40:20:68:01:01:03:05 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:02:14:50 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:19:14:55:90:01:02:01:00:05:04:B0 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:32:15:00:06:80 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:32:15:00:06:95 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:19:14:59:01:01:0F:01:00:05:08:B0 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:19:14:55:90:01:01:01:00:05:08:B0 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:3F 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:16:94:81:10:06:01:81:2F 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'gpk' 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:27:00:80:65:A2:04:01:01:37 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:27:00:80:65:A2:05:01:01:37 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:27:00:80:65:A2:0C:01:01:37 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:A7:00:40:14:80:65:A2:14:01:01:37 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:08:01:01:52 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:09:01:01:52 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:09:01:02:52 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:A7:00:40:18:80:65:A2:09:01:03:52 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'gemsafeV1' 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7B:94:00:00:80:65:B0:83:01:01:74:83:00:90:00 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:6B:00:00:80:65:B0:83:01:01:74:83:00:90:00 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.328 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:6d:00:00:80:31:80:65:b0:83:01:02:90:83:00:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:6B:00:00:80:65:B0:83:01:03:74:83:00:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7A:94:00:00:80:65:A2:01:01:01:3D:72:D6:43 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7D:94:00:00:80:31:80:65:B0:83:01:01:90:83:00:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7D:96:00:00:80:31:80:65:B0:83:11:48:C8:83:00:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7D:95:00:00:80:31:80:65:B0:83:11:C0:A9:83:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7D:95:00:00:80:31:80:65:B0:83:11:C0:A9:83:00:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7D:95:00:00:80:31:80:65:B0:83:11:00:C8:83:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7D:95:00:00:80:31:80:65:B0:83:11:00:C8:83:00:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'miocos' 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:9D:94:40:23:00:68:10:11:4D:69:6F:43:4F:53:00:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:9D:94:40:23:00:68:20:01:4D:69:6F:43:4F:53:00:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'mcrd' 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:FF:94:00:FF:80:B1:FE:45:1F:03:00:68:D2:76:00:00:28:FF:05:1E:31:80:00:90:00:23 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:6f:00:ff:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:ff:11:00:ff:80:b1:fe:45:1f:03:00:68:d2:76:00:00:28:ff:05:1e:31:80:00:90:00:a6 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:FE:94:00:FF:80:B1:FA:45:1F:03:45:73:74:45:49:44:20 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:fe:94:00:ff:80:b1:fa:45:1f:03:45:73:74:45:49:44:20:76:65:72:20:31:2e:30:43 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:6e:00:ff:45:73:74:45:49:44:20:76:65:72:20:31:2e:30 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:de:18:ff:c0:80:b1:fe:45:1f:03:45:73:74:45:49:44:20:76:65:72:20:31:2e:30:2b 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:5e:11:ff:45:73:74:45:49:44:20:76:65:72:20:31:2e:30 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:6e:00:00:45:73:74:45:49:44:20:76:65:72:20:31:2e:30 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:FE:18:00:00:80:31:FE:45:45:73:74:45:49:44:20:76:65:72:20:31:2E:30:A8 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:FE:18:00:00:80:31:FE:45:80:31:80:66:40:90:A4:56:1B:16:83:01:90:00:86 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:fe:18:00:00:80:31:fe:45:80:31:80:66:40:90:a4:16:2a:00:83:01:90:00:e1 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:fe:18:00:00:80:31:fe:45:80:31:80:66:40:90:a4:16:2a:00:83:0f:90:00:ef 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'asepcos' 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:d6:18:00:81:b1:80:7d:1f:03:80:51:00:61:10:30:8f 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:d6:18:00:81:b1:fe:7d:1f:03:41:53:45:37:35:35:01 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'starcos' 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:B7:94:00:c0:24:31:fe:65:53:50:4b:32:33:90:00:b4 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:B7:94:00:81:31:fe:65:53:50:4b:32:33:90:00:d1 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:b7:18:00:c0:3e:31:fe:65:53:50:4b:32:34:90:00:25 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'tcos' 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:BA:13:00:81:31:86:5D:00:64:05:0A:02:01:31:80:90:00:8B 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:BA:14:00:81:31:86:5D:00:64:05:14:02:02:31:80:90:00:91 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:BA:96:00:81:31:86:5D:00:64:05:60:02:03:31:80:90:00:66 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:BA:96:00:81:31:86:5D:00:64:05:7B:02:03:31:80:90:00:7D 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:BF:96:00:81:31:FE:5D:00:64:04:11:03:01:31:C0:73:F7:01:D0:00:90:00:7D 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:BF:B6:00:81:31:FE:5D:00:64:04:28:03:02:31:C0:73:F7:01:D0:00:90:00:67 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'openpgp' 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:fa:13:00:ff:81:31:80:45:00:31:c1:73:c0:01:00:00:90:00:b1 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:da:18:ff:81:b1:fe:75:1f:03:00:31:c5:73:c0:01:40:00:90:00:0c 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'jcop' 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:E6:00:FF:81:31:FE:45:4A:43:4F:50:33:31:06 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'oberthur' 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7D:18:00:00:00:31:80:71:8E:64:77:E3:01:00:82:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7D:18:00:00:00:31:80:71:8E:64:77:E3:02:00:82:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7D:11:00:00:00:31:80:71:8E:64:77:E3:01:00:82:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7D:11:00:00:00:31:80:71:8E:64:77:E3:02:00:82:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7B:18:00:00:00:31:C0:64:77:E3:03:00:82:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:FB:11:00:00:81:31:FE:45:00:31:C0:64:77:E9:10:00:00:90:00:6A 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'authentic' 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card-authentic.c:416:authentic_match_card: try to match card with ATR 3B9F958131FE9F006646530501001171DF000003900080 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:DD:18:00:81:31:FE:45:80:F9:A0:00:00:00:77:01:00:70:0A:90:00:8B 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card-authentic.c:419:authentic_match_card: card not matched 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'iasecc' 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card-iasecc.c:337:iasecc_match_card: iasecc_match_card(3B9F958131FE9F006646530501001171DF000003900080) called 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7F:96:00:00:00:31:B8:64:40:70:14:10:73:94:01:80:82:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:DD:18:00:81:31:FE:45:80:F9:A0:00:00:00:77:01:08:00:07:90:00:FE 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7D:13:00:00:4D:44:57:2D:49:41:53:2D:43:41:52:44:32 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:7F:18:00:00:00:31:B8:64:50:23:EC:C1:73:94:01:80:82:90:00 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:DF:18:FF:81:91:FE:1F:C3:00:31:B8:64:0C:01:EC:C1:73:94:01:80:82:90:00:B3 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:DC:18:FF:81:91:FE:1F:C3:80:73:C8:21:13:66:02:04:03:55:00:02:34 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:DC:18:FF:81:91:FE:1F:C3:80:73:C8:21:13:66:01:0B:03:52:00:05:38 0xb71f86c0 09:01:26.329 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card-iasecc.c:340:iasecc_match_card: card not matched 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'belpic' 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:98:13:40:0A:A5:03:01:01:01:AD:13:11 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:98:94:40:0A:A5:03:01:01:01:AD:13:10 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:98:94:40:FF:A5:03:01:01:01:AD:13:10 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'ias' 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:65:00:00:D0:00:54:01:31 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:65:00:00:D0:00:54:01:32 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:95:40:FF:D0:00:54:01:31 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:95:95:40:FF:D0:00:54:01:32 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'incrypto34' 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:ff:18:00:ff:81:31:fe:55:00:6b:02:09:02:00:01:01:01:44:53:44:10:31:80:92 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'acos5' 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:be:18:00:00:41:05:10:00:00:00:00:00:00:00:00:00:90:00 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'akis' 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:ba:11:00:81:31:fe:4d:55:45:4b:41:45:20:56:31:2e:30:ae 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'entersafe' 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card-entersafe.c:104:entersafe_match_card: called 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:0f:00:65:46:53:05:19:05:71:df:00:00:00:00:00:00 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:884:match_atr_table: ignored - wrong length 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3b:9f:95:81:31:fe:9f:00:65:46:53:05:30:06:71:df:00:00:00:80:6a:82:5e 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:888:match_atr_table: ATR mask: FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:00:FF:FF:FF:FF:FF:FF:00:00:00:00 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:189:sc_connect_card: trying driver 'epass2003' 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card-epass2003.c:954:epass2003_match_card: called 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:870:match_atr_table: ATR : 3b:9f:95:81:31:fe:9f:00:66:46:53:05:01:00:11:71:df:00:00:03:90:00:80 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:881:match_atr_table: ATR try : 3B:9F:95:81:31:FE:9F:00:66:46:53:05:10:00:11:71:df:00:00:00:6a:82:5e 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:888:match_atr_table: ATR mask: FF:FF:FF:FF:FF:00:FF:FF:FF:FF:FF:FF:00:00:00:ff:00:ff:ff:00:00:00:00 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:196:sc_connect_card: matched: epass2003 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card-epass2003.c:970:epass2003_init: called 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card-epass2003.c:924:get_data: called 0xb71f86c0 09:01:26.330 [opensc-pkcs11] apdu.c:687:sc_transmit_apdu: called 0xb71f86c0 09:01:26.330 [opensc-pkcs11] card.c:315:sc_lock: called 0xb71f86c0 09:01:26.330 [opensc-pkcs11] reader-pcsc.c:517:pcsc_lock: called 0xb71f86c0 09:01:26.334 [opensc-pkcs11] apdu.c:654:sc_transmit: called 0xb71f86c0 09:01:26.334 [opensc-pkcs11] apdu.c:509:sc_single_transmit: called 0xb71f86c0 09:01:26.334 [opensc-pkcs11] apdu.c:514:sc_single_transmit: CLA:0, INS:CA, P1:1, P2:86, data(0) (nil) 0xb71f86c0 09:01:26.334 [opensc-pkcs11] reader-pcsc.c:249:pcsc_transmit: reader 'Feitian ePass2003 00 00' 0xb71f86c0 09:01:26.334 [opensc-pkcs11] apdu.c:185:sc_apdu_log: Outgoing APDU data [ 5 bytes] ===================================== 00 CA 01 86 00 ..... ====================================================================== 0xb71f86c0 09:01:26.334 [opensc-pkcs11] reader-pcsc.c:182:pcsc_internal_transmit: called 0xb71f86c0 09:01:26.347 [opensc-pkcs11] apdu.c:185:sc_apdu_log: Incoming APDU data [ 12 bytes] ===================================== 80 01 01 81 02 1D D5 82 01 03 90 00 ............ ====================================================================== 0xb71f86c0 09:01:26.347 [opensc-pkcs11] apdu.c:524:sc_single_transmit: returning with: 0 (Success) 0xb71f86c0 09:01:26.347 [opensc-pkcs11] apdu.c:676:sc_transmit: returning with: 0 (Success) 0xb71f86c0 09:01:26.347 [opensc-pkcs11] card.c:353:sc_unlock: called 0xb71f86c0 09:01:26.347 [opensc-pkcs11] reader-pcsc.c:554:pcsc_unlock: called 0xb71f86c0 09:01:26.359 [opensc-pkcs11] card-epass2003.c:434:mutual_auth: called 0xb71f86c0 09:01:26.359 [opensc-pkcs11] card-epass2003.c:303:gen_init_key: called 0xb71f86c0 09:01:26.359 [opensc-pkcs11] card-epass2003.c:907:epass2003_transmit_apdu: called 0xb71f86c0 09:01:26.359 [opensc-pkcs11] apdu.c:687:sc_transmit_apdu: called 0xb71f86c0 09:01:26.359 [opensc-pkcs11] card.c:315:sc_lock: called 0xb71f86c0 09:01:26.359 [opensc-pkcs11] reader-pcsc.c:517:pcsc_lock: called 0xb71f86c0 09:01:26.360 [opensc-pkcs11] apdu.c:654:sc_transmit: called 0xb71f86c0 09:01:26.360 [opensc-pkcs11] apdu.c:509:sc_single_transmit: called 0xb71f86c0 09:01:26.360 [opensc-pkcs11] apdu.c:514:sc_single_transmit: CLA:80, INS:50, P1:0, P2:0, data(8) 0xb7556088 0xb71f86c0 09:01:26.360 [opensc-pkcs11] reader-pcsc.c:249:pcsc_transmit: reader 'Feitian ePass2003 00 00' 0xb71f86c0 09:01:26.360 [opensc-pkcs11] apdu.c:185:sc_apdu_log: Outgoing APDU data [ 14 bytes] ===================================== 80 50 00 00 08 BF C3 29 11 C7 18 C3 40 1C .P.....)....@. ====================================================================== 0xb71f86c0 09:01:26.360 [opensc-pkcs11] reader-pcsc.c:182:pcsc_internal_transmit: called 0xb71f86c0 09:01:26.393 [opensc-pkcs11] apdu.c:185:sc_apdu_log: Incoming APDU data [ 30 bytes] ===================================== 06 05 04 03 02 01 17 05 12 01 FF 01 2E D5 60 E7 ..............`. 6B BF F7 E0 49 A4 0B AC AA 33 77 0D 90 00 k...I....3w... ====================================================================== 0xb71f86c0 09:01:26.394 [opensc-pkcs11] apdu.c:524:sc_single_transmit: returning with: 0 (Success) 0xb71f86c0 09:01:26.394 [opensc-pkcs11] apdu.c:676:sc_transmit: returning with: 0 (Success) 0xb71f86c0 09:01:26.394 [opensc-pkcs11] card.c:353:sc_unlock: called 0xb71f86c0 09:01:26.394 [opensc-pkcs11] reader-pcsc.c:554:pcsc_unlock: called 0xb71f86c0 09:01:26.406 [opensc-pkcs11] card-epass2003.c:353:gen_init_key: returning with: 0 (Success) 0xb71f86c0 09:01:26.406 [opensc-pkcs11] card-epass2003.c:370:verify_init_key: called 0xb71f86c0 09:01:26.406 [opensc-pkcs11] card-epass2003.c:907:epass2003_transmit_apdu: called 0xb71f86c0 09:01:26.406 [opensc-pkcs11] apdu.c:687:sc_transmit_apdu: called 0xb71f86c0 09:01:26.406 [opensc-pkcs11] card.c:315:sc_lock: called 0xb71f86c0 09:01:26.406 [opensc-pkcs11] reader-pcsc.c:517:pcsc_lock: called 0xb71f86c0 09:01:26.406 [opensc-pkcs11] apdu.c:654:sc_transmit: called 0xb71f86c0 09:01:26.406 [opensc-pkcs11] apdu.c:509:sc_single_transmit: called 0xb71f86c0 09:01:26.406 [opensc-pkcs11] apdu.c:514:sc_single_transmit: CLA:84, INS:82, P1:3, P2:0, data(16) 0xbfaf89d4 0xb71f86c0 09:01:26.406 [opensc-pkcs11] reader-pcsc.c:249:pcsc_transmit: reader 'Feitian ePass2003 00 00' 0xb71f86c0 09:01:26.406 [opensc-pkcs11] apdu.c:185:sc_apdu_log: Outgoing APDU data [ 21 bytes] ===================================== 84 82 03 00 10 9C 1F D4 CD 92 BF 2E B9 42 C3 7B .............B.{ 6A A6 0B FE 8C j.... ====================================================================== 0xb71f86c0 09:01:26.406 [opensc-pkcs11] reader-pcsc.c:182:pcsc_internal_transmit: called 0xb71f86c0 09:01:26.434 [opensc-pkcs11] apdu.c:185:sc_apdu_log: Incoming APDU data [ 2 bytes] ===================================== 90 00 .. ====================================================================== 0xb71f86c0 09:01:26.434 [opensc-pkcs11] apdu.c:524:sc_single_transmit: returning with: 0 (Success) 0xb71f86c0 09:01:26.434 [opensc-pkcs11] apdu.c:676:sc_transmit: returning with: 0 (Success) 0xb71f86c0 09:01:26.434 [opensc-pkcs11] card.c:353:sc_unlock: called 0xb71f86c0 09:01:26.434 [opensc-pkcs11] reader-pcsc.c:554:pcsc_unlock: called 0xb71f86c0 09:01:26.446 [opensc-pkcs11] card-epass2003.c:443:mutual_auth: returning with: 0 (Success) 0xb71f86c0 09:01:26.446 [opensc-pkcs11] card-epass2003.c:1013:epass2003_init: returning with: 0 (Success) 0xb71f86c0 09:01:26.446 [opensc-pkcs11] card.c:232:sc_connect_card: card info name:'epass2003', type:19003, flags:0x0, max_send/recv_size:232/216 0xb71f86c0 09:01:26.446 [opensc-pkcs11] card.c:1199:sc_card_sm_check: called 0xb71f86c0 09:01:26.446 [opensc-pkcs11] card.c:1204:sc_card_sm_check: returning with: 0 (Success) 0xb71f86c0 09:01:26.446 [opensc-pkcs11] card.c:243:sc_connect_card: returning with: 0 (Success) 0xb71f86c0 09:01:26.446 [opensc-pkcs11] dir.c:140:sc_enum_apps: called 0xb71f86c0 09:01:26.446 [opensc-pkcs11] card.c:610:sc_select_file: called; type=2, path=3f002f00 0xb71f86c0 09:01:26.446 [opensc-pkcs11] card-epass2003.c:1337:epass2003_select_file: called 0xb71f86c0 09:01:26.446 [opensc-pkcs11] card-epass2003.c:1345:epass2003_select_file: current path (path, valid): (len: 0) 0xb71f86c0 09:01:26.446 [opensc-pkcs11] apdu.c:687:sc_transmit_apdu: called 0xb71f86c0 09:01:26.446 [opensc-pkcs11] card.c:315:sc_lock: called 0xb71f86c0 09:01:26.446 [opensc-pkcs11] reader-pcsc.c:517:pcsc_lock: called 0xb71f86c0 09:01:26.446 [opensc-pkcs11] apdu.c:654:sc_transmit: called 0xb71f86c0 09:01:26.446 [opensc-pkcs11] apdu.c:509:sc_single_transmit: called 0xb71f86c0 09:01:26.446 [opensc-pkcs11] apdu.c:514:sc_single_transmit: CLA:0, INS:A4, P1:0, P2:0, data(2) 0xbfaf8a8c 0xb71f86c0 09:01:26.446 [opensc-pkcs11] apdu.c:469:sc_single_sm_transmit: called 0xb71f86c0 09:01:26.446 [opensc-pkcs11] apdu.c:470:sc_single_sm_transmit: SM_MODE:200 0xb71f86c0 09:01:26.446 [opensc-pkcs11] card-epass2003.c:873:epass2003_sm_get_wrapped_apdu: called 0xb71f86c0 09:01:26.446 [opensc-pkcs11] card-epass2003.c:713:epass2003_sm_wrap_apdu: called 0xb71f86c0 09:01:26.446 [opensc-pkcs11] card-epass2003.c:898:epass2003_sm_get_wrapped_apdu: returning with: 0 (Success) 0xb71f86c0 09:01:26.446 [opensc-pkcs11] reader-pcsc.c:249:pcsc_transmit: reader 'Feitian ePass2003 00 00' 0xb71f86c0 09:01:26.447 [opensc-pkcs11] apdu.c:185:sc_apdu_log: Outgoing APDU data [ 38 bytes] ===================================== 0C A4 00 00 20 87 11 01 3B 23 14 1A D0 76 30 69 .... ...;#...v0i 6B 87 E9 91 1B AA A8 5A 97 01 00 8E 08 66 D3 9C k......Z.....f.. 13 11 ED D8 7F 00 ...... ====================================================================== 0xb71f86c0 09:01:26.447 [opensc-pkcs11] reader-pcsc.c:182:pcsc_internal_transmit: called 0xb71f86c0 09:01:26.521 [opensc-pkcs11] apdu.c:185:sc_apdu_log: Incoming APDU data [ 67 bytes] ===================================== 87 31 01 33 64 46 8B 88 21 2C 69 67 27 D9 7C 95 .1.3dF..!,ig'.|. DF B7 55 EA 4E 05 46 B1 2C F1 CF C8 8D FE CC BD ..U.N.F.,....... B3 F4 10 A3 8E A0 E5 EC 66 F4 71 14 FF F9 53 BA ........f.q...S. FF A3 87 99 02 90 00 8E 08 47 4A BB 65 E6 29 65 .........GJ.e.)e 1C 90 00 ... ====================================================================== 0xb71f86c0 09:01:26.521 [opensc-pkcs11] card-epass2003.c:845:epass2003_sm_free_wrapped_apdu: called 0xb71f86c0 09:01:26.521 [opensc-pkcs11] card-epass2003.c:815:epass2003_sm_unwrap_apdu: called 0xb71f86c0 09:01:26.521 [opensc-pkcs11] card-epass2003.c:833:epass2003_sm_unwrap_apdu: unwrapped APDU: resplen 40, SW 9000 0xb71f86c0 09:01:26.521 [opensc-pkcs11] card-epass2003.c:834:epass2003_sm_unwrap_apdu: returning with: 0 (Success) 0xb71f86c0 09:01:26.521 [opensc-pkcs11] card-epass2003.c:861:epass2003_sm_free_wrapped_apdu: returning with: 0 (Success) 0xb71f86c0 09:01:26.521 [opensc-pkcs11] apdu.c:498:sc_single_sm_transmit: returning with: 0 (Success) 0xb71f86c0 09:01:26.521 [opensc-pkcs11] apdu.c:676:sc_transmit: returning with: 0 (Success) 0xb71f86c0 09:01:26.521 [opensc-pkcs11] card.c:353:sc_unlock: called 0xb71f86c0 09:01:26.521 [opensc-pkcs11] reader-pcsc.c:554:pcsc_unlock: called 0xb71f86c0 09:01:26.535 [opensc-pkcs11] card-epass2003.c:1499:epass2003_process_fci: processing FCI bytes 0xb71f86c0 09:01:26.536 [opensc-pkcs11] card-epass2003.c:1503:epass2003_process_fci: file identifier: 0x3F00 0xb71f86c0 09:01:26.536 [opensc-pkcs11] card-epass2003.c:1578:epass2003_process_fci: type DF, EF structure 56 0xb71f86c0 09:01:26.536 [opensc-pkcs11] card-epass2003.c:1589:epass2003_process_fci: File name: 65 6E 74 65 72 73 61 66 65 2D 66 69 70 73 entersafe-fips 0xb71f86c0 09:01:26.536 [opensc-pkcs11] card-epass2003.c:1188:epass2003_select_fid: returning with: 0 (Success) 0xb71f86c0 09:01:26.536 [opensc-pkcs11] apdu.c:687:sc_transmit_apdu: called 0xb71f86c0 09:01:26.536 [opensc-pkcs11] card.c:315:sc_lock: called 0xb71f86c0 09:01:26.536 [opensc-pkcs11] reader-pcsc.c:517:pcsc_lock: called 0xb71f86c0 09:01:26.536 [opensc-pkcs11] apdu.c:654:sc_transmit: called 0xb71f86c0 09:01:26.536 [opensc-pkcs11] apdu.c:509:sc_single_transmit: called 0xb71f86c0 09:01:26.536 [opensc-pkcs11] apdu.c:514:sc_single_transmit: CLA:0, INS:A4, P1:0, P2:0, data(2) 0xbfaf8a8c 0xb71f86c0 09:01:26.536 [opensc-pkcs11] apdu.c:469:sc_single_sm_transmit: called 0xb71f86c0 09:01:26.536 [opensc-pkcs11] apdu.c:470:sc_single_sm_transmit: SM_MODE:200 0xb71f86c0 09:01:26.536 [opensc-pkcs11] card-epass2003.c:873:epass2003_sm_get_wrapped_apdu: called 0xb71f86c0 09:01:26.536 [opensc-pkcs11] card-epass2003.c:713:epass2003_sm_wrap_apdu: called 0xb71f86c0 09:01:26.536 [opensc-pkcs11] card-epass2003.c:898:epass2003_sm_get_wrapped_apdu: returning with: 0 (Success) 0xb71f86c0 09:01:26.536 [opensc-pkcs11] reader-pcsc.c:249:pcsc_transmit: reader 'Feitian ePass2003 00 00' 0xb71f86c0 09:01:26.536 [opensc-pkcs11] apdu.c:185:sc_apdu_log: Outgoing APDU data [ 38 bytes] ===================================== 0C A4 00 00 20 87 11 01 F4 EB 03 5E 48 82 BC 83 .... ......^H... 49 C3 BD 01 C7 7A A9 30 97 01 00 8E 08 59 5A 5A I....z.0.....YZZ 60 24 6F 1A 74 00 `$o.t. ====================================================================== 0xb71f86c0 09:01:26.536 [opensc-pkcs11] reader-pcsc.c:182:pcsc_internal_transmit: called 0xb71f86c0 09:01:26.600 [opensc-pkcs11] apdu.c:185:sc_apdu_log: Incoming APDU data [ 51 bytes] ===================================== 87 21 01 A3 91 56 5E 34 85 9F 97 CB FC C0 A1 F1 .!...V^4........ F5 B3 70 97 F6 D3 37 94 72 FE 0F 02 45 BD D0 CE ..p...7.r...E... BF 6D A1 99 02 90 00 8E 08 44 8C 2C EA 62 6B C9 .m.......D.,.bk. AB 90 00 ... ====================================================================== 0xb71f86c0 09:01:26.600 [opensc-pkcs11] card-epass2003.c:845:epass2003_sm_free_wrapped_apdu: called 0xb71f86c0 09:01:26.600 [opensc-pkcs11] card-epass2003.c:815:epass2003_sm_unwrap_apdu: called 0xb71f86c0 09:01:26.600 [opensc-pkcs11] card-epass2003.c:833:epass2003_sm_unwrap_apdu: unwrapped APDU: resplen 23, SW 9000 0xb71f86c0 09:01:26.600 [opensc-pkcs11] card-epass2003.c:834:epass2003_sm_unwrap_apdu: returning with: 0 (Success) 0xb71f86c0 09:01:26.600 [opensc-pkcs11] card-epass2003.c:861:epass2003_sm_free_wrapped_apdu: returning with: 0 (Success) 0xb71f86c0 09:01:26.600 [opensc-pkcs11] apdu.c:498:sc_single_sm_transmit: returning with: 0 (Success) 0xb71f86c0 09:01:26.600 [opensc-pkcs11] apdu.c:676:sc_transmit: returning with: 0 (Success) 0xb71f86c0 09:01:26.600 [opensc-pkcs11] card.c:353:sc_unlock: called 0xb71f86c0 09:01:26.600 [opensc-pkcs11] reader-pcsc.c:554:pcsc_unlock: called 0xb71f86c0 09:01:26.619 [opensc-pkcs11] card-epass2003.c:1499:epass2003_process_fci: processing FCI bytes 0xb71f86c0 09:01:26.619 [opensc-pkcs11] card-epass2003.c:1503:epass2003_process_fci: file identifier: 0x2F00 0xb71f86c0 09:01:26.619 [opensc-pkcs11] card-epass2003.c:1578:epass2003_process_fci: type working EF, EF structure 4 0xb71f86c0 09:01:26.619 [opensc-pkcs11] card-epass2003.c:1188:epass2003_select_fid: returning with: 0 (Success) 0xb71f86c0 09:01:26.619 [opensc-pkcs11] card.c:638:sc_select_file: returning with: 0 (Success) 0xb71f86c0 09:01:26.619 [opensc-pkcs11] card.c:687:sc_read_record: called 0xb71f86c0 09:01:26.619 [opensc-pkcs11] apdu.c:687:sc_transmit_apdu: called 0xb71f86c0 09:01:26.619 [opensc-pkcs11] card.c:315:sc_lock: called 0xb71f86c0 09:01:26.619 [opensc-pkcs11] reader-pcsc.c:517:pcsc_lock: called 0xb71f86c0 09:01:26.620 [opensc-pkcs11] apdu.c:654:sc_transmit: called 0xb71f86c0 09:01:26.620 [opensc-pkcs11] apdu.c:509:sc_single_transmit: called 0xb71f86c0 09:01:26.620 [opensc-pkcs11] apdu.c:514:sc_single_transmit: CLA:0, INS:B2, P1:1, P2:4, data(0) (nil) 0xb71f86c0 09:01:26.620 [opensc-pkcs11] apdu.c:469:sc_single_sm_transmit: called 0xb71f86c0 09:01:26.620 [opensc-pkcs11] apdu.c:470:sc_single_sm_transmit: SM_MODE:200 0xb71f86c0 09:01:26.620 [opensc-pkcs11] card-epass2003.c:873:epass2003_sm_get_wrapped_apdu: called 0xb71f86c0 09:01:26.620 [opensc-pkcs11] card-epass2003.c:713:epass2003_sm_wrap_apdu: called 0xb71f86c0 09:01:26.620 [opensc-pkcs11] card-epass2003.c:898:epass2003_sm_get_wrapped_apdu: returning with: 0 (Success) 0xb71f86c0 09:01:26.620 [opensc-pkcs11] reader-pcsc.c:249:pcsc_transmit: reader 'Feitian ePass2003 00 00' 0xb71f86c0 09:01:26.620 [opensc-pkcs11] apdu.c:185:sc_apdu_log: Outgoing APDU data [ 23 bytes] ===================================== 0C B2 01 04 00 00 0E 97 02 01 00 8E 08 3E 74 DF .............>t. 2B E0 35 0D 1E 01 00 +.5.... ====================================================================== 0xb71f86c0 09:01:26.620 [opensc-pkcs11] reader-pcsc.c:182:pcsc_internal_transmit: called 0xb71f86c0 09:01:26.644 [opensc-pkcs11] apdu.c:185:sc_apdu_log: Incoming APDU data [ 16 bytes] ===================================== 99 02 6C 1F 8E 08 1D 3E 4C 01 0B AB 80 2A 6C 1F ..l....>L....*l. ====================================================================== 0xb71f86c0 09:01:26.644 [opensc-pkcs11] card-epass2003.c:845:epass2003_sm_free_wrapped_apdu: called 0xb71f86c0 09:01:26.644 [opensc-pkcs11] card-epass2003.c:815:epass2003_sm_unwrap_apdu: called 0xb71f86c0 09:01:26.644 [opensc-pkcs11] iso7816.c:91:iso7816_check_sw: Wrong length; correct length is 31 0xb71f86c0 09:01:26.644 [opensc-pkcs11] card-epass2003.c:833:epass2003_sm_unwrap_apdu: unwrapped APDU: resplen 0, SW 6C1F 0xb71f86c0 09:01:26.644 [opensc-pkcs11] card-epass2003.c:834:epass2003_sm_unwrap_apdu: returning with: 0 (Success) 0xb71f86c0 09:01:26.644 [opensc-pkcs11] card-epass2003.c:861:epass2003_sm_free_wrapped_apdu: returning with: 0 (Success) 0xb71f86c0 09:01:26.644 [opensc-pkcs11] apdu.c:498:sc_single_sm_transmit: returning with: 0 (Success) 0xb71f86c0 09:01:26.644 [opensc-pkcs11] apdu.c:534:sc_set_le_and_transmit: called 0xb71f86c0 09:01:26.644 [opensc-pkcs11] apdu.c:509:sc_single_transmit: called 0xb71f86c0 09:01:26.644 [opensc-pkcs11] apdu.c:514:sc_single_transmit: CLA:C, INS:B2, P1:1, P2:4, data(0) (nil) 0xb71f86c0 09:01:26.644 [opensc-pkcs11] apdu.c:469:sc_single_sm_transmit: called 0xb71f86c0 09:01:26.644 [opensc-pkcs11] apdu.c:470:sc_single_sm_transmit: SM_MODE:200 0xb71f86c0 09:01:26.644 [opensc-pkcs11] card-epass2003.c:873:epass2003_sm_get_wrapped_apdu: called 0xb71f86c0 09:01:26.644 [opensc-pkcs11] card-epass2003.c:713:epass2003_sm_wrap_apdu: called 0xb71f86c0 09:01:26.644 [opensc-pkcs11] card-epass2003.c:898:epass2003_sm... [truncated message content] |
From: Anthony F. <ant...@gm...> - 2013-03-27 23:34:17
|
Ludovic, greetings -- On Wed, Mar 27, 2013 at 3:54 PM, Ludovic Rousseau <lud...@gm...> wrote: > I removed the use of $^ just 10 days ago. See [1] and [2]. > > It does not harm (too much) and allow support of BSD make. I saw those commits, hence my comments in the original submission. My question is, without using $^, how can one support VPATH or some other out-of-source-tree build method? (It might be possible to use autoconf to sub in the right paths. I don't know autoconf & friends well enough to say.) > >> Submitting anyway, in case someone might find it useful later. >> >> These changes build on top of my trivial cross-compile patch, and >> allow me to build pcscd and ccid in the common autoconf manner (i.e., >> out of source tree). > > Why do you need the second patch? Because some of the headers that pcsc-wirecheck-gen.c relies on are created by "configure": in an out-of-source-tree build, this means that pcsc-wirecheck-gen.c lives in the main source tree, but PCSC/pcsclite.h and pcsc.h live in the build directory. That is, I end up with this situation: $ find pcscd-build/src/ pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/ -type f -name '*.[hc]' | sort ### these are generated files, so they live in the "build" directory pcscd-build/src/configfile.c pcscd-build/src/pcscd.h pcscd-build/src/PCSC/pcsclite.h pcscd-build/src/tokenparser.c ### these are the files that ship with the distribution, ### so they live in the "original source" directory: pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/atrhandler.c pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/atrhandler.h ... pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/pcscdaemon.c pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/PCSC/debuglog.h pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/PCSC/ifdhandler.h pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/PCSC/reader.h pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/PCSC/winscard.h pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/PCSC/wintypes.h pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/pcsc-wirecheck-dist.c pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/pcsc-wirecheck-gen.c pcsc-lite-r6574-ajf-g2f8636a/PCSC/src/pcsc-wirecheck-main.c ... > What fails without the patch? The actual "make" invocation is done inside pcscd-build, using VPATH to find the sources in the main distribution tree. For the documentation issue, it fails because the .pod file lives in the source (distribution) tree, not in the build (generated) tree. GNU Make is smart enough to prepend the necessary bits of VPATH to $^ so that the original source .pod file is found correctly. In the case of pcsc-wirecheck-gen, it's a bit crazier: * the actual 'make' process is running in pcscd-build/src * but it's working on a file in the source tree (pcsc-lite-.../PCSC/pcsc-wirecheck-gen.c) * that file includes (directly or indirectly) both distributed and generated headers, both as "local" includes and <system> includes. So I had to add all the various places that the compiler has to look for the headers. The short answer to "what failes without the patch" is that out-of-source-tree builds do not complete without these patches (or something close to them). Correct answer might very well be: "don't do that". Fair enough, but this technique is a very standard way of building packages, especially autoconf packages; the fact that it failed was an unpleasant surprise. (And even if you don't care for the rest of the patch, you include two ".in" files on a list of _SOURCES in there somewhere; that should probably be fixed regardless of the rest of this patch.) Thanks again. Best regards, Anthony Foiani |
From: Anthony F. <ant...@gm...> - 2013-03-27 23:18:54
|
Ludovic, greetings -- On Wed, Mar 27, 2013 at 3:45 PM, Ludovic Rousseau <lud...@gm...> wrote: > The MUSCLE list [1] is a better place to talk about PC/SC and pcsc-lite. Ok. If I have anything else to add, I'll subscribe and submit there. >> My current project had the requirement to only recognize the crypto >> token on a specific USB port. > > Why do you have this requirement? Well, the short answer is: because that's what the customer asked for. Longer answer is that this device also offer USB-over-IP capabilities, on a different USB port; without being able to distinguish between the two, it would be hard to say whether the device is supposed to use the crypto token directly, or if it is supposed to make it available over TCP/IP and not use it itself. Weak, but that's how the thing is designed, and that's what the spec says. > It may be a good idea and I may included it in mainline. But I do not > yet understand why someone would need this. This device was originally specified years ago; if we ever get a chance to do a v2, we hope that we can get rid of some of the cruft. But for now, I'm stuck with the spec as written. Thanks again for your feedback, and everyone's work on the code already. Best regards, Anthony Foiani |
From: Ludovic R. <lud...@gm...> - 2013-03-27 21:54:45
|
2013/3/27 Anthony Foiani <ant...@gm...>: > Greetings. Hello, > Looking through the recent commits, I expect that this will be > rejected for mainline (uses $^ and supports VPATH, both of which are > GNU Make-isms, apparently. Heaven forbid FreeBSD actually join the > 1990s...) I removed the use of $^ just 10 days ago. See [1] and [2]. It does not harm (too much) and allow support of BSD make. > Submitting anyway, in case someone might find it useful later. > > These changes build on top of my trivial cross-compile patch, and > allow me to build pcscd and ccid in the common autoconf manner (i.e., > out of source tree). Why do you need the second patch? What fails without the patch? > Thanks for the excellent base to work from! You are welcome. Bye [1] http://lists.alioth.debian.org/pipermail/pcsclite-cvs-commit/2013-March/006127.html [2] http://lists.alioth.debian.org/pipermail/pcsclite-cvs-commit/2013-March/006125.html -- Dr. Ludovic Rousseau |
From: Ludovic R. <lud...@gm...> - 2013-03-27 21:45:28
|
2013/3/27 Anthony Foiani <ant...@gm...>: > Greetings. Hello, The MUSCLE list [1] is a better place to talk about PC/SC and pcsc-lite. > My current project had the requirement to only recognize the crypto > token on a specific USB port. Why do you have this requirement? What should happen if the crypto token is connected to another USB port? Just nothing? > Again, this is probably not suitable for mainline, but in case anyone > else has the same requirement, they are welcome to it. It may be a good idea and I may included it in mainline. But I do not yet understand why someone would need this. Bye [1] http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com -- Dr. Ludovic Rousseau |
From: Anthony F. <ant...@gm...> - 2013-03-27 18:19:14
|
Greetings. Looking through the recent commits, I expect that this will be rejected for mainline (uses $^ and supports VPATH, both of which are GNU Make-isms, apparently. Heaven forbid FreeBSD actually join the 1990s...) Submitting anyway, in case someone might find it useful later. These changes build on top of my trivial cross-compile patch, and allow me to build pcscd and ccid in the common autoconf manner (i.e., out of source tree). Thanks for the excellent base to work from! Best regards, Anthony Foiani |
From: Anthony F. <ant...@gm...> - 2013-03-27 18:18:09
|
Greetings. My current project had the requirement to only recognize the crypto token on a specific USB port. Here is a method that is working for me, although it is limited to polled libusb -- I suspect that it'd be easier with udev-based systems to just modify the rules instead. Again, this is probably not suitable for mainline, but in case anyone else has the same requirement, they are welcome to it. Best regards, Anthony Foiani |
From: fuzzyhypothesis <fuz...@ya...> - 2013-03-27 17:25:48
|
Andreas, Thank you for the response. It does support PKCS15 so I will have to remember to add that bit in too, thank you. I only need to beable to read from the card, so I plan to ignore the write parts for now. Hopefully I can turn this around and push it up to github in a month. Robert -- View this message in context: http://opensc.1086184.n5.nabble.com/SafeNet-Aladdin-new-eToken-PRO-Java-driver-tp8410p13799.html Sent from the Developer mailing list archive at Nabble.com. |
From: Andreas S. (ML) <and...@ca...> - 2013-03-27 13:32:04
|
Hi Robert, we've recently added a driver for our SmartCard-HSM [1], which happens to be a JavaCard applet. The question is not so much about whether your card is a JavaCard or not, but if your card/applet supports a PKCS#15 structure or requires an emulation layer. PKCS#15 is great on generic file system cards where you use a bunch of files to describe what keys are located where, what they do and how they can be used. The emulation layer makes sense, if the token/card already has the keys in place or implements basic management functions to enumerate files and keys. The questions is also if you want to provide read-only or read/write support. For the former you need just the card-* and pkcs15-* module like in libopensc, for the later you will also need to provide a pkcs15-* module in pkcs15init. Other than that: Just pick an existing driver that is close to your model and start hacking. Andreas [2] https://github.com/OpenSC/OpenSC/wiki/SmartCardHSM Am 27.03.2013 13:27, schrieb fuzzyhypothesis: > All, > > Gee you would think I was posting on the NetSNMP mailing list with all the > responses. > > Anyways, I thought I would post up what most experts here already know, but > might be of help to folks trying to build a driver for a card for the first > time. > > Oh and I have a question. > > I found these nice pages on how to add in a new driver > https://www.opensc-project.org/opensc/wiki/DeveloperInformation/NewCardDriver > https://www.opensc-project.org/opensc/wiki/DeveloperInformation/NewCardDriver/EnterSafeExample > > Which looks like you create a object for the new driver, and add in several > key function definitions. and put in the hooks in the appropriate headers > (ctx.h for example). > > My question is: > It doesn't look like there is any support for Java card applets in opensc. > Is this correct? > > Robert > > > > > -- > View this message in context: http://opensc.1086184.n5.nabble.com/SafeNet-Aladdin-new-eToken-PRO-Java-driver-tp8410p13797.html > Sent from the Developer mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > _______________________________________________ > Opensc-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensc-devel -- --------- CardContact Software & System Consulting |.##> <##.| Andreas Schwier |# #| Schülerweg 38 |# #| 32429 Minden, Germany |'##> <##'| Phone +49 571 56149 --------- http://www.cardcontact.de http://www.tscons.de http://www.openscdp.org |
From: fuzzyhypothesis <fuz...@ya...> - 2013-03-27 12:27:20
|
All, Gee you would think I was posting on the NetSNMP mailing list with all the responses. Anyways, I thought I would post up what most experts here already know, but might be of help to folks trying to build a driver for a card for the first time. Oh and I have a question. I found these nice pages on how to add in a new driver https://www.opensc-project.org/opensc/wiki/DeveloperInformation/NewCardDriver https://www.opensc-project.org/opensc/wiki/DeveloperInformation/NewCardDriver/EnterSafeExample Which looks like you create a object for the new driver, and add in several key function definitions. and put in the hooks in the appropriate headers (ctx.h for example). My question is: It doesn't look like there is any support for Java card applets in opensc. Is this correct? Robert -- View this message in context: http://opensc.1086184.n5.nabble.com/SafeNet-Aladdin-new-eToken-PRO-Java-driver-tp8410p13797.html Sent from the Developer mailing list archive at Nabble.com. |
From: fuzzyhypothesis <fuz...@ya...> - 2013-03-26 16:50:13
|
Hi, I am willing to try and develop the driver for this card. I am usually on the other end of opensc/pkcs11. But I have need to use this card as well. >From the looks of this post http://ludovicrousseau.blogspot.com/2011/11/pcsc-api-spy-third-try.html I just need to fake out the existing driver and it captures APDU commands...after that I am at a bit of a loss as to what to do next. >From the looks of the libopensc source, I need to create a new card-*.c module and fill it in. Any good examples to reference here? Especially in relation to this card? Robert -- View this message in context: http://opensc.1086184.n5.nabble.com/SafeNet-Aladdin-new-eToken-PRO-Java-driver-tp8410p13796.html Sent from the Developer mailing list archive at Nabble.com. |
From: Nguyễn H. Q. <qua...@mb...> - 2013-03-26 09:26:26
|
Hello I'm implementing pkcs15's data object in pkcs15 emulation layer for OpenPGP, to use with TrueCrypt via pkcs11 module (storing TrueCrypt's keyfile). The problem is that at "init" step (sc_pkcs15emu_openpgp_init function), there is no PIN authentication yet, so we can not access OpenPGP's private DOs to expose as pkcs15 data object. 1. So, is there a way to refresh the list of objects in a slot, after user has logged in to that slot? 2. When using TrueCrypt to import a file to token, is there a way to take the filename from TrueCrypt, and use it as label for the data object in the slot? I need it because after import, TrueCrypt use the filename in its own list, and this will not match the data objects inside the token, and cause inconsistency when user plug out and plug in the token. -- Regards, Quân Y!IM: ng_hquan_vn GTalk: ng.hong.quan |
From: Nguyễn H. Q. <qua...@mb...> - 2013-03-25 11:08:50
|
Oh, sorry, I checked wrong struct. The right one should be sc_pkcs15_object_t. On Mon 25 Mar 2013 05:12:37 PM ICT, Nguyễn Hồng Quân wrote: > Hello, > > Here is the struct definition for DATA object: > > struct sc_pkcs15_data_info { > /* FIXME: there is no pkcs15 ID in DataType */ > struct sc_pkcs15_id id; > > /* Identify the application: > * either or both may be set */ > char app_label[SC_PKCS15_MAX_LABEL_SIZE]; > struct sc_object_id app_oid; > > struct sc_path path; > > struct sc_pkcs15_der data; > }; > typedef struct sc_pkcs15_data_info sc_pkcs15_data_info_t; > > There is no member for "auth_id" or slot ID. > > On Sun 10 Mar 2013 07:13:32 PM ICT, Viktor Tarasov wrote: >> Hello, >> >> Private DATA object, by definition, is protected by some AuthentificationObject (PIN). >> The object's 'auth_id' has to reference this authObject. >> >> So, in your emulation layer, when creating PKCS#15 DATA object, >> you have to set it's 'auth_id' to reference PIN2, >> in the same manner as you do it for private key PKCS#15 objects: >> https://github.com/OpenSC/OpenSC/blob/master/src/libopensc/pkcs15-openpgp.c#L283 >> >> >>> I want to move it to slot 2, to be able to use PIN2 to read it. How can >>> I do? >>> >>> (Other objects, KEY and CERT, are listed in slot 2: >>> http://paste.ubuntu.com/5595074/) >> >> Kind regards, >> Viktor. >> >> ------------------------------------------------------------------------------ >> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester >> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the >> endpoint security space. For insight on selecting the right partner to >> tackle endpoint security challenges, access the full report. >> http://p.sf.net/sfu/symantec-dev2dev >> _______________________________________________ >> Opensc-devel mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensc-devel > > -- > Regards, > Quân > > Y!IM: ng_hquan_vn > GTalk: ng.hong.quan -- Regards, Quân Y!IM: ng_hquan_vn GTalk: ng.hong.quan |