1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 13:58:08 +00:00

fix(core): Show app icon in Fido2ConfirmNoCredentials.

[no changelog]
This commit is contained in:
Andrew Kozlik 2023-02-24 18:49:23 +01:00 committed by Andrew Kozlik
parent 7efa1fc3df
commit edeccde9f3

View File

@ -930,6 +930,7 @@ class Fido2ConfirmNoCredentials(Fido2ConfirmGetAssertion):
def __init__(self, cid: int, iface: HID, rp_id: str) -> None:
cred = Fido2Credential()
cred.rp_id = rp_id
cred.rp_id_hash = hashlib.sha256(rp_id).digest()
super().__init__(
cid, iface, b"", [cred], {}, resident=False, user_verification=False
)