Function pgp::read_skey_from_file

source ·
pub async fn read_skey_from_file(path: PathBuf) -> Result<SignedSecretKey>
Expand description

Reads a signed secret key from the given path.

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