idk
This commit is contained in:
parent
594aaa18d6
commit
9891eea5d5
@ -5,7 +5,7 @@
|
||||
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Python 3.11 (CNSA-276-FP)" jdkType="Python SDK" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
@ -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.11 (CNSA-276-FP)" project-jdk-type="Python SDK" />
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 (CNSA-276-FP)" project-jdk-type="Python SDK" />
|
||||
</project>
|
4
tet.py
4
tet.py
@ -6,7 +6,7 @@ from fido2.hid import CtapHidDevice
|
||||
import os
|
||||
|
||||
# Setup the relying party (RP) entity
|
||||
rp = PublicKeyCredentialRpEntity("10.1.1.245", "Example RP")
|
||||
rp = PublicKeyCredentialRpEntity("auth.eggtech.net", "Example RP")
|
||||
|
||||
# Setup the user entity
|
||||
user = PublicKeyCredentialUserEntity(
|
||||
@ -47,7 +47,7 @@ if device is None:
|
||||
raise ValueError("No FIDO device found")
|
||||
|
||||
# Client instance for the device
|
||||
client = Fido2Client(device, "10.1.1.245")
|
||||
client = Fido2Client(device, "auth.eggtech.net")
|
||||
|
||||
# Use the manual options we created for make_credential
|
||||
attestation_object, client_data = client.make_credential(options)
|
||||
|
Loading…
Reference in New Issue
Block a user