From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#27658: 26.0.50; response parsing hangs when using tls.el and gnutls-cli.exe on Windows Date: Thu, 13 Jul 2017 18:06:38 +0100 Message-ID: References: <87bmoqfqz8.fsf@users.sourceforge.net> <87wp7deu0h.fsf@users.sourceforge.net> <83zic8gwwt.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403043614547c840b055435f668" X-Trace: blaine.gmane.org 1499965700 11978 195.159.176.226 (13 Jul 2017 17:08:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 13 Jul 2017 17:08:20 +0000 (UTC) Cc: 27658@debbugs.gnu.org, Noam Postavsky To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 13 19:08:16 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVhb1-0002il-GG for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jul 2017 19:08:11 +0200 Original-Received: from localhost ([::1]:33159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVhb6-0002Uy-VG for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jul 2017 13:08:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVhaw-0002U8-3p for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 13:08:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVhas-00011m-T2 for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 13:08:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34627) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVhas-00011e-Pi for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 13:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dVhas-0007MP-HK for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2017 13:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jul 2017 17:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27658 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 27658-submit@debbugs.gnu.org id=B27658.149996563728236 (code B ref 27658); Thu, 13 Jul 2017 17:08:02 +0000 Original-Received: (at 27658) by debbugs.gnu.org; 13 Jul 2017 17:07:17 +0000 Original-Received: from localhost ([127.0.0.1]:37304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVha8-0007LM-U7 for submit@debbugs.gnu.org; Thu, 13 Jul 2017 13:07:17 -0400 Original-Received: from mail-ua0-f170.google.com ([209.85.217.170]:33192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVha6-0007L8-HK for 27658@debbugs.gnu.org; Thu, 13 Jul 2017 13:07:14 -0400 Original-Received: by mail-ua0-f170.google.com with SMTP id g13so18965332uaj.0 for <27658@debbugs.gnu.org>; Thu, 13 Jul 2017 10:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XM7UvklKhEeXwSo92Hkr8iSkcCDEV+12PGEDCXbxIeQ=; b=Hec2SxvkXr7sknujDwlJZ/ssgumfMedsP54iVA2lt0PAwt5Y/0LWkxe/haVh0Te/ik NYebliubheK82c6boPxy+tZSKIjCGyP6uSlrfmpEsXptoPlL44rOhHvXWkQefJvBMU3K kqsO4y9gQ9sub42Vv2PjXtW954XuSlGvb2pxYG2BqELFrabXZ0d6qtvPWiFI64zuoosz HefoCYpzxY/o30BkdLpk7Lpe5YPtvj0HJGQVX2/wcVVHFQFAC5SXZuOWRgz8TLNBiv4M ZWL/TQecjw2ht2xefURxeB1GdA90I4sm3kjB2jgq5SA+Hhn4iPwkOR6KqOqCGwScSzN0 VJkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XM7UvklKhEeXwSo92Hkr8iSkcCDEV+12PGEDCXbxIeQ=; b=XK1h75ijwpo9DiYTp2dIQ3eDUligJ7Oum2vplHBpt1sabbsxs1OCMbTHFKbE/ZUEmJ /nVQw4pTz2HWMzBFxoHcrDdr1vSWfqrunY0B1Gk/A9MifCQfBi7TZXnllciiEcDaPoXk ETUBckda5QOCBHwFxnNpE/GXtA9ruUqtQRY7BEpbAQx+JDRiTkVOvS9KHAwhCFIQGKGC wuOxzgeYcZggUlVWccrYWnN7k8Vdp32SlN2EcEemlUPSbEs+3bW+HTTkUSMB4BAwlE4H v9QGHfrx0R58L8Zrem1t7Vi+vaE4h9IqhTW24Vi5+BnjFDcaCZdty0yQZbMiDBt+k6IB 0QSQ== X-Gm-Message-State: AIVw111gzUgNgQkv3MLsPDXSKRLKtIfpgW3HY1tifWR6Z/ivjCyFvU0/ 8M8/PILXePMYEehAu7E0HzrJqQjofg== X-Received: by 10.176.76.36 with SMTP id l36mr2551559uaf.63.1499965628907; Thu, 13 Jul 2017 10:07:08 -0700 (PDT) Original-Received: by 10.176.78.1 with HTTP; Thu, 13 Jul 2017 10:06:38 -0700 (PDT) In-Reply-To: <83zic8gwwt.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:134513 Archived-At: --f403043614547c840b055435f668 Content-Type: text/plain; charset="UTF-8" On 13 Jul 2017 16:49, "Eli Zaretskii" wrote: > > From: Richard Copley > > Date: Thu, 13 Jul 2017 03:42:56 +0100 > > Cc: 27658@debbugs.gnu.org > > > > > Hmm, and I see that #15905 was closed as wontfix too, so it's basically > > > unsupported at this point even on GNU/Linux platforms. We should mark > > > it as obsolete at least, if not remove it entirely. > > > > That's a shame, because the library-based implementation has some flaws > > too. I've been trying to debug where that goes wrong, when it accepts > certs > > for the wrong host and self-signed certs. (Test case in Glyph's blog > post.) > > I didn't learn much. Never mind :) > > Are you sure that blog is still accurate? It's quite old, and newer > versions of the GnuTLS library became meanwhile available. > No doubt some stuff there is no longer valid, but the test case should succeed. I have the latest release of GnuTLS and I did my own testing and debugging using gnutls-cli.exe before writing this bug report. I mentioned the library in my last message. I find (on my own system today) that the Emacs TLS implementation using the library (in gnutls.{c,el}) works except that it accepts bad certificates. I don't think that's stated in the blog at all -- the blog is also mostly about the implementation based on an external program (in tls.el). The possible bug in gnutls.{c,el} or the library itself, the one I was talking about in my last message, appears to be what is spoken about here(1) in November 2015 and here(2) in February 2016. As far as I know it doesn't have an Emacs bug report. (1) https://emacs.stackexchange.com/questions/18079/emacs-tls-check-is-still-ill-configured (2) https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816063 --f403043614547c840b055435f668 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

