Skip to main content

keys_from_agent_cache

Function keys_from_agent_cache 

Source
pub fn keys_from_agent_cache(
    location: ProfileLocation,
    agent_database: &Path,
    agent_token: &[u8],
    session_id: Option<&str>,
    options: ReadOptions,
) -> Result<KeyFile>
Expand description

Read only the matching authorized cached key records from a coherent copied agent database. This never calls the old database initializer/migrator or any key acquisition process. The agent token is an unlock passphrase, not an exported profile key or network credential.