unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: rms@gnu.org
Cc: miles@gnu.org, ueno@unixuser.org, ding@gnus.org, emacs-devel@gnu.org
Subject: Re: encrypt.el in No Gnus 0.7
Date: Sun, 04 Nov 2007 19:49:36 -0600	[thread overview]
Message-ID: <m2sl3lzcjz.fsf@lifelogs.com> (raw)
In-Reply-To: <E1IolaH-0005Th-Ev@fencepost.gnu.org> (Richard Stallman's message of "Sun, 04 Nov 2007 14:56:37 -0500")

On Sun, 04 Nov 2007 14:56:37 -0500 Richard Stallman <rms@gnu.org> wrote: 

RS>     My arguments are in a separate message, but essentially the difference
RS>     is between providing a GnuPG interface (epg) and providing an
RS>     architecture with user-supplied ciphers that does not depend on GnuPG or
RS>     any other external tools (encrypt.el).

RS> I just looked at encrypt.el.  It appears to support just GnuPG
RS> and "Built-in simple XOR".  And built-in simple XOR is just an
RS> example, not for real use.

The idea is to allow users to supply their own ciphers, and to support
other external utilities as users find it necessary.  I have not had the
time to write more ciphers.

RS> So what useful generality do we really get from this?

1) users don't have to install GnuPG to use simple obfuscation ciphers
(yes, this is sometimes useful).

2) users can be creative and experiment with ciphers in Emacs Lisp, and
share them with others without modifying GnuPG.

3) other external utilities can be supported.  As an example of a nice
use of multiple utilities, spam.el in the Gnus package supports a wide
array of anti-spam tools (including built-in Lisp); because it's easy to
write a backend for spam.el, users have contributed many (at least 4).

4) ciphers, being Emacs Lisp code, can do almost anything: SSH to a
remote machine, use BBDB, use IMAP, use version control...  There's just
no limit to what users can create within the encrypt.el API, which is
intentionally simple and non-invasive.  GnuPG can not match that
flexibility.

RS> By contrast, if Gnus uses EasyPG, I presume that gives
RS> various advantages in using GnuPG compared with the more
RS> direct use of GnuPG thru encrypt.el.  Could someone confirm
RS> that that is true?

It's not an A or B choice.  Both EasyPG and encrypt.el can be installed
and supported.  They are different libraries with different purposes.
One is a GnuPG interface, the other is a generic API.  At least within
Gnus I see no problem with using both.  Also, encrypt.el can use EasyPG
for GnuPG work, if that's necessary (and I think it's a good idea).

RS> All in all it looks like the best thing is to install EasyPG and make
RS> Gnus use it directly.  I'm willing to change my mind if shown a real
RS> advantage of encrypt.el, but I don't see one now.

I've explained this over and over.  I hope you will see the advantages
after all the explanations I've written.  If you need an example of a
more complicated and more creative Lisp cipher, I'll write one.  I do
hope the idea of giving the users creative freedom appeals to you.

