idk
This commit is contained in:
parent
fcc3a3afbc
commit
2ee000aaa8
4
main.py
4
main.py
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user