From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nyc4bos@aol.com Newsgroups: gmane.emacs.bugs Subject: bug#11205: 24.0.95; starttls-use-gnutls no longer being honored Date: Mon, 09 Apr 2012 23:03:08 -0400 Message-ID: <847gxomgpf.fsf@aol.com> References: <8462d9k9lr.fsf@aol.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1334027050 21727 80.91.229.3 (10 Apr 2012 03:04:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2012 03:04:10 +0000 (UTC) Cc: 11205@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 10 05:04:10 2012 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 1SHRNJ-00031z-Na for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Apr 2012 05:04:09 +0200 Original-Received: from localhost ([::1]:50713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHRNJ-0007cb-0g for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Apr 2012 23:04:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHRNF-0007cE-UT for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2012 23:04:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SHRNE-0008E0-3c for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2012 23:04:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHRND-0008Dr-U6 for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2012 23:04:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SHROA-0006lm-6g for bug-gnu-emacs@gnu.org; Mon, 09 Apr 2012 23:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nyc4bos@aol.com Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Apr 2012 03:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11205 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11205-submit@debbugs.gnu.org id=B11205.133402706225976 (code B ref 11205); Tue, 10 Apr 2012 03:05:02 +0000 Original-Received: (at 11205) by debbugs.gnu.org; 10 Apr 2012 03:04:22 +0000 Original-Received: from localhost ([127.0.0.1]:47714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHRNW-0006ku-8F for submit@debbugs.gnu.org; Mon, 09 Apr 2012 23:04:22 -0400 Original-Received: from imr-da01.mx.aol.com ([205.188.105.143]:59074) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHRNR-0006ki-Qs for 11205@debbugs.gnu.org; Mon, 09 Apr 2012 23:04:20 -0400 Original-Received: from mtaout-mb06.r1000.mx.aol.com (mtaout-mb06.r1000.mx.aol.com [172.29.41.70]) by imr-da01.mx.aol.com (8.14.1/8.14.1) with ESMTP id q3A33EEa000436; Mon, 9 Apr 2012 23:03:14 -0400 Original-Received: from STATION03 (173-13-86-254-NewEngland.hfc.comcastbusiness.net [173.13.86.254]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-mb06.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 20528E000086; Mon, 9 Apr 2012 23:03:14 -0400 (EDT) In-Reply-To: (Glenn Morris's message of "Sun, 08 Apr 2012 21:04:35 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (windows-nt) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20110426; t=1334026994; bh=PJ1jPJXjyGTR2T8ZQy2l9ffhRwAkdDzMIvQ49Qqu5ak=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=Y9yb05Ah9kv4MtvpN8QbcpjsijCziZyazRkLNk3GMUxWKeec7CtMSf7u5gpo90C6O 0U8eu0FfYvwRuB6L/MpDApHXMRfkG+T1D96ibfajJaZdiVAtOD171+1GYt77b/kbiG UCGmJ1d+tEieUldkVtuja5wc+ch13EXLV6kQj5y4= X-AOL-SCOLL-SCORE: 0:2:483708352:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d29464f83a2f2677e X-AOL-IP: 173.13.86.254 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 (newer, 2) 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:58675 Archived-At: Glenn Morris writes: > nyc4bos@aol.com wrote: > >> How do I get Gnus (and presumably other Emacs networked programs) to >> not use GnuTLS when `starttls-use-gnutls' is nil? > > etc/NEWS > > *** SMTPmail now uses encrypted connections (via STARTTLS) by default > if the mail server supports them. This uses either built-in GnuTLS > support, or the starttls.el library. Customize `smtpmail-stream-type' > to change this. As my test of an Emacs networked-using package like Gnus, I set my Gnus variables to ONLY use NNTP, not SMTP (nor any other mail-related protocols like IMAP) My Gnus variable are: (setq gnus-select-method '(nntp "news" (nntp-address "news.gmane.org") Here is the *Message* buffer demostrating the results: gnutls.c: [1] (Emacs) GnuTLS library loaded: libgnutls-28.dll gnutls.c: [1] (Emacs) allocating credentials gnutls.c: [1] (Emacs) gnutls callbacks gnutls.c: [1] (Emacs) gnutls_init gnutls.c: [1] (Emacs) got non-default priority string: NORMAL gnutls.c: [1] (Emacs) setting the priority string news.gmane.org certificate could not be verified. gnutls.c: [1] (Emacs) certificate signer was not found: news.gmane.org gnutls.c: [1] (Emacs) certificate validation failed: news.gmane.org news.gmane.org is the newserver (NNTP). Thus the setting of `smtpmail-stream-type' doesn't apply. It applies only when SENDING mail (SMTP) when smtpmail.el is loaded and used. At least, I don't believe it is loaded/used until I compose a mail or news message and (perhaps) message.el or something else loads smtpmail.el. I don't believe customizing `smtpmail-stream-type` helps me in this situation (not using built-in GnuTLS) unless I'm sending mail or news. > >> [Presumably, I can make the GnuTLS DLLs unavailable temporarily to >> achive this, but setting the variable `starttls-use-gnutls' to nil >> used to accomplish this, i.e. this is a regression.] > > No previous release of Emacs has had built-in GnuTLS support. That's true, but setting `starttls-use-gnutls' to nil prevented (external) GnuTLS (gnutls-cli) from being used in released versions of Emacs. Therefore, I believe that this is a regression with regards to Emacs 23.x since GnuTLS (whether built-in or external) is being used when 'starttls-use-gnutls' is nil. I believe the value of `starttls-program' (openssl, for one exmple of a user setting this value) should be used instead, regardless of built-in GnuTLS being compiled in (and its required DLLs being available), as it used to be in Emacs 23.x. Thanks.