updates libfido to version 1 (#558)

This commit is contained in:
kaczmarczyck
2022-10-11 01:36:02 +02:00
committed by GitHub
parent a969faaaa0
commit 3b9274e93e
2 changed files with 3 additions and 3 deletions

View File

@@ -51,4 +51,4 @@ rustup install stable
cargo +stable install elf2tab --version 0.6.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

@@ -60,9 +60,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