From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs Subject: bug#9017: 24.0.50; gnutls.c: [0] (Emacs) fatal error: Key usage violation in certificate has been detected. Date: Wed, 13 Jul 2011 11:06:51 -0500 Message-ID: <19997.49819.733446.452844@gargle.gargle.HOWL> References: <87ei22yzz3.fsf@niu.edu> <19990.21514.711483.515100@gargle.gargle.HOWL> <19995.450.645561.299970@gargle.gargle.HOWL> <19995.2276.68599.608421@gargle.gargle.HOWL> <19995.3751.825437.128524@gargle.gargle.HOWL> <19995.6586.299315.729607@gargle.gargle.HOWL> <19997.45936.636066.132554@gargle.gargle.HOWL> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1310576105 10330 80.91.229.12 (13 Jul 2011 16:55:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2011 16:55:05 +0000 (UTC) Cc: 9017@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 13 18:55:00 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh2iB-0006BN-Q1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jul 2011 18:54:59 +0200 Original-Received: from localhost ([::1]:48457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh2iA-0008Qr-G3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jul 2011 12:54:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh1yo-0003Kp-8Q for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2011 12:08:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qh1yl-0003V9-Lg for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2011 12:08:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh1yl-0003Uz-7z for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2011 12:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qh1yk-00021i-K2; Wed, 13 Jul 2011 12:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Roland Winkler" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jul 2011 16:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9017 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9017-submit@debbugs.gnu.org id=B9017.13105732307712 (code B ref 9017); Wed, 13 Jul 2011 16:08:02 +0000 Original-Received: (at 9017) by debbugs.gnu.org; 13 Jul 2011 16:07:10 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh1xu-00020K-0x for submit@debbugs.gnu.org; Wed, 13 Jul 2011 12:07:10 -0400 Original-Received: from tfkpsv.physik.uni-erlangen.de ([131.188.164.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh1xs-000208-3i for 9017@debbugs.gnu.org; Wed, 13 Jul 2011 12:07:08 -0400 Original-Received: from regnitz (unknown [218.22.26.51]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id 95CEF39814; Wed, 13 Jul 2011 18:06:57 +0200 (CEST) In-Reply-To: X-Mailer: VM 8.2 trial under 23.3.1 (x86_64-unknown-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 13 Jul 2011 12:08:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:48878 Archived-At: On Wed Jul 13 2011 Lars Magne Ingebrigtsen wrote: > Did you try what I suggested? > > (defun gnutls-available-p () nil) > > and leaving `smtpmail-stream-type' alone? Yes. -- Sometimes I loose track of what I have been doing. My previous email really refers to gnutls-available-p being redefined as above. In this case emacs never asks for the username / password. But I get "Recipient address rejected: Access denied" Side remark: I also noticed that the info page smtpmail still refers to the old code with the outdated variables smtpmail-auth-credentials and smtpmail-starttls-credentials. Using the builtin version of gnutls-available-p I get the "Key usage violation in certificate" with which I started this thread. Here I can add another detail: With emacs 23, I need (setq starttls-extra-arguments '("--priority" "normal:-dhe-rsa")) Otherwise, I get likewise the "Key usage violation in certificate". This setting has been buried in my .emacs for so long I almost forgot this. For details, see http://lists.gnu.org/archive/html/help-gnutls/2009-05/msg00042.html Unfortunately, there is not too much I can do about the fact that I need these extra gnutls argument. Anyway, could it be that I would need to do something similar for the new builtin code? Roland