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: Emacs core TLS support Date: Thu, 14 Jan 2010 10:38:44 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87d41csktn.fsf@lifelogs.com> References: <878wc1vfh3.fsf@lifelogs.com> <87r5ptpnz2.fsf@stupidchicken.com> <871vhsvkut.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263487229 4991 80.91.229.12 (14 Jan 2010 16:40:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jan 2010 16:40:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 14 17:40:22 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NVSk8-0000Oa-B2 for ged-emacs-devel@m.gmane.org; Thu, 14 Jan 2010 17:40:20 +0100 Original-Received: from localhost ([127.0.0.1]:55179 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVSk9-0006Jq-2X for ged-emacs-devel@m.gmane.org; Thu, 14 Jan 2010 11:40:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVSk3-0006JI-FE for emacs-devel@gnu.org; Thu, 14 Jan 2010 11:40:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVSk0-0006Hd-1p for emacs-devel@gnu.org; Thu, 14 Jan 2010 11:40:15 -0500 Original-Received: from [199.232.76.173] (port=50424 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVSjz-0006HW-Q0 for emacs-devel@gnu.org; Thu, 14 Jan 2010 11:40:11 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:23212) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NVSjz-0006uu-BJ for emacs-devel@gnu.org; Thu, 14 Jan 2010 11:40:11 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVSjy-0006Fj-1N for emacs-devel@gnu.org; Thu, 14 Jan 2010 11:40:10 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NVSjt-0000Hi-36 for emacs-devel@gnu.org; Thu, 14 Jan 2010 17:40:05 +0100 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jan 2010 17:40:05 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jan 2010 17:40:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 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" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.90 (gnu/linux) Cancel-Lock: sha1:yQR7rwFok4HysojCSKwdF2HKQOU= X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120010 Archived-At: On Thu, 14 Jan 2010 10:44:13 -0500 Stefan Monnier wrote: >> Simon Josefsson already put a patch together at >> http://josefsson.org/securemacs but it will probably need to be revised >> a bit, the last change was in 2002. It offers gnutls.el as an >> alternative to starttls.el, with a similar API. As long as this is >> optional and autodetected through configure, I don't see a downside. It >> may need to be folded into starttls.el but that's not a big deal. I'm >> cc-ing Simon in case he has any comments. SM> I think I'd be OK with adding a --with-gnutls configure option that SM> links Emacs against that library. Especially if we can provide SM> a compatibility footls.el library that works both --with-gnutls SM> and without. Is anyone interested in reviewing Simon's patch? I think it does exactly what you suggest except the compatibility layer, which should be trivial since Simon kept the invocation semantics the same between gnutls.el and starttls.el. Ted