Conversation
a1d84c2 to
1f20c3c
Compare
|
It looks like it does something, but not the right thing. Looks like content of both slot is now the same content so I guess I will have to investigate a bit further if we do something wrong here or if there is some mix up in the vpcd ... |
|
I verified that having two instances of The code changes are looking straight forward. Did you also try to test with |
Yes, the test I added is doing the pkcs11-tool calls, see the bottom of the pipeline output: https://github.com/Jakuje/virt_cacard/actions/runs/14176177074/job/39711520736?pr=2 I will double-check what the vicc does to see if there is something I missed in the communication. |
|
Maybe you should also use |
Yeah, that would be good place to add some bounds. But it wont be the issue. Running the tests locally, it sounds like it will be likely the test issue as I can see some stale data from yesterday in virt_cacard. Will have to figure out what is going on there. |
|
Gotcha! Its the OpenSC file caching as both cards have the same ATR and serial number. I will have to look if I can figure out a way to make it randomized/deterministic or just disable file caching. |
a4ecabe to
7027272
Compare
This adds support for more smart cards by utilizing more ports exposed by vpcd.
Fixes: #1 (on its 4th year anniversary)