keysources: label() on keydb/online sources; neutral path in the XDG test

This commit is contained in:
Matthew Jackson
2026-06-23 09:09:06 -07:00
parent 7982d16225
commit a287e165bd
3 changed files with 13 additions and 5 deletions
+4
View File
@@ -121,6 +121,10 @@ impl KeySource for KeydbSource {
true
}
fn label(&self) -> &'static str {
"keydb"
}
fn next_key(&mut self, inputs: &DiscInputs) -> Option<Key> {
// On the first ask, parse the keydb once and build the ordered candidate
// list; later asks just advance the cursor. A missing/unreadable keydb