This commit is contained in:
Eggman20339 2024-05-02 22:11:59 -04:00
parent fcc3a3afbc
commit 2ee000aaa8

View File

@ -34,7 +34,7 @@ On Windows, the native WebAuthn API will be used.
import time import time
import pickle import pickle
import psycopg2
import fido2.webauthn import fido2.webauthn
from fido2.hid import CtapHidDevice from fido2.hid import CtapHidDevice
from fido2.client import Fido2Client, WindowsClient, UserInteraction from fido2.client import Fido2Client, WindowsClient, UserInteraction
@ -84,7 +84,7 @@ while True:
# Set up a FIDO 2 client using the origin https://example.com # Set up a FIDO 2 client using the origin https://example.com
client = Fido2Client(dev, "https://example.com", user_interaction=CliInteraction()) client = Fido2Client(dev, "https://example.com", user_interaction=CliInteraction())
import psycopg2
# Replace these variables with your connection parameters # Replace these variables with your connection parameters
dbname = "CNSA-276-FP-DAS" dbname = "CNSA-276-FP-DAS"