From cfb40edc893f23f2c5aac297536ab955faf9a6d9 Mon Sep 17 00:00:00 2001 From: TuxCoder Date: Fri, 13 Jan 2023 16:58:17 +0100 Subject: [PATCH] update fido2 lib --- lenticular_cloud/views/frontend.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lenticular_cloud/views/frontend.py b/lenticular_cloud/views/frontend.py index a428850..8bb16b1 100644 --- a/lenticular_cloud/views/frontend.py +++ b/lenticular_cloud/views/frontend.py @@ -2,8 +2,7 @@ from authlib.integrations.base_client.errors import MissingTokenError, InvalidTokenError from base64 import b64encode, b64decode from fido2 import cbor -from fido2.client import ClientData -from fido2.ctap2 import AttestationObject, AttestedCredentialData, AuthenticatorData +from fido2.webauthn import AttestationObject, AttestedCredentialData, AuthenticatorData from flask import Blueprint, Response, redirect, request from flask import current_app from flask import jsonify, session, flash