[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /srv/bzr/emacs/trunk r105466: epa-mail.el handles GnuPG groups.

From: Richard Stallman
Subject: Re: /srv/bzr/emacs/trunk r105466: epa-mail.el handles GnuPG groups.
Date: Wed, 17 Aug 2011 00:51:32 -0400

    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

Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
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 via email to

[Prev in Thread] Current Thread [Next in Thread]