[Pcsclite-muscle] No more limited to 16 readers

Ubi-GT50 umberto.rustichelli at gt50.org
Tue May 19 02:22:33 PDT 2026


Hi Ludovic,

I cannot presently perform any test, but if it's useful for you I've 
been using the SW with 98 readers actually connected for a few years, 
performing key-pair generations, RSA signatures, writing of X509 
certificates with a couple of types of smart cards and closed source 
PKCS#11 modules.

For what I remember, this was the only required  edit (to 
ccid-1.4.19/src/ccid_ifdhandler.h, it's old stuff I know):

#define CCID_DRIVER_MAX_READERS 100

(instead of 16); I cannot say if I changed any other file.

The new limit was sufficient for me, and (again, for what I can 
remember) functions like parse_slot_id_string in 
engine_pkcs11-0.1.8/src/engine_pkcs11.c expected two characters for the 
slot number, that was to be edited if I wanted to go beyond index 99.

On 5/17/26 14:43, Ludovic Rousseau wrote:
> Hello,
> 
> I worked on pcsc-lite and the CCID driver code to remove the limit to
> 16 smart card readers.
> The code works for me but I have not tested every possible use cases.
> I need *you* to test it and report any problem.
> You tests are valuable even if you have only 1 or 2 readers. Not so
> many people are using a lot of readers.
> 
> The limit is now 255 readers. And each reader can have up to 256
> slots. So a maximum of 65280 smart cards. I think that is enough (for
> now).
> 
> I tried to keep the compatibility with previous versions of the
> pcsc-lite internal protocol (4:4 and 4:5). So mixing old and new
> daemon and lib should work.
> See https://blog.apdu.fr/posts/2026/01/pcsc-lite-backward-forward-compatible-with-itself/
> 
> Get the development source code from:
> https://pcsclite.apdu.fr/files/devel/pcsc-lite-2.4.1.tar.xz
> http://pcsclite.apdu.fr/files/devel/ccid-1.7.1.tar.xz
> 
> The code is also available with git from:
> https://github.com/LudovicRousseau/PCSC-devel/tree/list
> https://github.com/LudovicRousseau/CCID-devel/tree/list
> 
> Thanks for your help!
> Bye
> 

-- 
INFORMATIVA In conformità al Reg.UE 2016/679, ai sensi dell'art. 13, Vi 
informiamo che il Titolare dei dati è GT50 SRL, via Giovanni Antonelli 
50 00197 Roma, p.iva/cf 10707081005.
Tutte le informazioni contenute in questo messaggio di posta elettronica 
ed i file ad esso allegati sono riservati e possono essere utilizzati 
esclusivamente dal destinatario specificato.
L'accesso all'e-mail e l'eventuale uso del suo contenuto da parte di un 
qualsiasi soggetto a ciò non autorizzato sono severamente proibiti. Nel 
caso in cui si riceva il messaggio per errore si prega di segnalarlo ed 
è assolutamente vietato usarlo, copiarlo o comunque divulgarlo mediante 
comunicazione e/o diffusione e si deve provvedere sia alla sua 
cancellazione sia alla distruzione di tutte le copie esistenti.




More information about the pcsclite-muscle mailing list