U2F: remove option to cancel u2f flows
What changed, and why it matters
This commit removes the ability for a user to cancel a U2F (Universal 2nd Factor) security-key confirmation prompt on the BitBox02 hardware wallet. Previously, the device likely showed an 'accept or cancel' prompt during U2F login operations; now it only allows 'accept'. The change is described as an architectural fix because web browsers can simply re-request authentication if the user cancels, so a device-side cancel button did not meaningfully stop the process and could confuse users.
No immediate action required. Treat as a minor UX/architectural refinement. If auditing U2F behavior, verify that the absence of a cancel option does not allow a malicious or buggy browser to spam authentication requests in a way that could fatigue or confuse users, and ensure the device still requires explicit physical user confirmation.
Security signals we found
UI workflow change for authentication confirmation
Removal of cancel option in U2F flow
Behavior described as aligning with U2F architecture rather than a vulnerability fix
Evidence from the diff
In the Rust/C interface for device workflows, the rust_workflow_spawn_confirm function now constructs confirm::Params with accept_only: true. This flag forces the confirmation screen to display only an accept action, removing the cancel option during U2F user-presence checks. The commit message states that U2F does not permit the device to cancel a user-presence check in a meaningful way, since the browser can re-issue the request.
Changed components
src/rust/bitbox02-rust-c/src/workflow.rsU2F confirmation workflowconfirm::Params UI componentInspect captured patch +1 / −0
diff --git a/src/rust/bitbox02-rust-c/src/workflow.rs b/src/rust/bitbox02-rust-c/src/workflow.rs
index ba904b4..e873997 100644
--- a/src/rust/bitbox02-rust-c/src/workflow.rs
+++ b/src/rust/bitbox02-rust-c/src/workflow.rs
@@ -62,6 +62,7 @@ pub unsafe extern "C" fn rust_workflow_spawn_confirm(
CONFIRM_PARAMS = Some(confirm::Params {
title: CONFIRM_TITLE.as_ref().unwrap(),
body: CONFIRM_BODY.as_ref().unwrap(),
+ accept_only: true,
..Default::default()
});
Why this scored 29/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.