[Discuss] Duplicate entries in Gnu PG

Derek Martin invalid at pizzashack.org
Tue Feb 2 15:40:59 EST 2016


On Sat, Jan 30, 2016 at 10:51:18AM -0500, Jerry Feldman wrote:
> My primary key appears to be duplicated in my GnuPG keyring. I can
> manually encrypt and decrypt keys.
> [gaf at gaf ~]$ gpg --list-keys | grep B7F14F2F
> pub   4096R/B7F14F2F 2014-09-15 [expires: 2017-09-14]
> pub   4096R/B7F14F2F 2014-09-15 [expires: 2017-09-14]

Seems like a bug...  However, the trouble with grep is that it filters
out much additional context--and sometimes the extra context matters,
in ways you didn't necessarily realize beforehand.  This is an idea I
often find myself reiterating to certain support folks over and
over... ;-)

If you view the full entries for those keys, does that reveal anything
interesting (different)?  Just remove the pipe and the grep from your
command line, and it should show you just that key.

If that only lists your key once, pipe to less instead, and search for
your key ID.  If need be (say, because the entries are not close to
each other in the output) you can copy the full entries to a file to
compare them, or something.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.




More information about the Discuss mailing list