pub fn generate_key(
    keystore: &LocalKeystore,
    password: Option<String>
) -> Result<()>
Expand description

Generate a new key from system entropy and insert it into the keystore, optionally protected by a password.

TODO there is no password support when using keys later when signing.