mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 06:18:07 +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:
|
def __init__(self, cid: int, iface: HID, rp_id: str) -> None:
|
||||||
cred = Fido2Credential()
|
cred = Fido2Credential()
|
||||||
cred.rp_id = rp_id
|
cred.rp_id = rp_id
|
||||||
|
cred.rp_id_hash = hashlib.sha256(rp_id).digest()
|
||||||
super().__init__(
|
super().__init__(
|
||||||
cid, iface, b"", [cred], {}, resident=False, user_verification=False
|
cid, iface, b"", [cred], {}, resident=False, user_verification=False
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user