Fix libfido in configure (#499)

* fix capitalization of Ctap2 in configure

* changes setup to match new libfido2 version
This commit is contained in:
kaczmarczyck
2022-06-13 13:46:15 +02:00
committed by GitHub
parent 95aa02f932
commit 92e1d51442
2 changed files with 3 additions and 3 deletions

View File

@@ -46,4 +46,4 @@ rustup install stable
cargo +stable install elf2tab --version 0.7.0 --root elf2tab/
# Install python dependencies to factory configure OpenSK (crypto, JTAG lockdown)
pip3 install --user --upgrade colorama tqdm cryptography "fido2>=0.9.1"
pip3 install --user --upgrade colorama tqdm cryptography "fido2>=1.0.0"

View File

@@ -61,9 +61,9 @@ def get_opensk_devices(batch_mode):
if (dev.descriptor.vid, dev.descriptor.pid) == OPENSK_VID_PID:
if dev.capabilities & hid.CAPABILITY.CBOR:
if batch_mode:
devices.append(ctap2.CTAP2(dev))
devices.append(ctap2.Ctap2(dev))
else:
return [ctap2.CTAP2(dev)]
return [ctap2.Ctap2(dev)]
return devices