diff --git a/src/apps/webauthn/__init__.py b/src/apps/webauthn/__init__.py index dc321bd01..89371a061 100644 --- a/src/apps/webauthn/__init__.py +++ b/src/apps/webauthn/__init__.py @@ -421,7 +421,7 @@ class ConfirmContent(ui.Widget): namepart = name.lower().replace(" ", "_") icon = res.load("apps/webauthn/res/icon_%s.toif" % namepart) except Exception as e: - icon = res.load("apps/webauthn/res/icon_generic.toif") + icon = res.load("apps/webauthn/res/icon_webauthn.toif") if __debug__: log.exception(__name__, e) else: @@ -429,7 +429,7 @@ class ConfirmContent(ui.Widget): hexlify(self.app_id[:4]).decode(), hexlify(self.app_id[-4:]).decode(), ) - icon = res.load("apps/webauthn/res/icon_generic.toif") + icon = res.load("apps/webauthn/res/icon_webauthn.toif") self.app_name = name self.app_icon = icon diff --git a/src/apps/webauthn/res/icon_webauthn.toif b/src/apps/webauthn/res/icon_webauthn.toif new file mode 100644 index 000000000..fe1cbe595 Binary files /dev/null and b/src/apps/webauthn/res/icon_webauthn.toif differ diff --git a/src/usb.py b/src/usb.py index beda879b9..a878b5fca 100644 --- a/src/usb.py +++ b/src/usb.py @@ -29,7 +29,7 @@ if __debug__: ep_cmd=0x84, ) else: - # interface used for FIDO U2F HID transport + # interface used for FIDO/U2F and FIDO2/WebAuthn HID transport iface_webauthn = io.HID( iface_num=1, ep_in=0x82,