From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#14380: 24.3; `network-stream-open-tls' fails in some imap servers on w32 Date: Sun, 19 May 2013 19:05:22 -0400 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: <87txly4ll9.fsf__5030.68276816538$1369004815$gmane$org@lifelogs.com> References: <87k3mw79iv.fsf@lifelogs.com> <87zjvr64lt.fsf_-_@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1369004810 12674 80.91.229.3 (19 May 2013 23:06:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 May 2013 23:06:50 +0000 (UTC) Cc: 14380@debbugs.gnu.org, emacs-devel@gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 20 01:06:50 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1UeCgk-0001Ro-9J for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 May 2013 01:06:50 +0200 Original-Received: from localhost ([::1]:48519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeCgj-0000CI-Q0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 May 2013 19:06:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeCgc-0000C0-4M for bug-gnu-emacs@gnu.org; Sun, 19 May 2013 19:06:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeCgU-0007QD-2U for bug-gnu-emacs@gnu.org; Sun, 19 May 2013 19:06:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeCgT-0007Q7-Uy for bug-gnu-emacs@gnu.org; Sun, 19 May 2013 19:06:33 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UeCgw-0003zx-2n; Sun, 19 May 2013 19:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sun, 19 May 2013 23:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14380 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 14380-submit@debbugs.gnu.org id=B14380.136900476515285 (code B ref 14380); Sun, 19 May 2013 23:07:02 +0000 Original-Received: (at 14380) by debbugs.gnu.org; 19 May 2013 23:06:05 +0000 Original-Received: from localhost ([127.0.0.1]:51964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UeCg0-0003yP-Cl for submit@debbugs.gnu.org; Sun, 19 May 2013 19:06:05 -0400 Original-Received: from mail-gg0-f182.google.com ([209.85.161.182]:39122) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UeCfx-0003xl-6N for 14380@debbugs.gnu.org; Sun, 19 May 2013 19:06:02 -0400 Original-Received: by mail-gg0-f182.google.com with SMTP id q2so712761ggc.41 for <14380@debbugs.gnu.org>; Sun, 19 May 2013 16:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=x-received:from:to:cc:subject:organization:references:x-face :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=I1kelOJDawq7wl+pJcsZt2sokS0GlPZGCm+czMHNRJo=; b=l7gyx4z/dtnXEpjUBV2EgN+kiUKVRRsNIrVS0fwc85e0wXmtovNbg8xxK+PfP1r/Ag IuBmsWbdWK2gU1TkqN6TDZCFl7a/F0qZPf6bQrkEnpwgnzeWKWH0ToAeWjDBK1zToqXN iBnjJZceVCFj8kaSZ8HOsmF1f1iZ6h6SbWU2E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:organization:references:x-face :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=I1kelOJDawq7wl+pJcsZt2sokS0GlPZGCm+czMHNRJo=; b=OfNWoF9Mn22PpwWnJnYozRrLHVN6KuZI6HfgsRlwPsZxxWaPaTa6CdfGv7oWhjywqY z6LROVmPzzXXxYcOCJ5NV9cdy5zxYb+lr0f9i/JZpEknNemf2VdxXbEuqG4DKVnwDiZJ RGVuM9EIM2qiK1+eQ/sRZ2PwlDsqE9zkC9iEUSp0UxGCgb9DoIa7tekOKPivJ567vHYM MRJhFQG/5QgWDCUh6EwgRvyxlhOYNpIgdUlsQpdjy5vGmzL0w2N2i/2uu6/aI435Tio1 MvgvBLhqVfvZEx6bFzP4ROhywTRb1CgYQDht2QcU1qIW9p41PsTTs/FdeL3i4CKaezW1 Gg7g== X-Received: by 10.236.25.165 with SMTP id z25mr32927395yhz.56.1369004725843; Sun, 19 May 2013 16:05:25 -0700 (PDT) Original-Received: from heechee (pool-72-93-26-80.bstnma.east.verizon.net. [72.93.26.80]) by mx.google.com with ESMTPSA id i21sm36089107yhl.15.2013.05.19.16.05.23 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 19 May 2013 16:05:24 -0700 (PDT) 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 Gmane-Reply-To-List: yes In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Sun, 19 May 2013 12:45:12 +0100") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-Gm-Message-State: ALoCoQnLHo9Yi1iGFKFsm2efI3qrKOMqptKJai8lgI/0xLnHUoRiR8c1J8B33O/s/ajSh27Px8ai X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74410 Archived-At: On Sun, 19 May 2013 12:45:12 +0100 Jo=E3o T=E1vora w= rote:=20 JT> On Sun, May 19, 2013 at 4:17 AM, Ted Zlatanov wrote: >> Wouldn't you rather get GnuTLS to work by default? Otherwise we serve >> the use case "I have no secure transport, so let me use a hack by >> default." JT> I don't understand. What is the hack here? External binary for TLS? Using an external binary to transport SSL or TLS is a hack IMO. >> My proposal would be to push out the next Emacs bundled with the latest >> GnuTLS DLLs, only support GnuTLS, provide users with instructions on >> updating them, and treat GnuTLS vulnerabilities as Emacs >> vulnerabilities. This is not ideal but IMO better than the current >> situation. JT> ... but then you have all these headaches. It's a headache I'm willing to endure for the sake of Emacs users. The alternative, which Jo=E3o is enduring now, is to punt the problem. This is a question for the Emacs maintainers: do you agree with me on the above plan? It would mean changing the way Mac OS X and W32 Emacs builds are distributed, to include the GnuTLS libraries with the build, and we'd have to implement a way (perhaps through the ELPA) to distribute updates to these libraries. JT> The fix I proposed aims for the status quo, that is: make external JT> TLS binary support slightly more robust. My test case is even smaller: JT> * W32 JT> * cygwin carrying the responsibility burden JT> * vanilla emacs working with tls/imap/gnus. Did you propose a patch? I would commit a patch but can't write it despite your great description of the problem. Ted