Le 21 mars 2012 11:27, Szabó Áron <aron.sz...@egroup.hu> a écrit : > Dear Members,
Hello, > I made some queries in Google to find out what limitations are there at > managing huge number of smart cards, USB tokens (and keys) simultaneously at > the level of CSP, or PKCS#11, but just opensc.conf file gave me some > answers. > > > > # Maximum Number of virtual slots. > > # Default: 16 > > # max_virtual_slots = 32; > > > > # Maximum number of slots per smart card. > > # Default: 4 > > # slots_per_card = 2; > > > > # (max_virtual_slots/slots_per_card) limits the number of readers > > # that can be used on the system. Default is then 16/4=4 readers. > > > > I know that drivers of HSMs can manage (address) thousands of keys, but > there were no exact values for regular smart card, USB token drivers. > > > > What is the maximum number (if any exists at this level) of regular smart > cards, USB tokens (and keys) that can be used and managed by OpenSC in the > same environment (USB controller supports up to 127 devices, up to seven > tiers, including the root tier and five non-root hubs)? I can't say about OpenSC. But at the PC/SC level pcsc-lite is limited to 16 readers by default. You can change PCSCLITE_MAX_READERS_CONTEXTS in PCSC/src/pcsclite.h.in for another (greater) value and rebuild pcsc-lite. Or you can propose a patch to use a list instead of a fixed size array to definitely solve the problem :-) Regards, -- Dr. Ludovic Rousseau _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel