On Wed Feb 22 13:51:17 2023 +0000, Hans Leidekker wrote:
Installing libpcsclite probably won't be an issue. There doesn't appear to be a debian package for virt_cacard though and I doubt we want to build it from source. Perhaps we should leave it to developers to install that if needed. Another option would be attach a real smart card to a testbot VM. That way it could be tested on Windows as well.
Partial functionality testing is possible without virt_cacard, by installing the vsmartcard-vpcd package you can get to the reader listing stage. At least tests for SCardListReaders and SCardGetStatusChange will work. \ vsmartcard-vpcd also allows you to "insert" a smartcard over the network, but I haven't used this functionality.