Bug 116497 - pcsc-lite-1.2.9-13.src.rpm has outdated components.
Summary: pcsc-lite-1.2.9-13.src.rpm has outdated components.
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Other (show other bugs)
Version: RC 1
Hardware: All All
: P5 - None : Major
Target Milestone: SUSE Linux 10.1
Assignee: Wolfgang Rosenauer
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 14:08 UTC by Stefan Neis
Modified: 2005-09-22 09:19 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
patch for Info.plist (760 bytes, patch)
2005-09-20 10:58 UTC, Stefan Neis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Neis 2005-09-12 14:08:24 UTC
According to "rpm -qilp" your PC/SC-lite package contains outdated packages,
namely pcsc-lite-1.2.9-beta6 and ccid-0.9.2 while currently available versions
are pcsc-lite-1.2.9-beta8 and ccid-0.9.3.
This causes two major problems:
* pcsc-lite-1.2.9-beta6 requires bytes for secure PIN verification via reader's
PINpad to be ordered in a way that is not conforming to the standard, so writing
cross-platform apps (or even ones that work with both the outdated beta6 and
beta7 or newer) is uneccessarily hard - over here we just dropped support for
beta6 instead of writing extra code to support its bugs.
* ccid-0.9.2 doesn't support all the hardware supported by 0.9.3, e.g. it does
not support KOBIL KAAN Base, KOBIL KAAN Advanced and some others (if you look at
my email adress, it's probably obvious why I'm interested in those two
specifically ;-) ).
Comment 1 Olaf Kirch 2005-09-14 13:24:26 UTC
I agree. I didn't get around to update to the latest versions :-/  
  
We will definitely fix this for 10.1. For 10.0 it's too late though. 
Comment 2 Wolfgang Rosenauer 2005-09-17 19:26:02 UTC
I'm working on a newer package right now.
Comment 3 Wolfgang Rosenauer 2005-09-18 12:07:02 UTC
-------------------------------------------------------------------
Sat Sep 17 11:46:52 CEST 2005 - stark@suse.de

- Updated pcsc-lite to version 1.2.9beta8 (#116497)
  * use /etc/reader.conf.d/
  * adapted init script to create /etc/reader.conf
- Updated cyberjack driver to version 2.0.9
  * use rpath for cyberjack tools
- Updated ccid driver to version 0.9.3 (#116497)
- Use RPM_OPT_FLAGS everywhere
- Fixed serious compiler warnings

For testing I've uploaded the new packages for 9.3 and 10.0 to
ftp://ftp.suse.com/pub/people/stark/misc/pcsc-lite/
I would be interested in feedback since I can't test all hardware.
IMHO at the moment is only missing a update path for /etc/reader.conf since
it's simply overwritten now.
Comment 4 Wolfgang Rosenauer 2005-09-19 19:09:37 UTC
Closing this for now. Please reopen or open another bug if something is still
too old.
Comment 5 Stefan Neis 2005-09-20 10:58:10 UTC
Created attachment 50408 [details]
patch for Info.plist
Comment 6 Stefan Neis 2005-09-20 10:59:28 UTC
According to our testing the installation of the ccid driver seems to be
incomplete in the referenced rpms.
On startup, pcscd is looking for
/usr/lib/readers/ifd-ccid.bundle/Contents/Info.plist. Because that file doesn't
exist, USB support is disables. After adding the file (generating it from ccid
source), it goes looking for
/usr/lib/readers/ifd-ccid.bundle/Contents/libccid.so.0.9.3. After moving
/usr/lib/readers/libccid.so to that new location & name, it's working OK.

BTW, there's an error in the Info.plist included with ccid-0.9.3 sources,
attached is a patch for this generated file.
Comment 7 Stefan Neis 2005-09-20 11:02:48 UTC
Sorry, a typo in my last comment, that should have been:
" ... goes looking for
/usr/lib/readers/ifd-ccid.bundle/Contents/Linux/libccid.so.0.9.3."
(Note the additional "Linux" in the path). 
Comment 8 Wolfgang Rosenauer 2005-09-20 12:19:48 UTC
Thanks for your patch. We have to modify
ccid-0.9.3/readers/supported_readers.txt instead of Info.plist.
Builds with your feedback adressed can be found soon at the same place.
Comment 9 Wolfgang Rosenauer 2005-09-22 09:19:14 UTC
fixed for CCID in STABLE