Open HannesGitH opened 2 months ago
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