|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
Re: new (beta) version of pcsc-lite 1.5.6-svn-4527Hello,
I updated the online version to svn-4527 with an important bug correction. But since I got no feedback from my previous announce I guess no one ever tried to build or use these beta versions. Bad news :-( You should rebort bugs _now_. Bye 2009/10/21 Ludovic Rousseau <ludovic.rousseau@...>: > Hello, > > I worked on the internals of pcsc-lite. I changed the way libpcsclite > and pcscd are communicating: > - no more use of a shared memory segment > - no more distinction between short and extended APDU > - and some other improvements > > I would like to have beta testers of this version. I only tested it on > GNU/Linux (and recompiled it on Mac OS X). I would like to have > reports from Solaris and *BSD users in particular. > > The source code is available at [1]. > > Thanks > > [1] http://ludovic.rousseau.free.fr/softwares/pcsc-lite/ -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
Re: Re: new (beta) version of pcsc-lite 1.5.6-svn-4527Hi,
I tested it on CentOS wondering if it could increase the speed of reading mifare on Omnikey5321 (though i do not know why it is slow). I did not find any bugs. (no increase in speed as well :-)) Regards Raghu
On Fri, Oct 30, 2009 at 2:34 PM, Ludovic Rousseau <ludovic.rousseau@...> wrote: Hello, _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
|
|
|
Re: Re: new (beta) version of pcsc-lite 1.5.6-svn-4527Ludovic Rousseau wrote: > Hello, > > I updated the online version to svn-4527 with an important bug correction. > But since I got no feedback from my previous announce I guess no one > ever tried to build or use these beta versions. Bad news :-( > > You should report bugs _now_. On Solaris 10, AF_LOCAL is not defined, but AF_UNIX is. See attached patch. With the above it runs using the Solaris /usr/sfw/bin/gcc and the /usr/sfw/lib/libusb: PC/SC lite has been configured with following options: Version: 1.5.5 System binaries: /opt/smartcard/sbin Configuration files: /opt/smartcard/etc Host: sparc-sun-solaris2.10 Compiler: gcc Preprocessor flags: -I${top_srcdir}/src -DDEBUG -I/include -D_TS_ERRNO -I/usr/local/include Compiler flags: -Wall -fno-common -g Preprocessor flags: -I${top_srcdir}/src -DDEBUG -I/include -D_TS_ERRNO -I/usr/local/include Linker flags: -g -R/opt/smartcard/lib,/usr/sfw/lib -L/lib -L/usr/local/lib -R/usr/local/lib Libraries: -lsocket PTHREAD_CFLAGS: -D_REENTRANT -pthreads PTHREAD_LIBS: PCSC_ARCH: Solaris libhal support: no libusb support: yes USB drop directory: /opt/smartcard/pcsc/drivers ATR parsing messages: false confdir: /etc ipcdir: /var/run/pcscd > > Bye > > 2009/10/21 Ludovic Rousseau <ludovic.rousseau@...>: >> Hello, >> >> I worked on the internals of pcsc-lite. I changed the way libpcsclite >> and pcscd are communicating: >> - no more use of a shared memory segment >> - no more distinction between short and extended APDU >> - and some other improvements >> >> I would like to have beta testers of this version. I only tested it on >> GNU/Linux (and recompiled it on Mac OS X). I would like to have >> reports from Solaris and *BSD users in particular. >> >> The source code is available at [1]. >> >> Thanks >> >> [1] http://ludovic.rousseau.free.fr/softwares/pcsc-lite/ > Douglas E. Engert <DEEngert@...> Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444 Index: src/winscard_msg.c =================================================================== --- src/winscard_msg.c (revision 4529) +++ src/winscard_msg.c (working copy) @@ -62,6 +62,9 @@ int one; int ret; +#ifndef AF_LOCAL +#define AF_LOCAL AF_UNIX +#endif ret = socket(AF_LOCAL, SOCK_STREAM, 0); if (ret < 0) { Index: src/winscard_msg_srv.c =================================================================== --- src/winscard_msg_srv.c (revision 4529) +++ src/winscard_msg_srv.c (working copy) @@ -102,6 +102,10 @@ /* * Create the common shared connection socket */ +#ifndef AF_LOCAL +#define AF_LOCAL AF_UNIX +#endif + if ((commonSocket = socket(AF_LOCAL, SOCK_STREAM, 0)) < 0) { Log2(PCSC_LOG_CRITICAL, "Unable to create common socket: %s", _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
Re: Re: new (beta) version of pcsc-lite 1.5.6-svn-4527Hi,
I will add that AF_* are constants for address families in struct sockaddr datastructures. The socket() call need PF_* protocol families constants. If PF_UNIX is defined on all supported platform, this is what I would recommend to use instead of redefining AF_LOCAL. Any idea I'm missing? Sebastien Lorquet On Wed, Nov 4, 2009 at 10:56 PM, Douglas E. Engert <deengert@...> wrote:
_______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
Re: Re: new (beta) version of pcsc-lite 1.5.6-svn-45272009/11/4 Douglas E. Engert <deengert@...>:
> Ludovic Rousseau wrote: >> >> Hello, >> >> I updated the online version to svn-4527 with an important bug correction. >> But since I got no feedback from my previous announce I guess no one >> ever tried to build or use these beta versions. Bad news :-( >> >> You should report bugs _now_. > > On Solaris 10, AF_LOCAL is not defined, but AF_UNIX is. > See attached patch. Thanks. Fixed in revision 4530. AF_LOCAL is the Posix name for AF_UNIX. This is exactly the kind of problem I was expecting. Thanks for your help. Have you also tried to use the new pcsc-lite or just to compile it? Bye -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
Re: Re: new (beta) version of pcsc-lite 1.5.6-svn-45272009/11/5 Sébastien Lorquet <squalyl@...>:
> Hi, > > I will add that AF_* are constants for address families in struct sockaddr > datastructures. > > The socket() call need PF_* protocol families constants. > > If PF_UNIX is defined on all supported platform, this is what I would > recommend to use instead of redefining AF_LOCAL. > Any idea I'm missing? You may be right. My French manpage for socket(2) refers to AF_* but the English manpage for socket(2) refers to PF_* I guess the English manpage is more up to date. I guess Solaris does not define PF_LOCAL either and PF_UNIX should be used instead. I fixed that in revision 4531. Thanks -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
Re: Re: new (beta) version of pcsc-lite 1.5.6-svn-4527Ah... en effet. Funny :-)
According to this: http://bytes.com/topic/c/answers/726093-af_inet-pf_inet-difference-socket-programming we should have look a *BSD* man pages. We just have chance that no protocol defines 2 address types :) Sebastien On Thu, Nov 5, 2009 at 9:07 AM, Ludovic Rousseau <ludovic.rousseau@...> wrote: 2009/11/5 Sébastien Lorquet <squalyl@...>: _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
Re: Re: new (beta) version of pcsc-lite 1.5.6-svn-4527Ludovic Rousseau wrote: > 2009/11/4 Douglas E. Engert <deengert@...>: >> Ludovic Rousseau wrote: >>> Hello, >>> >>> I updated the online version to svn-4527 with an important bug correction. >>> But since I got no feedback from my previous announce I guess no one >>> ever tried to build or use these beta versions. Bad news :-( >>> >>> You should report bugs _now_. >> On Solaris 10, AF_LOCAL is not defined, but AF_UNIX is. >> See attached patch. > > Thanks. Fixed in revision 4530. > AF_LOCAL is the Posix name for AF_UNIX. > > This is exactly the kind of problem I was expecting. Thanks for your help. > > Have you also tried to use the new pcsc-lite or just to compile it? I ran it using GemPC Twin reader with OpenSC svn-3783 from pam_krb5 with MIT krb5-1.7 using PKINIT to AD with a PIV smartcard. It worked! > > Bye > -- Douglas E. Engert <DEEngert@...> Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444 _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
Re: Re: new (beta) version of pcsc-lite 1.5.6-svn-4527Ludovic Rousseau wrote: > 2009/11/5 Sébastien Lorquet <squalyl@...>: >> Hi, >> >> I will add that AF_* are constants for address families in struct sockaddr >> datastructures. >> >> The socket() call need PF_* protocol families constants. >> >> If PF_UNIX is defined on all supported platform, this is what I would >> recommend to use instead of redefining AF_LOCAL. >> Any idea I'm missing? > > You may be right. My French manpage for socket(2) refers to AF_* but > the English manpage for socket(2) refers to PF_* > I guess the English manpage is more up to date. > > I guess Solaris does not define PF_LOCAL either and PF_UNIX should be > used instead. Solaris 10 sys/socket.g has: #define PF_UNIX AF_UNIX and does not have PF_LOCAL > > I fixed that in revision 4531. > Thanks > -- Douglas E. Engert <DEEngert@...> Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444 _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
Re: Re: new (beta) version of pcsc-lite 1.5.6-svn-45272009/11/5 Douglas E. Engert <deengert@...>:
> I ran it using GemPC Twin reader with OpenSC svn-3783 from pam_krb5 with > MIT krb5-1.7 using PKINIT to AD with a PIV smartcard. > > It worked! Thanks for the report. This new pcsc-lite works on at least two different computers. Great! :-) -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
|
|
Re: Re: new (beta) version of pcsc-lite 1.5.6-svn-4527Okay my turn. I'm on CentOS 5.3 i686
Using the versions svn-4527, with libusb (don't know how to use HAL efficiently) Compile / install pcsclite: perfect Compile / install ccid: perfect Plug one Teo By Xiring: detected Plug one other: detected Plug 4 SDI SCR-3310: detected Plug a hub with 7 other teo by xiring: all recognized at once Plug a gemalto transparent usb stick (gemplus gemPC key) with a sim sized javacard: detected I'm OK for readers. Stress test: - 9 cards - Our daemon with one thread per card - One client with 5000 threads connected to our own daemon, running transactions with our daemon, balancing load on the 9 cards: Worked like a charm. So for me this beta is ok. Regards, Sebastien _______________________________________________ Muscle mailing list Muscle@... http://lists.drizzle.com/mailman/listinfo/muscle |
| Free embeddable forum powered by Nabble | Forum Help |