A couple of things. One, you might want to use the setenv function that I
provided in the executable source to set the PCSC_CONFIG var. Secondly, the
cards must be presented by the executable until I finish the RPC. Basically,
you should see a piece of code in the executable source that is called
Introduce Card. You will need to change the ATR that is provided in that above
until RPC is finished and then it will be automatically read from the
card.conf. Be sure the create the correct library paths in reader.conf and
that the reader code is built properly. Please send me your reader.conf to my
personal email address: [EMAIL PROTECTED] so I can verify that it is
correct. That should fix it up mostly. I'll try this next week when I set up
autoconf and release the Linux/Solaris version to have the make install just
put the reader.conf in the /etc directory to make things easier. I'm going to
try to have a quick install script that will automate the entire process soon.
BTW - The Solaris support is almost ready. I have tried it with all the test
applications - the only bug left is in disconnecting the shared libraries. I
should have it out by the end of the week.
Thanks
Dave
On Fri, 22 Jan 1999, you wrote:
>Hello,
>
>I installed your PC/SC (pcsc-src-0.0.4a) on my RedHat-5.2 Linux box.
>Thanks for your hard work! :)
>
>> Simple Create File for the ICCSP for Cryptoflex/Multiflex.
>>
>> Remember: You will have to add the correct ATR of the card you are
>> planning on using in order for any of the applications to work.
>
>So I am trying to use PC/SC with Multiflex 8K card, but it does not
>recognize the card. I think I put the correct ATR in card.conf file,
>but PC/SC says the ATR does not match.
>
>This is what 'test' says:
>
>------------------------------------------------------------------------
>snoopy :) ./test
>../src/iccsp/common/SCard.c:143 Matching Card NOT Found
>SSCardComm.c : 96 Loading device:
>SCardComm.c : 97 Port Requested: 4000a3c8 SCardComm.c : 98
> Library Path:,AT(By
>SCardComm.c : 105 Dlopen Handle: 0
>SCardComm.c : 108 Dlerror reports: ,AT(By: cannot open shared object
>file: No such file or directory
>A Matching ATR Card was not Found
>
>Be sure to place a correct ATR in the above definition
>------------------------------------------------------------------------
>
>This is the ATR of the card: 3b 32 15 0 6 80
>
>And this is my card.conf file:
>------------------------------------------------------------------------
># Schlumberger Cryptoflex 4K
>CARDNAME SLB_CRYPTO_4K
>ATR 3B3215000680
>#ATR 3BE200004903
>LIBPATH
>/usr/local/src/pcsc-src-0.0.4a/src/iccsp/slb_crypto4k/libslb_crypto4k.so
>------------------------------------------------------------------------
>
>This is my PCSC_CONFIG
>snoopy :) env | grep PCSC
>PCSC_CONFIG=/usr/local/src/pcsc-src-0.0.4a/etc/reader.conf
>
>
>So what am I doing wrong? PC/SC might not be looking at the card.conf
>file? Any advice would be appreciated.
>
>Thanks!
>
>
>--
>Concentration .. Naomaru Itoi
>***************************************************************
>Linux Smart Card Developers - M.U.S.C.L.E.
>(Movement for the Use of Smart Cards in a Linux Environment)
>http://www.linuxnet.com/smartcard/index.html
>***************************************************************
--
******************************************************************
David Corcoran Internet Security/Smartcards
Work: School:
205 Industrial Blvd 2252 US Highway 52 West Apt C4
Sugar Land, TX 77478 West Lafayette, IN 47906
Quotes:
If it's a hobby for us and a job for you, then why are you doing
such a shoddy job (Microsoft) ? ~ Linus Torvalds
If you can't make it work, at least make it look good.
~ Bill Gates
******************************************************************
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************