Re: Performance over RDP

Martin Vogt <[email protected]> Mon, 6 Jul 2026 12:11:11 +0200
Newsgroups gmane.comp.encryption.opensc.devel
Message-ID <CAOE8yMA1GSDQQ=sXQizXN0t96VfOSem0q-CEwnLc6CnR5dziwQ@mail.gmail.com>
--===============4952987154439101344==
Content-Type: multipart/alternative; boundary="0000000000001eccbd0655ee7f13"

--0000000000001eccbd0655ee7f13
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 3, 2026 at 12:20=E2=80=AFPM Martin Vogt <[email protected]> wrot=
e:

> I'm having a performance problem with OpenSC.
> [...]
> For me it looks like OpenSC checks each driver with each slot, and each
> driver
> issues an APDU command which fails.
>

man opensc.conf has the solution:

$ opensc-tool -l
# Detected readers (pcsc)
Nr.  Card  Features  Name
0    No              Alcorlink USB Smart Card Reader 0
1    Yes             Microsoft UICC ISO Reader 699446e9 1
2    Yes             Windows Hello for Business 1

It's possible to add ignored_readers in opensc.conf:

 ignored_readers =3D "Windows Hello for Business","Microsoft UICC ISO Reade=
r"

$ pkcs11-tool -L
Available slots:
Slot 0 (0x0): Alcorlink USB Smart Card Reader 0
  (empty)

=3D=3D> It works.

--0000000000001eccbd0655ee7f13
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><br></div><div class=3D"=
gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jul 3, 2026 at 1=
2:20=E2=80=AFPM Martin Vogt &lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>&gt; wrote:</div><blockquote class=3D"gmail=
_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204=
,204);padding-left:1ex"><div dir=3D"ltr"><div>I&#39;m having a performance =
problem with OpenSC.<br>[...]<br>For me it looks like OpenSC checks each dr=
iver with each slot, and each driver<br>issues an APDU command which fails.=
</div></div></blockquote><div><br></div><div>man opensc.conf has the soluti=
on:</div><div><br></div><div><span style=3D"background-color:transparent">$=
 opensc-tool -l</span></div># Detected readers (pcsc)<br>Nr.=C2=A0 Card =C2=
=A0Features =C2=A0Name<br>0 =C2=A0 =C2=A0No =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0Alcorlink USB Smart Card Reader 0<br>1 =C2=A0 =C2=A0Yes =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Microsoft UICC ISO Reader 699446e=
9 1<br>2 =C2=A0 =C2=A0Yes =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Windows=
 Hello for Business 1<br></div><div class=3D"gmail_quote"><br></div><div cl=
ass=3D"gmail_quote">It&#39;s possible to add ignored_readers in opensc.conf=
:</div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">=C2=
=A0ignored_readers =3D &quot;Windows Hello for Business&quot;,&quot;Microso=
ft UICC ISO Reader&quot;</div><div class=3D"gmail_quote"><br></div><div cla=
ss=3D"gmail_quote"><span style=3D"background-color:transparent">$ pkcs11-to=
ol -L</span></div><div class=3D"gmail_quote">Available slots:<br>Slot 0 (0x=
0): Alcorlink USB Smart Card Reader 0<br>=C2=A0 (empty)<br></div><div class=
=3D"gmail_quote"><br></div><div class=3D"gmail_quote">=3D=3D&gt; It works.<=
/div></div>
</div>

--0000000000001eccbd0655ee7f13--


--===============4952987154439101344==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4952987154439101344==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Opensc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensc-devel

--===============4952987154439101344==--