scan: genericize the caller-supplied unit-key docs (no external-source naming)

The ScanOptions.unit_key path is a generic primitive — a caller-supplied Unit
Key that bypasses keydb lookup. Doc comments + a tracing log named a specific
external source; reworded to neutral 'out-of-band / external key service' so
the library makes no assumptions about where the key came from.
This commit is contained in:
MattJackson
2026-06-02 13:00:11 -07:00
parent 9f209fe066
commit 94ab7bc73c
4 changed files with 18 additions and 20 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ fn validate_network_addr(addr: &str) -> io::Result<()> {
#[derive(Default)]
pub struct InputOptions {
pub keydb_path: Option<String>,
/// Caller-supplied Unit Key (keyserver path) — the second, mutually
/// Caller-supplied Unit Key (external Unit Key) — the second, mutually
/// exclusive key source. Takes precedence over `keydb_path`.
pub unit_key: Option<[u8; 16]>,
pub title_index: Option<usize>,