#[derive(Debug, thiserror::Error)]
pub enum CryptoError {
#[error("failed to parse PGP data: {0}")]
Parse(String),
#[error("failed to unlock private key: {0}")]
Unlock(String),
#[error("failed to decrypt: {0}")]
Decrypt(String),
#[error("failed to encrypt: {0}")]
Encrypt(String),
#[error("signature verification failed: {0}")]
Verification(String),
}