Skip to main content

load_primary_key

Function load_primary_key 

Source
pub fn load_primary_key() -> SshCliResult<(Option<[u8; 32]>, KeySource)>
Expand description

Resolves primary key and source (does not auto-create).

ยงErrors

Returns an error if a configured key source exists but cannot be read or parsed.