Function pgp::read_pkey_from_path
source · pub async fn read_pkey_from_path(path: PathBuf) -> Result<SignedPublicKey>
Expand description
Reads a signed public key from the given path.
The given path needs to contain a single armored secret key, otherwise it fails.