From cf6949332f86d36f3cb9e6d4e715f8642e454e8b Mon Sep 17 00:00:00 2001 From: Andrew Kozlik Date: Wed, 25 Sep 2019 19:40:42 +0200 Subject: [PATCH] core/webauthn: Claim that PIN is set even when it's not, because login.live.com shows an error, but doesn't instruct the user to set a PIN. --- core/src/apps/webauthn/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/apps/webauthn/__init__.py b/core/src/apps/webauthn/__init__.py index 90f28720c..bf18d176e 100644 --- a/core/src/apps/webauthn/__init__.py +++ b/core/src/apps/webauthn/__init__.py @@ -1599,7 +1599,7 @@ def cbor_get_info(req: Cmd) -> Cmd: _GETINFO_RESP_OPTIONS: { "rk": _ALLOW_RESIDENT_CREDENTIALS, "up": True, - "uv": config.has_pin(), + "uv": True, }, } return Cmd(req.cid, _CMD_CBOR, bytes([_ERR_NONE]) + cbor.encode(response_data))