1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

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.

This commit is contained in:
Andrew Kozlik 2019-09-25 19:40:42 +02:00
parent 5e99058832
commit cf6949332f

View File

@ -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))