By default support just a single reader subsystem (on Linux)
|Reported by:||martin||Owned by:||martin|
This only affects Linux, as Windows does not support OpenCT and 99% of CT-API drivers are actually wrappers above PC/SC and Mac OS X does not support OpenCT and I don't know of any CT-API drivers for OS X either.
OpenSC should by default be compiled with just a single reader subsystem and different versions of libopensc should be provided by distro packagers:
- libopensc-pcsc (or just plain libopensc) - the default
- libopensc (or libopensc-combo, a backwards-compatible sinkhole with all reader subsystems enabled)
Basically, having compile-time support for different subsystems is a nice to have feature, but for run-time only a single subsystem should be enabled.
Also, package maintainers should make sure that just a single daemon exists that tries to access smart card readers.
For 0.12 I would suggest a way to have the backwards-compatible combo package as well available, but eventually this should be moved away from, better sooner than later.
It is not realistic to implement a functioning C_WaitForSlotEvent across all subsystems otherwise. Both Tokend and MiniDriver use PC/SC (in a little bit special way)
comment:23 follow-up: ↓ 24 Changed 4 years ago by martin
- Status changed from new to assigned
- Owner changed from opensc-devel@… to martin