Skip to main content

project_chain_key

Function project_chain_key 

Source
pub fn project_chain_key(
    path: &Path,
    seed: Option<[u8; 32]>,
) -> Result<SigningKey, IdentityError>
Expand description

The chain signing key of a project kernel: the project key pre_boot already loaded and certified (seed, the node key seed), confirmed against the 0600 project.key at path with the strict reader (no symlink, no creation, no chmod). A missing seed, a missing file or a file that no longer holds that key refuses the boot (ADR-103 A7, one key).