Skip to content

Commit

Permalink
Secure key stopped working with the latest fido2 package
Browse files Browse the repository at this point in the history
  • Loading branch information
sk-keeper authored and aaunario-keeper committed Dec 21, 2024
1 parent 144b72e commit d279186
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keepercommander/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
# Contact: [email protected]
#

__version__ = '16.11.21'
__version__ = '16.11.22'
3 changes: 2 additions & 1 deletion keepercommander/auth/console_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def on_two_factor(self, step):

if response:
credential_id = response.credential_id
extensions = dict(response.extension_results) if response.extension_results else {}
signature = {
"id": utils.base64_url_encode(credential_id),
"rawId": utils.base64_url_encode(credential_id),
Expand All @@ -144,7 +145,7 @@ def on_two_factor(self, step):
"signature": utils.base64_url_encode(response.signature),
},
"type": "public-key",
"clientExtensionResults": response.extension_results or {}
"clientExtensionResults": extensions
}
step.duration = login_steps.TwoFactorDuration.EveryLogin
step.send_code(channel.channel_uid, json.dumps(signature))
Expand Down

0 comments on commit d279186

Please sign in to comment.