sync
This commit is contained in:
parent
dd60c4c2e2
commit
41a2ec0e4d
@ -5,7 +5,7 @@
|
||||
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Python 3.12 (CNSA-276-FP)" jdkType="Python SDK" />
|
||||
<orderEntry type="jdk" jdkName="Python 3.11 (CNSA-276-FP) (2)" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||
<data-source source="LOCAL" name="postgres@postgres.eggtech.net" uuid="75581ce6-3e75-4c9c-8544-e6c26149df60">
|
||||
<data-source source="LOCAL" name="postgres@postgres.eggtech.net" uuid="6f5d4d62-2b6a-42c3-96e4-608e7bcea06f">
|
||||
<driver-ref>postgresql</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
|
||||
|
@ -3,5 +3,5 @@
|
||||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.12 (CNSA-276-FP)" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 (CNSA-276-FP)" project-jdk-type="Python SDK" />
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (CNSA-276-FP) (2)" project-jdk-type="Python SDK" />
|
||||
</project>
|
4
main.py
4
main.py
@ -61,6 +61,7 @@ def badCred():
|
||||
print("Bad credential!")
|
||||
time.sleep(3)
|
||||
while True:
|
||||
print("Waiting for device...")
|
||||
while True:
|
||||
dev = next(CtapHidDevice.list_devices(), None)
|
||||
|
||||
@ -72,7 +73,6 @@ while True:
|
||||
print(str(gotAaguid))
|
||||
break
|
||||
|
||||
print("Waiting for device...")
|
||||
time.sleep(0.1)
|
||||
|
||||
# Handle user interaction
|
||||
@ -186,4 +186,4 @@ while True:
|
||||
print("AUTH DATA:", result.authenticator_data)
|
||||
time.sleep(5)
|
||||
except Exception as e:
|
||||
pass
|
||||
print("Authentication Failed!")
|
Loading…
Reference in New Issue
Block a user