Skip to main content

key_path

Function key_path 

Source
pub fn key_path(repos: &Path) -> PathBuf
Expand description

Where the daemon keeps a node’s key under repos.

The seed’s own key is a node key like any other: the daemon reads <root>/.choir/node.key, 32 secret bytes, and mints one if absent. Minted here rather than left to the daemon because the home has to know the public half before the daemon can read a page, which is before it ever starts.