From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: NaCl support for Emacs Date: Mon, 09 Jan 2012 13:17:00 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87wr90kag3.fsf@lifelogs.com> References: <87ipkq6yy5.fsf@lifelogs.com> <87boqi6tzz.fsf@linux-hvfx.site> <87ehve3ul8.fsf@lifelogs.com> <87lipl22xm.fsf@lifelogs.com> <87boqh20ha.fsf@lifelogs.com> <871urc46c9.fsf@uwakimon.sk.tsukuba.ac.jp> <739bsoysp.fsf@news.eternal-september.org> <87ty47r5yt.fsf@lifelogs.com> <87k452p5u3.fsf@lifelogs.com> <87liphne9e.fsf_-_@lifelogs.com> <87boqcn76b.fsf@lifelogs.com> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1326133047 3282 80.91.229.12 (9 Jan 2012 18:17:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jan 2012 18:17:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 09 19:17:23 2012 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 1RkJmd-00018R-83 for ged-emacs-devel@m.gmane.org; Mon, 09 Jan 2012 19:17:23 +0100 Original-Received: from localhost ([::1]:60121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkJmc-0007Vz-GU for ged-emacs-devel@m.gmane.org; Mon, 09 Jan 2012 13:17:22 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkJmW-0007PC-K8 for emacs-devel@gnu.org; Mon, 09 Jan 2012 13:17:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkJmS-000843-P5 for emacs-devel@gnu.org; Mon, 09 Jan 2012 13:17:16 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:46964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkJmS-00083t-F8 for emacs-devel@gnu.org; Mon, 09 Jan 2012 13:17:12 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RkJmQ-00013Z-S1 for emacs-devel@gnu.org; Mon, 09 Jan 2012 19:17:10 +0100 Original-Received: from c-76-28-40-19.hsd1.vt.comcast.net ([76.28.40.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jan 2012 19:17:10 +0100 Original-Received: from tzz by c-76-28-40-19.hsd1.vt.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jan 2012 19:17:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-76-28-40-19.hsd1.vt.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:2XJrcrqXpcw4CKAiAQ3dQj5bbCQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:147525 Archived-At: On Mon, 9 Jan 2012 18:48:58 +0100 Carsten Mattner wrote: CM> NaCl's design goals, implementation and patent cleanness make it attractive CM> to anyone who's had to make use of any kind of cipher functionality. I think it makes sense to provide a GNU ELPA package with NaCl, absolutely. But it's provided as a static library and I don't know how to convert it to dynamically loaded, and Emacs doesn't have facilities to load arbitrary dynamic libraries at runtime. The rest (packaging, on-activation compile) I can handle in the package itself. If you want to help out... or anyone else... let me know off-list. CM> I'd definitely favor NaCl, just because they provide a simple API with known CM> safe defaults. Way safer than using OpenSSL without a the required CM> crypto background. CM> Most bugs surface in combination of the different tools from a crypto lib, CM> because too much code is written without being aware of all the semantics of CM> the used ciphers and modes. Look at libnettle as Eli suggested, I'm leaning towards it since we already have it through GnuTLS, for the Emacs core. I still would like to provide the NaCl support as a GNU ELPA package. Thanks Ted