Skip to main content

SourceKeyResolver

Type Alias SourceKeyResolver 

Source
pub type SourceKeyResolver = Arc<dyn Fn(&str) -> Result<Vec<u8>> + Send + Sync>;
Expand description

Resolves the source profile’s decryption key for an encryption prefix (v10/v11). Linux uses a hardcoded key for v10 and the keyring for v11. Keys are cached per prefix, including failures.

Aliased Type§

pub struct SourceKeyResolver { /* private fields */ }