From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: /srv/bzr/emacs/trunk r105466: epa-mail.el handles GnuPG groups. Date: Wed, 17 Aug 2011 00:51:32 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: dough.gmane.org 1313556704 8549 80.91.229.12 (17 Aug 2011 04:51:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2011 04:51:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Daiki Ueno Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 17 06:51:39 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QtY6M-0003GR-7s for ged-emacs-devel@m.gmane.org; Wed, 17 Aug 2011 06:51:38 +0200 Original-Received: from localhost ([::1]:39368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtY6L-0007Yp-2w for ged-emacs-devel@m.gmane.org; Wed, 17 Aug 2011 00:51:37 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtY6J-0007Yh-5A for emacs-devel@gnu.org; Wed, 17 Aug 2011 00:51:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtY6H-0004tb-T7 for emacs-devel@gnu.org; Wed, 17 Aug 2011 00:51:35 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:51588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtY6H-0004tV-PE for emacs-devel@gnu.org; Wed, 17 Aug 2011 00:51:33 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QtY6G-0002qa-Py; Wed, 17 Aug 2011 00:51:32 -0400 In-reply-to: (message from Daiki Ueno on Wed, 17 Aug 2011 10:32:03 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143347 Archived-At: epa has a nice feature to select keys interactively, which is based on (group-expanded) key information in elisp level. Try: C-u M-x epa-mail-encrypt and you will see the list of keys which will be used to encrypt, before doing actual encryption. This is useful for careful users who don't want to encrypt emails with untrusted/unwanted keys. I have nothing against it; but when C-u is not used, why check the keys? Why not just pass the specified recipients to GPG and let it check them? > This way, epa would not need to expand the groups, or know about them. > And maybe a lot of other code could be deleted too. The amount of code to be removed wouldn't be that much because `epg-expand-group' uses parsed groups info provided by: gpg --list-config --with-config I think we are talking about different code. I was talking about the code to check the keys. I thought all that could be deleted by making epa not check the keys. However, if that code is needed for the C-u case, then it could not be deleted. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/