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: SHA, MD, and openssl Date: Sun, 08 Dec 2013 17:46:09 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <877gbfvu4u.fsf@flea.lifelogs.com> References: <83mwkbyw6v.fsf@gnu.org> <52A4DE34.7060407@cs.ucla.edu> Reply-To: emacs-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1386542722 1330 80.91.229.3 (8 Dec 2013 22:45:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Dec 2013 22:45:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 08 23:45:29 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vpn6O-0004AM-Iq for ged-emacs-devel@m.gmane.org; Sun, 08 Dec 2013 23:45:28 +0100 Original-Received: from localhost ([::1]:41078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vpn6O-0001TJ-2n for ged-emacs-devel@m.gmane.org; Sun, 08 Dec 2013 17:45:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vpn6E-0001K3-E0 for emacs-devel@gnu.org; Sun, 08 Dec 2013 17:45:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vpn66-00088T-TE for emacs-devel@gnu.org; Sun, 08 Dec 2013 17:45:18 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:47758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vpn66-000887-Mq for emacs-devel@gnu.org; Sun, 08 Dec 2013 17:45:10 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vpn65-000420-JB for emacs-devel@gnu.org; Sun, 08 Dec 2013 23:45:09 +0100 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Dec 2013 23:45:09 +0100 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Dec 2013 23:45:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.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.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:8MmdR0o6NCqw8TsnLfiOGitLr8E= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:166223 Archived-At: On Sun, 08 Dec 2013 13:01:40 -0800 Paul Eggert wrote: PE> Eli Zaretskii wrote: >> However, isn't it true that openssl has some legal "issues" with >> patents and with its license, and shouldn't we prefer libnettle for >> those reasons? PE> I'm not aware of any patent issues for SHA or MD5. PE> As for as license, Emacs is linking against a library PE> that is normally distributed with the major components of PE> the operating system, so that part of the GPL applies. PE> It'd make sense for Emacs to use gnutls, nettle, libgcrypt, PE> etc. if available and if the performance is good. PE> This has been suggested on the gnulib list and patches PE> along those lines would be gratefully accepted. PE> See, for example: PE> http://lists.gnu.org/archive/html/bug-gnulib/2013-12/msg00024.html PE> http://lists.gnu.org/archive/html/bug-gnulib/2013-12/msg00026.html PE> http://lists.gnu.org/archive/html/bug-gnulib/2013-12/msg00036.html I wrote the full integration with libnettle+libhogweed as a patch (with tests, and bringing in all the interesting ciphers). It later turned out that GnuTLS, already a requirement, exposes all that at the C level in passthrough functions, so libnettle and libhogweed are not even a requirement. But that's an implementation detail, since GnuTLS requires libnettle and libhogweed anyway. Stefan rejected the patch because he wants to move the GnuTLS integration to a FFI layer[1]. I don't know when I'll have time to implement that myself so any help is welcome. Ted [1] https://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00168.html