= On 13 Jul 2017 16:49, "Eli Zaretskii" <eliz@gnu.org> wrote:
> From: Richard Co= pley <rcopley@gma= il.com>
> Date: Thu, 13 Jul 2017 03:42:56 +0100
> Cc: 27658@d= ebbugs.gnu.org
>
> > Hmm, and I see that #15905 was closed as wontfix too, so it's= basically
> > unsupported at this point even on GNU/Linux platforms.=C2=A0 We s= hould mark
> > it as obsolete at least, if not remove it entirely.
>
> That's a shame, because the library-based implementation has some = flaws
> too. I've been trying to debug where that goes wrong, when it acce= pts certs
> for the wrong host and self-signed certs. (Test case in Glyph's bl= og post.)
> I didn't learn much. Never mind :)

Are you sure that blog is still accurate?=C2=A0 It's quite old, and new= er
versions of the GnuTLS library became meanwhile available.
=

No doubt some stuff there is no longer valid, but the test c= ase should
succeed.

I have the latest release of GnuTLS and I did= my own testing and
debugging using gnutls-cli.exe before writing this b= ug report.

I mentioned the library in my last message. I find (on my= own system
today) that the Emacs TLS implementation using the library (= in
gnutls.{c,el}) works except that it accepts bad certificates. I don&#= 39;t
think that's stated in the blog at all -- the blog is also most= ly
about the implementation based on an external program (in tls.el).
The possible bug in gnutls.{c,el} or the library itself, the one I was=
talking about in my last message, appears to be what is spoken abouthere(1) in November 2015 and here(2) in February 2016. As far as I
know= it doesn't have an Emacs bug report.

(1) https://emacs.stackexchange.com/questions/18079/emacs-tls-check-is-still= -ill-configured
(2) https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D= 816063

--f403043614547c840b055435f668--