[Pcsclite-muscle] Proposal for a Web API for smart cards

Daniel d'Andrada dandrader at google.com
Fri Aug 12 08:42:40 PDT 2022

Hi Ludovic,

Reading my e-mail again I see that it was misleading. It *is* also
targeting Windows (winscard). I just explicitly mentioned the
platforms that use PCSClite given the context of this mailing list.

Right now it's in an API proposal phase, but the intent is to have it
in Chrome[1]. Its prototyping phase hasn't started, thus no code to
look at yet.

Regarding card reader identification, I wasn't aware of the
possibility of getting USB vendor and product ids via
FEATURE_GET_TLV_PROPERTIES. Thanks for pointing that out. Will update
the proposal appropriately. Although that seems to not change the fact
that one still cannot reliably identify a reader with PC/SC given
that, as you said, this depends on the driver supporting/implementing
this and apparently that might not be the case on Windows (will

Like CardContact's Scripting Server, I wasn't aware of SConnect.
Thanks for that link.

[1] https://chromestatus.com/feature/6411735804674048

On Fri, Aug 12, 2022 at 3:26 PM Ludovic Rousseau
<ludovic.rousseau at gmail.com> wrote:
> Le ven. 12 août 2022 à 12:01, Daniel d'Andrada <dandrader at google.com> a écrit :
> > Hi all,
> Hello Daniel,
> > I'm proposing a Web API for smart cards, at PC/SC level. It will give
> > a page access to the PC/SC implementation (and card reader drivers)
> > available in the host OS. Meaning PCSClite on Linux, macOS and
> > ChromeOS.
> >
> > It's hosted here:
> > https://github.com/dandrader/web-smart-card/blob/main/README.md
> > If interested, you can file bugs in that repo to discuss problems you see in it.
> >
> > I would appreciate the opinion of the PC/SC experts and users here.
> I note this API is much easier to use than the previous one for Chrome OS
> https://github.com/GoogleChromeLabs/chromeos_smart_card_connector
> It is possible to identify a PC/SC reader by asking the USB VendorID
> and ProductID.
> See "Identifying a reader model (part 2)"
> https://ludovicrousseau.blogspot.com/2012/04/identifying-reader-model-part-2.html
> It works with my CCID driver so, I think, not with Windows CCID driver.
> You do not target Windows. There is a technical reason?
> Also I do not see any source code. Maybe it is just a API proposal
> with no code available yet?
> I already know SConnect for a similar software. But SConnect is not
> Free Software
> https://www.sconnect.com/faqs/#compatibility
> Regards,
> --
>  Dr. Ludovic Rousseau
> _______________________________________________
> pcsclite-muscle mailing list
> pcsclite-muscle at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/pcsclite-muscle

More information about the pcsclite-muscle mailing list