From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: claudio.bley@gmail.com (Claudio Bley) Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] GnuTLS support on Woe32 Date: Mon, 07 Mar 2011 22:33:47 +0100 Message-ID: <87hbbewr7o.wl%claudio.bley@gmail.com> References: <87ipvwl1nx.wl%claudio.bley@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: dough.gmane.org 1299533655 14733 80.91.229.12 (7 Mar 2011 21:34:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2011 21:34:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 07 22:34:11 2011 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.69) (envelope-from ) id 1Pwi4B-0000tV-1t for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2011 22:34:11 +0100 Original-Received: from localhost ([127.0.0.1]:48267 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pwi4A-0003wv-IX for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2011 16:34:10 -0500 Original-Received: from [140.186.70.92] (port=58729 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pwi42-0003wC-PA for emacs-devel@gnu.org; Mon, 07 Mar 2011 16:34:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pwi41-0001RW-Gx for emacs-devel@gnu.org; Mon, 07 Mar 2011 16:34:02 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:46399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pwi41-0001RE-4t for emacs-devel@gnu.org; Mon, 07 Mar 2011 16:34:01 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pwi40-0000pF-96 for emacs-devel@gnu.org; Mon, 07 Mar 2011 22:34:00 +0100 Original-Received: from dslb-188-106-012-040.pools.arcor-ip.net ([188.106.12.40]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2011 22:34:00 +0100 Original-Received: from claudio.bley by dslb-188-106-012-040.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2011 22:34:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 42 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dslb-188-106-012-040.pools.arcor-ip.net In-Reply-To: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/23.1 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Mail-Copies-To: never 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.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:136848 Archived-At: At Mon, 07 Mar 2011 17:34:56 +0100, Lars Magne Ingebrigtsen wrote: > > claudio.bley@gmail.com (Claudio Bley) writes: > > > +(eval-and-compile > > + (when (fboundp 'gnutls-boot) (require 'gnutls))) > > + > > (defun starttls-negotiate-gnutls (process) > > I think starttls.el should probably be left as is -- that is, use it > only for doing the STARTTLS connections based on the external > programs. For me, external programs don't work (reliably, satisfactory, fast). > That way it can be decided on a higher level whether to use the built-in > version or not. Which is particularly important since there are still > rather serious bugs in the built-in gnutls support. OK, but changing starttls.el in this manner, makes a whole bunch of other libraries suddenly work which require starttls.el. > Have a look at proto-stream.el (currently residing in the Gnus > directory, but should be moved to the net directory at some point), > which provides comprehensive support for TLS/STARTTLS based on > starttls.el and/or gnutls.c (including opportunistic upgrades based on > the capabilities of the server). I'll look into it. Thanks. > I've been meaning to change pop3.el and smtpmail.el to use > open-protocol-stream to get these nice features working automatically > there, too, but I haven't gotten around to it yet. But I want to receive/send Emails now ;-) As you can see I'm using Wanderlust because Gnus just didn't cut it (haven't tried the trunk version, though). Has POP3 UIDL support been implemented in the meantime? - Claudio