Skip to main content

write_generated_key

Function write_generated_key 

Source
fn write_generated_key(dir: &Path) -> Result<(String, PathBuf), String>
Expand description

Generate a fresh key and write it to <dir>/srv-auth-key, readable by the owner only. A new key every start, like a launcher-spawned srv.