Ted

  reply	other threads:[~2007-11-05  1:49 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-28  9:20 Gnus in Emacs is updated to No Gnus 0.7 Miles Bader
2007-10-28  9:46 ` Leo
2007-10-28  9:58 ` Miles Bader
2007-10-28 14:25   ` Reiner Steib
2007-10-28 14:49     ` Leo
2007-10-28 15:07       ` Miles Bader
2007-10-28 15:57         ` Reiner Steib
2007-10-29  7:50     ` Glenn Morris
2007-10-29 19:26       ` Reiner Steib
2007-10-29  2:56   ` Daiki Ueno
2007-10-29  8:30     ` Michael Albinus
2007-10-30  4:16       ` Daiki Ueno
2007-10-29  7:49   ` New Emacs facilities from Gnus (was: Gnus in Emacs is updated to No Gnus 0.7) Reiner Steib
2007-10-31 18:52     ` encrypt.el in No Gnus 0.7 (was: New Emacs facilities from Gnus) Ted Zlatanov
2007-10-31 20:36       ` encrypt.el in No Gnus 0.7 Reiner Steib
2007-10-31 21:05         ` Ted Zlatanov
2007-11-01  1:30           ` Daiki Ueno
2007-11-01 15:04             ` Ted Zlatanov
2007-11-01 15:24               ` Daiki Ueno
2007-11-01 23:08                 ` Richard Stallman
2007-11-02 14:12                   ` Ted Zlatanov
2007-11-02 21:36                     ` Stefan Monnier
2007-11-04 19:56                     ` Richard Stallman
2007-11-05  1:49                       ` Ted Zlatanov [this message]
2007-11-05  8:47                         ` Richard Stallman
2007-11-05 15:13                           ` Ted Zlatanov
2007-11-06  2:16                             ` Richard Stallman
2007-11-06 17:58                               ` Ted Zlatanov
2007-11-07  7:56                                 ` Richard Stallman
2007-11-07 14:34                                   ` Ted Zlatanov
2007-11-08  0:58                                     ` Daiki Ueno
2007-11-08  1:16                                       ` Daiki Ueno
2007-11-08 14:48                                         ` Ted Zlatanov
2007-11-08 23:11                                           ` Daiki Ueno
2007-11-09  0:19                                             ` Leo
2007-11-09  2:39                                             ` Ted Zlatanov
2007-11-09  6:39                                             ` Stephen J. Turnbull
2007-11-10  3:00                                               ` Richard Stallman
2007-11-09 10:40                                           ` Sascha Wilde
2007-11-07  7:56                                 ` Richard Stallman
2007-11-07 14:47                                   ` Ted Zlatanov
2007-11-06 21:11                           ` Reiner Steib
2007-11-07 15:01                             ` Ted Zlatanov
2007-11-07 16:12                               ` Stefan Monnier
2007-11-07 17:34                                 ` Ted Zlatanov
2007-11-07 16:47                               ` Reiner Steib
2007-11-07 17:25                                 ` Ted Zlatanov
2007-11-02 14:08                 ` Ted Zlatanov
2007-11-03  2:49                   ` Daiki Ueno
2007-11-05  1:27                     ` Ted Zlatanov
2007-11-05  1:37                       ` Daiki Ueno
2007-11-01  7:32       ` encrypt.el in No Gnus 0.7 (was: New Emacs facilities from Gnus) Richard Stallman
2007-11-01  8:15         ` Daiki Ueno
2007-11-01 14:47     ` New Emacs facilities from Gnus Simon Josefsson
2007-11-01 16:16       ` Daiki Ueno
2007-11-01 20:09       ` Reiner Steib
2007-11-02  2:06         ` Richard Stallman
2007-11-04 19:56     ` New Emacs facilities from Gnus (was: Gnus in Emacs is updated to No Gnus 0.7) Richard Stallman
2007-11-14 23:41       ` New Emacs facilities from Gnus Lars Magne Ingebrigtsen
2007-11-04 19:56     ` New Emacs facilities from Gnus (was: Gnus in Emacs is updated to No Gnus 0.7) Richard Stallman
2007-11-14 23:42       ` New Emacs facilities from Gnus Lars Magne Ingebrigtsen
2007-11-15 13:07         ` Richard Stallman
2007-11-15 19:54           ` Lars Magne Ingebrigtsen
2007-11-16 18:32             ` Richard Stallman
2007-11-17 12:29               ` ecomplete.el (was: New Emacs facilities from Gnus) Reiner Steib
2007-11-17 23:31                 ` Richard Stallman
     [not found]         ` <87lk8zr0e4.fsf@mocca.josefsson.org>
2007-11-17 12:28           ` Reiner Steib
2007-11-17 13:23             ` ecomplete.el Tassilo Horn
2007-11-18  2:18               ` ecomplete.el Bastien
2007-11-04 19:56     ` New Emacs facilities from Gnus (was: Gnus in Emacs is updated to No Gnus 0.7) Richard Stallman
2007-11-04 20:36       ` New Emacs facilities from Gnus Manoj Srivastava
2007-11-05  8:47         ` Richard Stallman
2007-11-22 20:50           ` Reiner Steib
2007-11-23  4:35             ` Richard Stallman
2007-11-04 21:12       ` Reiner Steib
2007-11-04 19:56     ` New Emacs facilities from Gnus (was: Gnus in Emacs is updated to No Gnus 0.7) Richard Stallman
2007-11-05 22:23       ` New Emacs facilities from Gnus Arne Jørgensen
2007-11-06  8:26         ` Stefan Monnier
2007-11-06  8:37         ` Richard Stallman
2007-11-06 22:35           ` Arne Jørgensen
2007-11-07  7:56             ` Richard Stallman
2007-11-07 16:58               ` Reiner Steib
2007-11-07 17:22                 ` Stefan Monnier
2007-11-07 18:02                   ` Reiner Steib
2007-11-07 18:20                     ` Stefan Monnier
2007-11-09 10:45                       ` Sascha Wilde
2007-11-09 12:14                         ` Reiner Steib
2007-11-22 20:30                           ` Reiner Steib
2007-11-06 11:33     ` New Emacs facilities from Gnus (was: Gnus in Emacs is updated to No Gnus 0.7) CHENG Gao
2007-11-06 18:45       ` New Emacs facilities from Gnus Reiner Steib
2007-11-07  3:35         ` CHENG Gao
2007-11-07  7:56       ` New Emacs facilities from Gnus (was: Gnus in Emacs is updated to No Gnus 0.7) Richard Stallman
2007-11-11 23:53     ` Richard Stallman
2007-11-13  1:39       ` New Emacs facilities from Gnus Ted Zlatanov
2007-11-13 20:03         ` Richard Stallman
2007-11-11 23:54     ` New Emacs facilities from Gnus (was: Gnus in Emacs is updated to No Gnus 0.7) Richard Stallman
2007-10-29 19:24   ` Gnus in Emacs is updated to No Gnus 0.7 Reiner Steib
2007-10-29 23:11     ` Miles Bader

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m2sl3lzcjz.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=rms@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).