little bit o work
This commit is contained in:
parent
708b5167af
commit
94811a651a
@ -2,9 +2,10 @@
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<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)" jdkType="Python SDK" />
|
||||
<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.12 (CNSA-276-FP)" project-jdk-type="Python SDK" />
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (CNSA-276-FP)" project-jdk-type="Python SDK" />
|
||||
</project>
|
@ -18,8 +18,10 @@ server = Fido2Server(rp)
|
||||
user = {"id": b"user_id", "name": "john_doe", "displayName": "John Doe"}
|
||||
challenge = server.register_begin(user)
|
||||
|
||||
print(challenge)
|
||||
|
||||
# Prompt user to perform registration action on the device
|
||||
attestation_object, client_data = client.make_credential(challenge['publicKey'])
|
||||
attestation_object, client_data = client.make_credential()
|
||||
|
||||
# Finalize registration on the server
|
||||
auth_data = server.register_complete(challenge['state'], client_data, attestation_object)
|
||||
|
Loading…
Reference in New Issue
Block a user