[Pcsclite-muscle] Reliable reader names

Ludovic Rousseau ludovic.rousseau at gmail.com
Thu Nov 30 06:39:07 PST 2023


Le jeu. 30 nov. 2023 à 14:07, Andreas Schwier
<andreas.schwier at cardcontact.de> a écrit :
>
> Hi Ludovic,

Hello Andreas,

> is there a configuration option, so that pcscd creates reliable reader
> names ?
>
> Now the reader name contains, in addition to the serial number, a
> dynamically (?) generated number pair:
>
> Identiv uTrust 3512 SAM Token [CCID Interface] (55511639601026) 00 00
> Identiv uTrust 3512 SAM Token [CCID Interface] (55511639601420) 01 00
>
> This makes the configuration of reader names difficult, as the last two
> numbers keep changing after reboot.

They are the index and slot numbers.
See https://blog.apdu.fr/posts/2010/05/what-is-in-pcsc-reader-name/

> Maybe a good option would be to suppress the two numbers, if the reader
> reports a serial number.

Yes, it would be technically possible.
But I am not sure it is a good idea.

Maybe you can just ignore them in your code?

Bye

-- 
 Dr. Ludovic Rousseau



More information about the pcsclite-muscle mailing list