Skip to main content

write_bootstrap_pubkeys

Function write_bootstrap_pubkeys 

Source
pub fn write_bootstrap_pubkeys(
    credentials_dir: &Path,
    pubkeys: &HashMap<String, VerifyingKey>,
) -> Result<()>
Expand description

Write bootstrap pubkeys to the credentials directory.

Every entry is written in the classical 32-byte form. Use write_bootstrap_pubkeys_hybrid to persist entries that carry a bound ML-DSA-65 key.