remove the option of restoring from 18 recovery words
What changed, and why it matters
This commit removes the user-facing option to restore a wallet using 18-word recovery phrases. The device still supports 12 and 24 words. The change is described by the vendor as a user-experience cleanup, not a security fix. There is no evidence of a vulnerability.
No security action required. Treat as a normal product change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch changes two Rust call sites that prompt the user for the number of recovery words. The middle option of the trinary_choice UI is now passed None instead of Some(“18”), and the corresponding TrinaryChoice::TRINARY_CHOICE_MIDDLE arm is replaced with unreachable!(). This is a UI/product change, not a cryptographic or memory-safety fix.
Changed components
BIP-85 application mnemonic length selectionWallet restore/recovery workflow mnemonic length selectionInspect captured patch +5 / −4
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1b67cd8..ee522dc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ customers cannot upgrade their bootloader, its changes are recorded separately.
### [Unreleased]
- Change title when entering recovery words to `1 of 24`, `2 of 24`, etc.
- Unlock is now faster after password/passphrase entry (shorter unlock animation)
+- Remove option to restore from 18 recovery words
### 9.23.1
- EVM: add HyperEVM (HYPE) and SONIC (S) to known networks
diff --git a/src/rust/bitbox02-rust/src/hww/api/bip85.rs b/src/rust/bitbox02-rust/src/hww/api/bip85.rs
index 6708713..e8760ea 100644
--- a/src/rust/bitbox02-rust/src/hww/api/bip85.rs
+++ b/src/rust/bitbox02-rust/src/hww/api/bip85.rs
@@ -67,11 +67,11 @@ async fn process_bip39(hal: &mut impl crate::hal::Hal) -> Result<(), Error> {
let num_words: u32 = match hal
.ui()
- .trinary_choice("How many words?", Some("12"), Some("18"), Some("24"))
+ .trinary_choice("How many words?", Some("12"), None, Some("24"))
.await
{
TrinaryChoice::TRINARY_CHOICE_LEFT => 12,
- TrinaryChoice::TRINARY_CHOICE_MIDDLE => 18,
+ TrinaryChoice::TRINARY_CHOICE_MIDDLE => unreachable!(),
TrinaryChoice::TRINARY_CHOICE_RIGHT => 24,
};
diff --git a/src/rust/bitbox02-rust/src/workflow/mnemonic.rs b/src/rust/bitbox02-rust/src/workflow/mnemonic.rs
index 33efffe..c815c67 100644
--- a/src/rust/bitbox02-rust/src/workflow/mnemonic.rs
+++ b/src/rust/bitbox02-rust/src/workflow/mnemonic.rs
@@ -306,11 +306,11 @@ pub async fn get(
) -> Result<zeroize::Zeroizing<String>, CancelError> {
let num_words: usize = match hal
.ui()
- .trinary_choice("How many words?", Some("12"), Some("18"), Some("24"))
+ .trinary_choice("How many words?", Some("12"), None, Some("24"))
.await
{
TrinaryChoice::TRINARY_CHOICE_LEFT => 12,
- TrinaryChoice::TRINARY_CHOICE_MIDDLE => 18,
+ TrinaryChoice::TRINARY_CHOICE_MIDDLE => unreachable!(),
TrinaryChoice::TRINARY_CHOICE_RIGHT => 24,
};
Why this scored 15/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.