Open oberstet opened 3 years ago
the reader itself seems to work at least "somewhat" - is there any tweaking/config I could try to make it work?
(cpy392_1) oberstet@intel-nuci7:~/scm/crossbario/crossbar-binaries/app/src$ python crossbarstarter/_smartcard.py
['ACS ACR122U 00 00']
<blocksec2go.comm.pyscard.PySCardReader object at 0x7f255f8f5ca0>
(cpy392_1) oberstet@intel-nuci7:~/scm/crossbario/crossbar-binaries/app/src$ cat crossbarstarter/_smartcard.py
import smartcard.System
from blocksec2go import open_pyscard, CardError
from blocksec2go import select_app
readers = smartcard.System.readers()
print(readers)
reader = open_pyscard(readers[0])
print(reader)
# traceback "IndexError: list index out of range" in
# site-packages/smartcard/pcsc/PCSCCardConnection.py", line 205, in doTransmit
#
# (pin_active, card_id, version) = select_app(reader)
# print(pin_active, card_id, version)
With the ACS / ACR122U reader (still waiting for a uTrust 4701 F), and the following on a fresh CPython 3.9 venv on Ubuntu 20.04.2 LTS
I'm running into the following: