From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85494 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 21:36:54 +0800 Message-ID: <87lhkwfe6h.fsf@ericabrahamsen.net> References: <87d269ohlm.fsf@ericabrahamsen.net> <87mw5csl3d.fsf@hope.eyrie.org> <877fwghaz5.fsf@ericabrahamsen.net> <861tmo1e14.fsf@informationelle-selbstbestimmung-im-internet.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1421847077 21608 80.91.229.3 (21 Jan 2015 13:31:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2015 13:31:17 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33736@lists.math.uh.edu Wed Jan 21 14:31:16 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 1YDvNL-0006Dl-1x for ding-account@gmane.org; Wed, 21 Jan 2015 14:31:15 +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 1YDvMz-0005ly-Pp; Wed, 21 Jan 2015 07:30:53 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YDvMy-0005lp-Mx for ding@lists.math.uh.edu; Wed, 21 Jan 2015 07:30:52 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YDvMx-0004n4-DB for ding@lists.math.uh.edu; Wed, 21 Jan 2015 07:30:52 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YDvMv-0004Bs-Ax for ding@gnus.org; Wed, 21 Jan 2015 14:30:49 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YDvMt-00064E-Kq for ding@gnus.org; Wed, 21 Jan 2015 14:30:48 +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 14:30:47 +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 14:30:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 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:UMZl2EtS7XfZ/5VlAig4Vu4aTgM= X-Spam-Score: -1.5 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85494 Archived-At: Jens Lechtenboerger writes: > On 2015-01-21, Eric Abrahamsen wrote: > >> 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? > > I’m using jl-encrypt ;) > http://www.emacswiki.org/emacs/DefaultEncrypt Interesting, thanks for the link! But that doesn't look like it can tell Gnus to use a certain key for certain contacts. I assume I'd need some sort of BBDB-based thing to work well. >> In my case, the problem was that the person just sent me the raw public >> key block; > > I’m surprised that this is possible. How, actually? > You might want to warn him/her not to do this. > > Without uid, you must remember the key fingerprint if you want to > use the key. This does not appear to be human friendly. Moreover, > as any link between key and e-mail address is missing, e-mail > software cannot offer automatic encryption. I think I was confused -- it's not that the key has no uid, but that the uid is just a string of letters, not an email address. Not human friendly, indeed! But I guess not actually a malformed public key. Still makes it very hard to exchange encrypted emails. >> 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... > > An owner of the secret key can use the gpg command adduid. > > You must not be able to add uids to other people’s keys. Otherwise, > you could redirect e-mails encrypted to them. Very good point!