From 2ee5b0aa15c6159f45e2ca8edb4705bcace2e40f Mon Sep 17 00:00:00 2001 From: Andrew Kozlik Date: Wed, 22 Feb 2023 23:53:38 +0100 Subject: [PATCH] fix(core): Fix FIDO2 falling back to U2F. [no changelog] --- core/src/apps/webauthn/fido2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/apps/webauthn/fido2.py b/core/src/apps/webauthn/fido2.py index 3c0f015f2..b0686857c 100644 --- a/core/src/apps/webauthn/fido2.py +++ b/core/src/apps/webauthn/fido2.py @@ -1882,7 +1882,7 @@ def _cbor_get_info(req: Cmd) -> Cmd: _GETINFO_RESP_EXTENSIONS: ["hmac-secret"], _GETINFO_RESP_AAGUID: _AAGUID, _GETINFO_RESP_OPTIONS: { - "rk": _ALLOW_RESIDENT_CREDENTIALS, + "rk": bool(_ALLOW_RESIDENT_CREDENTIALS), "up": True, "uv": True, },