From d9dac74ec4d905f297cfc375105dc43668836042 Mon Sep 17 00:00:00 2001 From: Eggman20339 Date: Wed, 1 May 2024 19:32:05 -0400 Subject: [PATCH] pulling data seems to work --- .idea/CNSA-276-FP.iml | 2 +- .idea/misc.xml | 2 +- credentailsex.py | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.idea/CNSA-276-FP.iml b/.idea/CNSA-276-FP.iml index 673a12b..edfb3df 100644 --- a/.idea/CNSA-276-FP.iml +++ b/.idea/CNSA-276-FP.iml @@ -5,7 +5,7 @@ - + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 92298c3..073d552 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,5 +3,5 @@ - + \ No newline at end of file diff --git a/credentailsex.py b/credentailsex.py index 0df24c6..faa7921 100644 --- a/credentailsex.py +++ b/credentailsex.py @@ -103,6 +103,14 @@ auth_data = server.register_complete( ) credentials = [auth_data.credential_data] +cred_id = auth_data.credential_data.credential_id +pk_algo = auth_data.credential_data.public_key.ALGORITHM +pk_1 = auth_data.credential_data.public_key.get(1) +pk_3 = auth_data.credential_data.public_key.get(3) +pk__1 = auth_data.credential_data.public_key.get(-1) +pk__2 = auth_data.credential_data.public_key.get(-2) +pk__3 = auth_data.credential_data.public_key.get(-3) + print("New credential created!") print("CLIENT DATA:", result.client_data)