Closed polhenarejos closed 1 year ago
I cannot run it in Mac since it complains about permissions.
Anyway, I think the best approach is to port these tests to pyscard
, which implements all ccid stack, and interface only with apdu.
It runs smoothly without problems.
Most likely. I reverse-engineered the not so well documented dependencies for the Gnuk test repository and initiated the contained tests. They should just use APDUs according to the OpenPGP spec. But I could not get so far.
The
conftest.py
fixture prepares the environment for each test and it failed somewhere aroundget_ccid_device()
.I deleted the VM where I tested but it was related to
card_reader.py
andusb.core
. The iterator was empty.I think it is not just the VID:PID (if I remember correclty, I even tested a few) but some USB/CCID quirks are done for specific card reader models.
Originally posted by @rrottmann in https://github.com/polhenarejos/pico-hsm/issues/16#issuecomment-1410993894