Fix libfido in configure (#499)
* fix capitalization of Ctap2 in configure * changes setup to match new libfido2 version
This commit is contained in:
2
setup.sh
2
setup.sh
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user