unlock: drop applies_to — the matrix reports did-work, not matched

This commit is contained in:
Matthew Jackson
2026-07-01 10:44:39 -07:00
parent 569e23662b
commit 892e586340
2 changed files with 0 additions and 17 deletions
-9
View File
@@ -121,15 +121,6 @@ pub trait Unlocker: Send + Sync {
/// whether to RUN it.
fn matches(&self, ctx: &UnlockCtx) -> bool;
/// Report-only: would this unlocker apply to this drive + disc, for a
/// user-facing unlocker matrix? Distinct from [`matches`](Unlocker::matches),
/// which is phase-gated (e.g. the drive-prep unlocker only `matches` at the
/// Unknown-kind init phase). Default: same as `matches`; the drive-keyed
/// unlocker overrides it to report on drive identity regardless of disc kind.
fn applies_to(&self, ctx: &UnlockCtx) -> bool {
self.matches(ctx)
}
/// Remove the bus-encryption barrier, returning what was learned.
fn unlock(
&self,