Skip to main content

load_authority_key

Function load_authority_key 

Source
pub fn load_authority_key(repo_root: &Path) -> Option<Vec<u8>>
Expand description

Read this repository’s authority key, or None when there is none to read (no home dir, no key minted yet, unreadable file).

The READER form: a verifier that cannot load the key degrades to the weaker check it can still perform and says so, but it never mints key material as a side effect of reading.