mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 23:08:14 +00:00
common/defs/fido: add aws and tutanota
This commit is contained in:
parent
9c61257e8e
commit
5262ef84cf
4
common/defs/fido/aws.json
Normal file
4
common/defs/fido/aws.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"label": "Amazon Web Services",
|
||||
"u2f": ["968978a29953de52d3ef0f0c71b7b7b6b1af9f08e257896a8d8126918530293b"]
|
||||
}
|
BIN
common/defs/fido/aws.png
Normal file
BIN
common/defs/fido/aws.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
4
common/defs/fido/tutanota.json
Normal file
4
common/defs/fido/tutanota.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"label": "Tutanota",
|
||||
"u2f": ["fabeece3982fad9ddcc98f91bd2e75afc7d1f4ca544929b2d0d04212dffa30fa"]
|
||||
}
|
BIN
common/defs/fido/tutanota.png
Normal file
BIN
common/defs/fido/tutanota.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
@ -25,6 +25,14 @@ class FIDOApp:
|
||||
def by_rp_id_hash(rp_id_hash: bytes) -> Optional[FIDOApp]:
|
||||
if False:
|
||||
raise RuntimeError # if false
|
||||
elif rp_id_hash == b"\x96\x89\x78\xa2\x99\x53\xde\x52\xd3\xef\x0f\x0c\x71\xb7\xb7\xb6\xb1\xaf\x9f\x08\xe2\x57\x89\x6a\x8d\x81\x26\x91\x85\x30\x29\x3b":
|
||||
# U2F key for Amazon Web Services
|
||||
return FIDOApp(
|
||||
label="Amazon Web Services",
|
||||
icon="apps/webauthn/res/icon_aws.toif",
|
||||
use_sign_count=None,
|
||||
use_self_attestation=None,
|
||||
)
|
||||
elif rp_id_hash == b"\xc3\x40\x8c\x04\x47\x88\xae\xa5\xb3\xdf\x30\x89\x52\xfd\x8c\xa3\xc7\x0e\x21\xfe\xf4\xf6\xc1\xc2\x37\x4c\xaa\x1d\xf9\xb2\x8d\xdd":
|
||||
# WebAuthn key for Binance
|
||||
return FIDOApp(
|
||||
@ -233,6 +241,14 @@ def by_rp_id_hash(rp_id_hash: bytes) -> Optional[FIDOApp]:
|
||||
use_sign_count=None,
|
||||
use_self_attestation=None,
|
||||
)
|
||||
elif rp_id_hash == b"\xfa\xbe\xec\xe3\x98\x2f\xad\x9d\xdc\xc9\x8f\x91\xbd\x2e\x75\xaf\xc7\xd1\xf4\xca\x54\x49\x29\xb2\xd0\xd0\x42\x12\xdf\xfa\x30\xfa":
|
||||
# U2F key for Tutanota
|
||||
return FIDOApp(
|
||||
label="Tutanota",
|
||||
icon="apps/webauthn/res/icon_tutanota.toif",
|
||||
use_sign_count=None,
|
||||
use_self_attestation=None,
|
||||
)
|
||||
elif rp_id_hash == b"\x1b\x3c\x16\xdd\x2f\x7c\x46\xe2\xb4\xc2\x89\xdc\x16\x74\x6b\xcc\x60\xdf\xcf\x0f\xb8\x18\xe1\x32\x15\x52\x6e\x14\x08\xe7\xf4\x68":
|
||||
# U2F key for u2f.bin.coffee
|
||||
return FIDOApp(
|
||||
|
BIN
core/src/apps/webauthn/res/icon_aws.toif
Normal file
BIN
core/src/apps/webauthn/res/icon_aws.toif
Normal file
Binary file not shown.
BIN
core/src/apps/webauthn/res/icon_tutanota.toif
Normal file
BIN
core/src/apps/webauthn/res/icon_tutanota.toif
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user