all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Daiki Ueno <ueno@unixuser.org>
Cc: emacs-devel@gnu.org
Subject: Re: /srv/bzr/emacs/trunk r105466: epa-mail.el handles GnuPG groups.
Date: Wed, 17 Aug 2011 00:51:32 -0400	[thread overview]
Message-ID: <E1QtY6G-0002qa-Py@fencepost.gnu.org> (raw)
In-Reply-To: <m3aab84ycs.fsf-ueno@unixuser.org> (message from Daiki Ueno on Wed, 17 Aug 2011 10:32:03 +0900)

    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/



  reply	other threads:[~2011-08-17  4:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1QtB5W-00016k-0J@vcs.savannah.gnu.org>
     [not found] ` <m339h1x074.fsf-ueno@unixuser.org>
     [not found]   ` <E1QtTBx-0000ye-Lt@fencepost.gnu.org>
2011-08-17  1:32     ` /srv/bzr/emacs/trunk r105466: epa-mail.el handles GnuPG groups Daiki Ueno
2011-08-17  4:51       ` Richard Stallman [this message]
2011-08-17  5:09         ` Daiki Ueno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1QtY6G-0002qa-Py@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=ueno@unixuser.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.