Skip to main content

load_signer

Function load_signer 

Source
pub fn load_signer(
    path: &Path,
    password: &str,
) -> Result<PrivateKeySigner, KeystoreError>
Expand description

Decrypts the keystore at path with password and returns the signer.

On unix, warns (does not repair — a read shouldn’t silently mutate file modes) when the keystore is group/world-accessible, so a leak written by an older build or another tool is surfaced rather than ignored (gh#78).