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:
parent
7efa1fc3df
commit
edeccde9f3
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user