Page 1 of 1

Make Chrome browser access smart card reader

Posted: Thu Dec 29, 2016 10:56 pm
by Tarantino
I would like to implement that my Chrome browser can recognize and access the smart card reader(USB device). But now I can not see it via usb.getDevices. Have anyone done this before? Many thanks.

Re: Make Chrome browser access smart card reader

Posted: Fri Dec 30, 2016 4:57 am
by marjkbadboy
Use an alternate USB driver, then have a try.
e.g.
- WinUSB
- libusb-win32
- libusbK

You can check Zadig installer for these.

Re: Make Chrome browser access smart card reader

Posted: Fri Dec 30, 2016 5:50 am
by Thelogan
Usually, the device can not be recognized by Chrome App when the native driver from HID Global is used.

Re: Make Chrome browser access smart card reader

Posted: Fri Dec 30, 2016 5:57 am
by Tarantino
marjkbadboy wrote:Use an alternate USB driver, then have a try.
e.g.
- WinUSB
- libusb-win32
- libusbK

You can check Zadig installer for these.

Thanks for your answer. Now it can be recognized by chrome.usb API. Thanks again. Happy new year, my friend.

Re: Make Chrome browser access smart card reader

Posted: Tue Jan 10, 2017 10:23 pm
by tieuhaoluong
I want to connect smart card reader with chrome extension too. Can you help me?
Thanks!

Re: Make Chrome browser access smart card reader

Posted: Wed Jan 11, 2017 5:27 am
by Thelogan
tieuhaoluong wrote:I want to connect smart card reader with chrome extension too. Can you help me?
Thanks!


I am still researching this technical,not completed yet. But If you have any problem now,you can post it here, perhaps I can help you.

Re: Make Chrome browser access smart card reader

Posted: Thu Jan 12, 2017 9:25 pm
by tieuhaoluong
I'm using FIDO U2F Extension and modify it. So I can use it to send NativeMessage to an application written by C#. How do you think about this way?
Thank you!

Re: Make Chrome browser access smart card reader

Posted: Thu Jan 12, 2017 9:57 pm
by UNKNwYSHSA
tieuhaoluong wrote:I'm using FIDO U2F Extension and modify it. So I can use it to send NativeMessage to an application written by C#. How do you think about this way?
Thank you!


Yes, that is feasible.
You can implement your C# application as server, and the extension as one client, communicate with socket;
And the chrome have apis for socket, here is the document: https://developer.chrome.com/apps/socket

Re: Make Chrome browser access smart card reader

Posted: Mon Jan 16, 2017 2:50 am
by JavaCardOS
tieuhaoluong wrote:I'm using FIDO U2F Extension and modify it. So I can use it to send NativeMessage to an application written by C#. How do you think about this way?
Thank you!


You can refer to this CCID Device Chrome Demo Extension viewtopic.php?f=25&p=3149.