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:
+1
-1
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user