diff --git a/examples/sign.py b/examples/sign.py index 8cc39d4..3ed982a 100644 --- a/examples/sign.py +++ b/examples/sign.py @@ -120,7 +120,7 @@ def request_uv(self, permissions, rd_id): credentials = [auth_data.credential_data] # PRF result: -sign_result = result.extension_results.get("sign") +sign_result = result.extension_results.sign print("CREATE sign result", sign_result) sign_key = sign_result.generated_key if not sign_key: @@ -163,7 +163,7 @@ def request_uv(self, permissions, rd_id): # Only one cred in allowCredentials, only one response. result = result.get_response(0) -sign_result = result.extension_results["sign"] +sign_result = result.extension_results.sign print("GET sign result", sign_result) print("Test verify signature", sign_result.get("signature"))