From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85488 Path: news.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.emacs.gnus.general Subject: Re: importing PGP keys Date: Tue, 20 Jan 2015 05:49:41 -0500 Message-ID: References: <87d269ohlm.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1421771113 18370 80.91.229.3 (20 Jan 2015 16:25:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2015 16:25:13 +0000 (UTC) Cc: ding@gnus.org To: Eric Abrahamsen Original-X-From: ding-owner+M33730@lists.math.uh.edu Tue Jan 20 17:25:09 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 1YDbc4-00045Y-HA for ding-account@gmane.org; Tue, 20 Jan 2015 17:25:09 +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 1YDbbD-0008Vr-OE; Tue, 20 Jan 2015 10:24:15 -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 1YDWNc-00070S-Qz for ding@lists.math.uh.edu; Tue, 20 Jan 2015 04:49:52 -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 1YDWNa-0001Bw-8K for ding@lists.math.uh.edu; Tue, 20 Jan 2015 04:49:52 -0600 Original-Received: from linuxpal.mit.edu ([18.62.1.14]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1YDWNX-0002mo-U8 for ding@gnus.org; Tue, 20 Jan 2015 11:49:48 +0100 Original-Received: by linuxpal.mit.edu (Postfix, from userid 9545) id F30B516078; Tue, 20 Jan 2015 05:49:44 -0500 (EST) OpenPGP: id=098ED60E X-Hashcash: 1:20:150120:eric@ericabrahamsen.net::tKHVupBezTK+Sdym:000000000000000000000000000000000000007Kxd X-Hashcash: 1:20:150120:ding@gnus.org::tKHVupBezTK+Sdym:00008l6Z In-Reply-To: <87d269ohlm.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 20 Jan 2015 18:45:57 +0800") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (berkeley-unix) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85488 Archived-At: --=-=-= Content-Type: text/plain Eric Abrahamsen writes: > So someone just emailed me their public PGP key. I can save the MIME > attachment to a file, then call "gpg --import thekey.key", but the > resulting key isn't associated with their email address, and therefore > I'm not able to send them encrypted emails, at least not by default. > > Does anyone have a clever function for importing an attached key and > automatically associating it with the email address which sent it? Or > somehow doing it after the fact? I've been googling for a while now, and > haven't found the answer... There are three separate issues lurking here: 1) getting the key to gpg --import 2) how to record an email address -> pubkey mapping 3) how to do (2) automatically 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? Also, are you using epg? It seems that is the preferred way (over pgg) these days, and it's what I use. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlS+MsUACgkQH9p66AmO1g5gjgCfd/3gW7pO/BfKnuRVDxV8bHms BDgAnRME6xdjXqEngfOhZ0994OcSt6Qy =z+Py -----END PGP SIGNATURE----- --=-=-=--