I would like to ask this question as I'm not the first person which has this behavior.
I'm trying to encrypt a simple message using GnuPG using a public key I've received from a friend, he's using DSA 3072 but for some reason, whenever I try to encrypt using his public key, I get
gpg: <mailaddr>: skipped: unusable public key gpg: s: encryption failed: unusable public key
Here's the output of gpg --list-key when I lookup my friend's mail
pub 3072D/fingerprint some-date-here uid Name1 <mail1> uid Name2 <mail2>
Here's my GPG --version output
gpg --version gpg (GnuPG) 1.4.19 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: ~/.gnupg Supported algorithms: Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2
I'm asking here as I recently got mail from people claiming the same (I'm also using DSA 3072 on my key). Can anyone shed some light on this topic ?