unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: Wherein I argue for the inclusion of libnettle in Emacs 24.5
Date: Tue, 04 Feb 2014 17:44:57 -0500	[thread overview]
Message-ID: <8761ouebva.fsf@lifelogs.com> (raw)
In-Reply-To: 52F15FBB.80005@cs.ucla.edu

On Tue, 04 Feb 2014 13:46:35 -0800 Paul Eggert <eggert@cs.ucla.edu> wrote: 

PE> On 02/04/2014 12:11 PM, Ted Zlatanov wrote:
>> Well, here's the rejection letter:
>> http://permalink.gmane.org/gmane.emacs.devel/163980
>> 
>> As I said then, feel free to add your vote of support.

PE> I don't see his email as rejecting entirely the idea of having Emacs C
PE> code invoke GnuTLS functionsthat it doesn't already invoke.  It's more
PE> that it's a negative (a tighter coupling between Emacs and GnuTLS),
PE> that could be overcome by other positives (more functionality that's
PE> actually useful).

Yes, the thread went on from there (see
http://comments.gmane.org/gmane.emacs.devel/163906 for the start of it).

PE> Do you have some clear and convincing use-cases?  That seemed to be
PE> his first objection.

I wrote plenty in the thread.  I got no votes of support and Stefan
thought my use cases were too abstract.  Now Lars has stated a specific
use case, which will perhaps convince more people.

PE> For example, would it help the performance of secure-hash considerably
PE> if it used the GnuTLS API to do checksums?  If we did that in Gnulib,
PE> the maintenance overhead to Emacs proper would be essentially zero,
PE> and the integration hassles for Emacs users would be no greater than
PE> they are now (since Emacs already uses GnuTLS if available).  For
PE> which real-life use-cases would this help?

It could help that libnettle and libhogweed have some well-optimized
hashing code.  At least MD5 and SHA1 checksums are used all over the
place in Emacs packages.  But we have our own implementations for those
in Emacs, so I don't think hashing makes for a convincing use case.

The interesting primitives are HMAC+PBKDF2; the Nettle ciphers applied
in CBC, ECB, and CTR modes; and the public key algorithms (RSA, DSA,
ECDSA).  Those are the building blocks I'd like.

Ted




  reply	other threads:[~2014-02-04 22:44 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-03 22:36 Wherein I argue for the inclusion of libnettle in Emacs 24.5 Lars Ingebrigtsen
2014-02-04  3:21 ` Stefan Monnier
2014-02-04 13:07   ` Ted Zlatanov
2014-02-04 14:44     ` Stephen J. Turnbull
2014-02-04 18:36       ` Ted Zlatanov
2014-02-04 22:44   ` Lars Ingebrigtsen
2014-02-05  2:28     ` Stefan Monnier
2014-02-05  2:39       ` Lars Ingebrigtsen
2014-02-05  7:00       ` Ted Zlatanov
2014-02-05  8:13         ` Stephen J. Turnbull
2014-02-05 13:41           ` Ted Zlatanov
2014-02-05 15:50             ` andres.ramirez
2014-02-05 17:00             ` chad
2014-02-05 18:55               ` Ted Zlatanov
2014-02-06  5:03             ` Stephen J. Turnbull
2014-02-06 11:49               ` Ted Zlatanov
2014-02-06 13:03                 ` Stefan Monnier
2014-02-06 14:28                   ` Ted Zlatanov
2014-02-06 15:05                 ` Stephen J. Turnbull
2014-02-06 15:54                   ` Ted Zlatanov
2014-02-07  2:06                     ` Stephen J. Turnbull
2014-02-07  6:51                       ` David Kastrup
2014-02-07  7:15                         ` Stephen J. Turnbull
2014-02-07  8:53                           ` David Kastrup
2014-02-07 10:00                             ` Stephen J. Turnbull
2014-02-07 10:49                               ` David Kastrup
2014-02-07 20:43                                 ` Stephen J. Turnbull
2014-02-07 21:42                                   ` Ted Zlatanov
2014-02-07 22:23                                     ` Stephen J. Turnbull
2014-02-07 15:30                               ` Ted Zlatanov
2014-02-07  9:07                     ` Daiki Ueno
2014-02-07 11:54                       ` Ted Zlatanov
2014-02-08  8:11                         ` Daiki Ueno
2014-02-08 16:59                           ` Ted Zlatanov
2014-02-05  8:19         ` Daiki Ueno
2014-02-04 13:10 ` Ted Zlatanov
2014-02-04 16:27   ` Paul Eggert
2014-02-04 18:32     ` Ted Zlatanov
2014-02-04 19:04       ` Paul Eggert
2014-02-04 20:11         ` Ted Zlatanov
2014-02-04 21:46           ` Paul Eggert
2014-02-04 22:44             ` Ted Zlatanov [this message]
2014-02-04 22:36           ` Lars Ingebrigtsen
2014-02-05  5:11             ` 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

  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=8761ouebva.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.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).