Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Duplicate entries in Gnu PG



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.




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org