Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCSC-relay on Mac #278

Open
prsinghgit opened this issue May 23, 2024 · 3 comments
Open

PCSC-relay on Mac #278

prsinghgit opened this issue May 23, 2024 · 3 comments

Comments

@prsinghgit
Copy link

I was reviewing the documentation for pcsc-relay and considering initiating vpcd through a launch daemon using the command pcsc-relay --emulator vpcd.
This setup would allow VPCD to manage the ports, enabling smartphones to connect and transmit APDU commands over the port.
My goal is to remove the necessity of using USB on Mac to activate the smart card driver.

@frankmorgner
Copy link
Owner

If you install vpcd on your mac (and trigger system integration with a USB device), then vpcd is integrated into the macOS infrastructure for security tokens (i.e. PC/SC, CTK, possibly Keychain, ...). If you do the same via pcsc-relay, it will not be integrated into the system, but it will only connect the two ends that you are specifying (i.e. connector and emulator).

What exactly are you trying to do?

@prsinghgit
Copy link
Author

Thank yo so much for reply, SO I am able to build PCSC relay on Mac device, but it is not getting any smart card reader(As you already mentioned in answer), How can it be integrated to the Mac system without using USB?

SO here is my requirement - I want to use mobile as smart card without attaching any USB to mac device

@frankmorgner
Copy link
Owner

That will not work with pcsc-relay. You need to install vpcd on your mac:

contactless card <--> remote reader app (mobile) <--> vpcd (macOS) <--> macOS App (e.g. Keychain, Chrome, Outlook)

on the mac, you need some USB device to start vpcd, e.g. a USB key board, as described here
http://frankmorgner.github.io/vsmartcard/virtualsmartcard/README.html#building-and-installing-vpcd-on-mac-os-x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants