diff --git a/core/src/apps/webauthn/__init__.py b/core/src/apps/webauthn/__init__.py index 263dd2327..9f9234545 100644 --- a/core/src/apps/webauthn/__init__.py +++ b/core/src/apps/webauthn/__init__.py @@ -1356,6 +1356,9 @@ def cbor_make_credential(req: Cmd, dialog_mgr: DialogManager) -> Optional[Cmd]: return cbor_error(req.cid, _ERR_CBOR_UNEXPECTED_TYPE) # Check options. + if "up" in options: + return cbor_error(req.cid, _ERR_INVALID_OPTION) + if resident_key and not _ALLOW_RESIDENT_CREDENTIALS: return cbor_error(req.cid, _ERR_UNSUPPORTED_OPTION)