From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85492 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: importing PGP keys Date: Wed, 21 Jan 2015 15:03:10 +0800 Message-ID: <877fwghaz5.fsf@ericabrahamsen.net> References: <87d269ohlm.fsf@ericabrahamsen.net> <87mw5csl3d.fsf@hope.eyrie.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421823450 27500 80.91.229.3 (21 Jan 2015 06:57:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2015 06:57:30 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33734@lists.math.uh.edu Wed Jan 21 07:57:30 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YDpEH-0002nX-5W for ding-account@gmane.org; Wed, 21 Jan 2015 07:57:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1YDpDs-0003pm-43; Wed, 21 Jan 2015 00:57:04 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YDpDp-0003pe-DI for ding@lists.math.uh.edu; Wed, 21 Jan 2015 00:57:01 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YDpDn-0001GO-EO for ding@lists.math.uh.edu; Wed, 21 Jan 2015 00:57:00 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YDpDk-00045x-5u for ding@gnus.org; Wed, 21 Jan 2015 07:56:56 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YDpDi-0002eE-Jk for ding@gnus.org; Wed, 21 Jan 2015 07:56:55 +0100 Original-Received: from 114.248.16.227 ([114.248.16.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Jan 2015 07:56:54 +0100 Original-Received: from eric by 114.248.16.227 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Jan 2015 07:56:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.248.16.227 User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:RAMgcT+vygcfWKX9UBymFh0zLOo= X-Spam-Score: -1.5 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85492 Archived-At: Russ Allbery writes: > Greg Troxel writes: > >> 1 and 3 are certainly useful code to share, but don't seem super tricky. >> I am curious what people are doing for 2. bbdb? > > GnuPG does this itself using the email address published in the key ID, > and I normally just rely on that and don't retain keys in my personal > public keyring that violate my expectations there. (Admittedly, I'm not > great about checking this.) > > Are you running across keys where the address at which you contact the > person isn't represented in the key IDs? Or are just not wanting to trust > the information GnuPG retains? > > I think the default Gnus behavior is to use GnuPG to check for a key ID > matching the target email address. In my case, the problem was that the person just sent me the raw public key block; ie not the output of gpg --export, which would include the UIDs along with the key itself. Now I have this key in my public keyring with no email address associated with it at all, so when I get an encrypted email from this person, there's no immediate way to tell Gnus which key to use when decrypting the email. I was sure that the gpg key management interface would provide some way of manually adding an email address to someone else's public key, but I'm not finding it...