remove empty bitbox02::keystore module
What changed, and why it matters
This commit removes an empty Rust module named `keystore` that contained no code. It is a routine cleanup with no functional or security effect.
No security action needed; this is a benign refactoring/cleanup change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit deletes src/rust/bitbox02/src/keystore.rs, which only held a comment stating keystore wrappers live elsewhere, and removes the pub mod keystore; declaration from lib.rs. A test file in restore.rs is updated to drop an unused bitbox02::keystore import. No logic, interfaces, or security behavior changes.
Changed components
src/rust/bitbox02/src/keystore.rssrc/rust/bitbox02/src/lib.rssrc/rust/bitbox02-rust/src/hww/api/restore.rsInspect captured patch +1 / −5
diff --git a/src/rust/bitbox02-rust/src/hww/api/restore.rs b/src/rust/bitbox02-rust/src/hww/api/restore.rs
index d89f990..7d9fb9d 100644
--- a/src/rust/bitbox02-rust/src/hww/api/restore.rs
+++ b/src/rust/bitbox02-rust/src/hww/api/restore.rs
@@ -157,8 +157,8 @@ mod tests {
use super::*;
use crate::hal::testing::TestingHal;
+ use bitbox02::memory;
use bitbox02::testing::mock_memory;
- use bitbox02::{keystore, memory};
use util::bb02_async::block_on;
use alloc::boxed::Box;
diff --git a/src/rust/bitbox02/src/keystore.rs b/src/rust/bitbox02/src/keystore.rs
deleted file mode 100644
index 4820ca5..0000000
--- a/src/rust/bitbox02/src/keystore.rs
+++ /dev/null
@@ -1,3 +0,0 @@
-// SPDX-License-Identifier: Apache-2.0
-
-// Keystore-related wrappers live in other modules.
diff --git a/src/rust/bitbox02/src/lib.rs b/src/rust/bitbox02/src/lib.rs
index 88b42e9..9f27ba6 100644
--- a/src/rust/bitbox02/src/lib.rs
+++ b/src/rust/bitbox02/src/lib.rs
@@ -26,7 +26,6 @@ pub mod delay;
pub mod event;
#[cfg(feature = "simulator-graphical")]
pub mod hww;
-pub mod keystore;
pub mod memory;
#[cfg(feature = "simulator-graphical")]
pub mod queue;
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.