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

chore(common/defs/fido): add coinbase u2f

[no changelog]
This commit is contained in:
matejcik 2021-11-03 15:59:47 +01:00 committed by matejcik
parent a3b83685ef
commit bc75d05772
5 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,4 @@
{
"name": "Coinbase",
"webauthn": ["coinbase.com"]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -69,6 +69,14 @@ def by_rp_id_hash(rp_id_hash: bytes) -> FIDOApp | None:
use_sign_count=None,
use_self_attestation=None,
)
elif rp_id_hash == b"\xe2\x7d\x61\xb4\xe9\x9d\xe0\xed\x98\x16\x3c\xb3\x8b\x7a\xf9\x33\xc6\x66\x5e\x55\x09\xe8\x49\x08\x37\x05\x58\x13\x77\x8e\x23\x6a":
# WebAuthn key for Coinbase
return FIDOApp(
label="coinbase.com",
icon="apps/webauthn/res/icon_coinbase.toif",
use_sign_count=None,
use_self_attestation=None,
)
elif rp_id_hash == b"\x68\x20\x19\x15\xd7\x4c\xb4\x2a\xf5\xb3\xcc\x5c\x95\xb9\x55\x3e\x3e\x3a\x83\xb4\xd2\xa9\x3b\x45\xfb\xad\xaa\x84\x69\xff\x8e\x6e":
# U2F key for Dashlane
return FIDOApp(

Binary file not shown.

File diff suppressed because one or more lines are too long