From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] GnuTLS support on Woe32 Date: Mon, 07 Mar 2011 17:34:56 +0100 Organization: Programmerer Ingebrigtsen Message-ID: References: <87ipvwl1nx.wl%claudio.bley@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299515734 1743 80.91.229.12 (7 Mar 2011 16:35:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2011 16:35:34 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 07 17:35:30 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 1PwdP4-0002xr-Od for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2011 17:35:26 +0100 Original-Received: from localhost ([127.0.0.1]:57981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwdP4-0003xY-8D for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2011 11:35:26 -0500 Original-Received: from [140.186.70.92] (port=33829 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwdOs-0003vE-4o for emacs-devel@gnu.org; Mon, 07 Mar 2011 11:35:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwdOo-0000Kv-35 for emacs-devel@gnu.org; Mon, 07 Mar 2011 11:35:14 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:53013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwdOn-0000Ko-Oi for emacs-devel@gnu.org; Mon, 07 Mar 2011 11:35:10 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PwdOm-0002qL-1O for emacs-devel@gnu.org; Mon, 07 Mar 2011 17:35:08 +0100 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2011 17:35:08 +0100 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Mar 2011 17:35:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEVNLCZGJiJ0SzwnERE/ IR5ZNS2vfWc2GxtodKyLAAACc0lEQVQ4jW2ST6udMBDFJ8W02wzE3m0J6Bdw4dbAlGxzhekHEJ7r Xgzk6/fE++9Bn6Jgfjlz5kykIS+LrmHoQwjjuL8uClfnbRh+qQLsn4Bmkt+rql5XaD4BdzVOg2qv DmQb34DINIDHfnYhvva6Drkfgn4L4V2NvHfYno1VGIUN1Z4gZrXqxGorF16tEYkjNYZ5fYAHIuMX MtZESLKubxcybMTZzPJafwKgSGSbx72t7fQnNj56claJ9CnZtn2kbHxis2SrDNF6R2MIRJQiO8qq 5PJLA2A8S8TmQVu9t4a6crs45IZJ5xQ9DE9FF7sYXYY3n7UeKcl5QZLYDBydIYeHgg17WdZBzdoa fs6FLPrChP/s437O6KM1BhH1lvzNxO/b3k5v3D8w/w0EtQ2Jjys2gwAD7IOilDqMNv7czgPaxg8Y hWEdCNnIs2ccPfO1TRPTCUEJK8TeIIpjQeuYak/ojRjEGvGL8xFTK8yYnKqlggFy+8pekvO3GJHM IYRjYy0lnC9fIImRcXT42ci6jvtrKSw/vE+1/nVsmZEO8xDKkmInUmqqJbIvOGu6lCJu6KQsUSRK LYuYdnAkkm69MnyLLKiVajQtFd1KXZxeU5QSk9RWyhkDIAlim1HXC7ZXtL/4hkoqBc6pNO+mgAFC O6qltq/UWl1qOgQ/BxhAPWqdcSe02m4p0iYKME21yVKdRaZaikf8nmma5jodJR0zStZpBr0kHxea 8AE4p6kexzHVOaFPxsDqgfUmO04jGCI/3KlC0q47OI5SKuqYpjgFrV6dm9/sS3HG07l+vk6O55jQ QKLp/2ueEPYLAAlSfQWmepH0D56l/qI52EqJAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Mark Kozelek's _Little Drummer Boy (1)_: "Duk Koo Kim" User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:kc0IKoZTgidiTGNR78py8VIb7X4= 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:136837 Archived-At: 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. 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. 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'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. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen