frankmorgner/vsmartcard

vicc emulates an Unsupported card

Closed this issue · 1 comments

I need to emulate a smart card and be able to write certain files to it such as X509 certificates and private keys, the emulated card will then be used to test the OS logon procedure.
I did my experiments in Ubuntu 22.04 and Windows 2022 Server. In the 1st case I built the Virtualsmartcard project (although pcscd was installed via apt), in the 2nd I used the downloaded binaries.
After running vicc either without arguments or with -t iso7816 the emulated smart card successfully appears in the virtual smart card reader. In Windows I can see it in the device manager but it is displayed as an unknown smart card. When I do a similar test in Ubuntu opensc-tool shows the emulated card as "Unsupported card". I can connect to it with opensc-explorer, create directories there but an attempt to transfer any file to the card causes vicc to crash.

I suppose I need to do some extra steps in order to use vicc correctly so that it emulates an ISO7816 compatible smart card to be recognized as such but I have found no clue in the documentation. Should I edit the default /etc/reader.conf.d/vpcd file? Should I provide any extra arguments to vicc? Any suggestion would be greatly appreciated!

duplicate of #133, please see #133 (comment)