From 3b9274e93ed22de63dd13c99418ad872d39ef346 Mon Sep 17 00:00:00 2001 From: kaczmarczyck <43844792+kaczmarczyck@users.noreply.github.com> Date: Tue, 11 Oct 2022 01:36:02 +0200 Subject: [PATCH] updates libfido to version 1 (#558) --- setup.sh | 2 +- tools/configure.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 37a2d69..717604f 100755 --- a/setup.sh +++ b/setup.sh @@ -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" diff --git a/tools/configure.py b/tools/configure.py index e25e05b..3f7434f 100755 --- a/tools/configure.py +++ b/tools/configure.py @@ -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