Function pgp::read_skey_from_string

source ·
pub async fn read_skey_from_string(string: String) -> Result<SignedSecretKey>
Expand description

Reads a signed secret key from the given raw string.

The given raw string needs to contain a single armored secret key, otherwise it fails.