Package: gnupg2 Version: 2.0.26-6 gpg and gpg2 fails if I try to pass email address as recipient like follows:
dmon@~/$ gpg2 --sign --encrypt -r dmonak...@openvz.org blob gpg: Ohhhh jeeee: ... this is a bug (pkclist.c:401:do_we_trust) Aborted This does no happen if I pass explicit key : dmon@~/$ gpg2 --sign --encrypt -r ECBACA28 blob AFAIU this happens because I have two keys referes my email address (current and obsoleted) dmon@~/$ gpg2 --list-secret-keys /home/dmon/.gnupg/secring.gpg ----------------------------- sec 4096R/085DFBDE 2011-03-18 uid Dmitry Monakhov <dmonak...@openvz.org> uid Dmitry Monakhov <dmonak...@parallels.com> uid Dmitry monak...@gmail.com <dmonak...@gmail.com> ssb 4096R/1C784DCB 2011-03-18 sec# 4096R/ECBACA28 2014-10-31 [expires: 2024-10-28] uid Dmitry Monakhov <dmonak...@gmail.com> uid Dmitry Monakhov <dmonak...@openvz.org> uid Dmitry Monakhov <dmonak...@parallels.com> uid [jpeg image of size 4224] ssb> 2048R/882FA901 2014-11-01 ssb> 2048R/CD6BFB64 2014-11-01 ssb> 2048R/E25AD482 2014-11-01 dmon@~/$ gpg2 --version gpg (GnuPG) 2.0.26 libgcrypt 1.6.3 Copyright (C) 2013 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, RSA, ELG, 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
signature.asc
Description: PGP signature