diff --git a/common/defs/webauthn/apps/binance.json b/common/defs/webauthn/apps/binance.json new file mode 100644 index 000000000..854a47ecd --- /dev/null +++ b/common/defs/webauthn/apps/binance.json @@ -0,0 +1,4 @@ +{ + "label": "Binance", + "webauthn": "www.binance.com" +} diff --git a/common/defs/webauthn/apps/binance.png b/common/defs/webauthn/apps/binance.png new file mode 100644 index 000000000..e9b00051f Binary files /dev/null and b/common/defs/webauthn/apps/binance.png differ diff --git a/core/src/apps/webauthn/knownapps.py b/core/src/apps/webauthn/knownapps.py index f32a26edf..394566585 100644 --- a/core/src/apps/webauthn/knownapps.py +++ b/core/src/apps/webauthn/knownapps.py @@ -24,7 +24,9 @@ _knownapps = { "https://dashboard.stripe.com": "Stripe", "https://u2f.bin.coffee": "u2f.bin.coffee", # WebAuthn + "www.binance.com": "Binance", "www.dropbox.com": "Dropbox", + "secure.login.gov": "login.gov", "webauthn.bin.coffee": "webauthn.bin.coffee", "webauthn.io": "WebAuthn.io", "webauthn.me": "WebAuthn.me", diff --git a/core/src/apps/webauthn/res/icon_binance.toif b/core/src/apps/webauthn/res/icon_binance.toif new file mode 100644 index 000000000..8d4d22936 Binary files /dev/null and b/core/src/apps/webauthn/res/icon_binance.toif differ diff --git a/core/src/apps/webauthn/res/icon_login.gov.toif b/core/src/apps/webauthn/res/icon_login.gov.toif new file mode 100644 index 000000000..a87cd9078 Binary files /dev/null and b/core/src/apps/webauthn/res/icon_login.gov.toif differ diff --git a/legacy/firmware/u2f_knownapps.h b/legacy/firmware/u2f_knownapps.h index 8ac72820e..eb31ff0fa 100644 --- a/legacy/firmware/u2f_knownapps.h +++ b/legacy/firmware/u2f_knownapps.h @@ -34,6 +34,11 @@ typedef struct { // clang-format off static const U2FWellKnown u2f_well_known[] = { + { + // WebAuthn: www.binance.com + { 0xc3, 0x40, 0x8c, 0x04, 0x47, 0x88, 0xae, 0xa5, 0xb3, 0xdf, 0x30, 0x89, 0x52, 0xfd, 0x8c, 0xa3, 0xc7, 0x0e, 0x21, 0xfe, 0xf4, 0xf6, 0xc1, 0xc2, 0x37, 0x4c, 0xaa, 0x1d, 0xf9, 0xb2, 0x8d, 0xdd }, + "Binance" + }, { // U2F: https://bitbucket.org { 0x12, 0x74, 0x3b, 0x92, 0x12, 0x97, 0xb7, 0x7f, 0x11, 0x35, 0xe4, 0x1f, 0xde, 0xdd, 0x4a, 0x84, 0x6a, 0xfe, 0x82, 0xe1, 0xf3, 0x69, 0x32, 0xa9, 0x91, 0x2f, 0x3b, 0x0d, 0x8d, 0xfb, 0x7d, 0x0e }, @@ -109,6 +114,11 @@ static const U2FWellKnown u2f_well_known[] = { { 0xd7, 0x55, 0xc5, 0x27, 0xa8, 0x6b, 0xf7, 0x84, 0x45, 0xc2, 0x82, 0xe7, 0x13, 0xdc, 0xb8, 0x6d, 0x46, 0xff, 0x8b, 0x3c, 0xaf, 0xcf, 0xb7, 0x3b, 0x2e, 0x8c, 0xbe, 0x6c, 0x08, 0x84, 0xcb, 0x24 }, "LastPass" }, + { + // WebAuthn: secure.login.gov + { 0xf8, 0x3f, 0xc3, 0xa1, 0xb2, 0x89, 0xa0, 0xde, 0xc5, 0xc1, 0xc8, 0xaa, 0x07, 0xe9, 0xb5, 0xdd, 0x9c, 0xbb, 0x76, 0xf6, 0xb2, 0xf5, 0x60, 0x60, 0x17, 0x66, 0x72, 0x68, 0xe5, 0xb9, 0xc4, 0x5e }, + "login.gov" + }, { // U2F: https://slushpool.com/static/security/u2f.json { 0x08, 0xb2, 0xa3, 0xd4, 0x19, 0x39, 0xaa, 0x31, 0x66, 0x84, 0x93, 0xcb, 0x36, 0xcd, 0xcc, 0x4f, 0x16, 0xc4, 0xd9, 0xb4, 0xc8, 0x23, 0x8b, 0x73, 0xc2, 0xf6, 0x72, 0xc0, 0x33, 0x00, 0x71, 0x97 },