From 5e9905883267e0edf58d5494bc1bf158d924531c Mon Sep 17 00:00:00 2001 From: Andrew Kozlik Date: Wed, 25 Sep 2019 19:53:59 +0200 Subject: [PATCH] common/webauthn: Add webauthn RP ID for google.com. --- common/defs/webauthn/apps/google.json | 3 ++- core/src/apps/webauthn/knownapps.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/defs/webauthn/apps/google.json b/common/defs/webauthn/apps/google.json index bd86f22a02..e99b2e5f9f 100644 --- a/common/defs/webauthn/apps/google.json +++ b/common/defs/webauthn/apps/google.json @@ -1,4 +1,5 @@ { "label": "Google", - "u2f": "https://www.gstatic.com/securitykey/origins.json" + "u2f": "https://www.gstatic.com/securitykey/origins.json", + "webauthn": "google.com" } diff --git a/core/src/apps/webauthn/knownapps.py b/core/src/apps/webauthn/knownapps.py index 7cd31db22a..1268bbc790 100644 --- a/core/src/apps/webauthn/knownapps.py +++ b/core/src/apps/webauthn/knownapps.py @@ -48,6 +48,7 @@ _knownapps = { "www.binance.com": {"label": "Binance", "use_sign_count": False}, "www.dropbox.com": {"label": "Dropbox"}, "github.com": {"label": "GitHub", "use_sign_count": True}, + "google.com": {"label": "Google"}, "secure.login.gov": {"label": "login.gov"}, "login.microsoft.com": {"label": "Microsoft", "use_sign_count": False}, "webauthn.bin.coffee": {"label": "webauthn.bin.coffee"},