From 7ee2866cc14f6d4b35ac05d308a93baf319fd064 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 6c198fc55e..ab788ddc1d 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))