Skip to main content

parse_credential

Function parse_credential 

Source
pub fn parse_credential(input: &str) -> Result<Credential, CredentialError>
Expand description

Read what was typed or pasted into the sign-in field.

Keys are only taken in their bech32 forms. A bare hex key reads the same whether it is secret or public, and guessing wrong would either refuse a sign-in or treat a public key as a secret one.