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: using GnuTLS 3.x and certificate checks Date: Thu, 10 Oct 2013 19:20:09 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87d2ncr9w6.fsf@flea.lifelogs.com> References: <87zjxumbjf.fsf@wanadoo.es> <87sj3jaqfs.fsf@wanadoo.es> <83y5dazmpt.fsf@gnu.org> <86ehf2zefk.fsf@gmail.com> <86li9az2sw.fsf@gmail.com> <83hajyz1mi.fsf@gnu.org> <867gku88lx.fsf@gmail.com> <83a9pqysc5.fsf@gnu.org> <86sj3i6ndd.fsf@gmail.com> <83620eyonh.fsf@gnu.org> <86620dqmsd.fsf@gmail.com> <83r4j1xmim.fsf@gnu.org> <86y5d9p4oh.fsf@gmail.com> <83ppylxidt.fsf@gnu.org> <86txnxoz1k.fsf@gmail.com> <83hajxxd5c.fsf@gnu.org> <874nfxt219.fsf_-_@lifelogs.com> <87y5aozj3l.fsf@lifelogs.com> <87k3m8wa44.fsf@lifelogs.com> <877gi7wfr7.fsf@lifelogs.com> <87pprgzplk.fsf@flea.lifelogs.com> 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 1381447226 31149 80.91.229.3 (10 Oct 2013 23:20:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Oct 2013 23:20:26 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 11 01:20:25 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 1VUPWn-0005xX-Fh for ged-emacs-devel@m.gmane.org; Fri, 11 Oct 2013 01:20:21 +0200 Original-Received: from localhost ([::1]:51680 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUPWm-0006jF-QR for ged-emacs-devel@m.gmane.org; Thu, 10 Oct 2013 19:20:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUPWe-0006j4-R7 for emacs-devel@gnu.org; Thu, 10 Oct 2013 19:20:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUPWY-0001K1-Vt for emacs-devel@gnu.org; Thu, 10 Oct 2013 19:20:12 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:34298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUPWY-0001Hg-Pw for emacs-devel@gnu.org; Thu, 10 Oct 2013 19:20:06 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VUPWX-0005nK-4u for emacs-devel@gnu.org; Fri, 11 Oct 2013 01:20:05 +0200 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 ; Fri, 11 Oct 2013 01:20:05 +0200 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 ; Fri, 11 Oct 2013 01:20:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 21 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:Q+hqpg6MNrb7oipdQEwh7BqqvSA= 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:164070 Archived-At: On Mon, 07 Oct 2013 18:24:39 -0400 Ted Zlatanov wrote: TZ> I found that many platforms are still on GnuTLS 2.x. Unfortunately I TZ> think we should keep compatibility with 2.x for a while longer and make TZ> the 3.x features optional. I hate that ambiguity and testing is made TZ> harder, but OTOH we would keep supporting many users. TZ> Here's a simple patch that finds GnuTLS 3.x and sets HAVE_GNUTLS3. In TZ> that case we set the audit_log function; otherwise we keep TZ> compatibility. Note the configure message that GnuTLS 3.x is highly TZ> recommended. TZ> Let me know what you think and if I should be more forceful here. If I TZ> should keep the compatibility path I will also add a TZ> `gnutls-library-version' string variable so ELisp code can use it and TZ> start moving on the tasks listed in this thread. Last chance to comment... I will commit the change tomorrow if there are no objections. Ted