-
Notifications
You must be signed in to change notification settings - Fork 204
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
docs: vicc vs vpicc vs vpcd #273
Comments
If your smart card has a chip, it likely has an embedded OS, which allows only one client to connect at a time. There's a tunnel that continuously listens for the handshake protocol. Even various smart card distributors don't support multiple connections because of this |
if i understand correctly, no physical smart card is involved and you startet the programs in the following order on one and the same machine:
vpcd is the virutal driver and litens on port 35963 for an incoming connection (seems to work). vicc should now connect to that port (does not work). |
I do not have a lot of advices other than what you already seem to know. the command vicc cannot connect to the local socket 35963, which could be blocked by some firewall rule. There are a number of linux command to check for open ports, also a number of tools to actually connect to one of them. try those and check if you run into any problems. |
running freshly compiled vicc results in
pcscd is enabled and its socket listening:
also i think vpcd is loaded (as provided by pcscd log:
But i don't know how to debug as I cannot understand what vpcd exactly is from the docs..
Steps to reproduce
I used the nix package manager two make it reproducible, therefor it suffices to have a fresh install of pcscd running and then running
nix run github:hannesgith/vsmartcard
The text was updated successfully, but these errors were encountered: