From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#31946: 27.0.50; The NSM should warn about more TLS problems Date: Sun, 08 Jul 2018 22:01:00 +0200 Message-ID: <877em5lcoz.fsf@mouse.gnus.org> References: <87fu1apchn.fsf@gmail.com> <87sh4zlr6e.fsf@gmail.com> <871scdoli3.fsf@mouse.gnus.org> <877em5mva7.fsf@mouse.gnus.org> <87sh4td0kk.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1531080008 11920 195.159.176.226 (8 Jul 2018 20:00:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 8 Jul 2018 20:00:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 31946@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 08 22:00:04 2018 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 1fcFqm-000314-BA for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jul 2018 22:00:04 +0200 Original-Received: from localhost ([::1]:38081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcFst-0000fM-EN for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Jul 2018 16:02:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcFsk-0000d6-Az for bug-gnu-emacs@gnu.org; Sun, 08 Jul 2018 16:02:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcFsh-0006o4-4x for bug-gnu-emacs@gnu.org; Sun, 08 Jul 2018 16:02:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43564) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcFsh-0006np-0p for bug-gnu-emacs@gnu.org; Sun, 08 Jul 2018 16:02:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fcFsg-0007Rn-Gg for bug-gnu-emacs@gnu.org; Sun, 08 Jul 2018 16:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Jul 2018 20:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31946 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: security Original-Received: via spool by 31946-submit@debbugs.gnu.org id=B31946.153108006728565 (code B ref 31946); Sun, 08 Jul 2018 20:02:02 +0000 Original-Received: (at 31946) by debbugs.gnu.org; 8 Jul 2018 20:01:07 +0000 Original-Received: from localhost ([127.0.0.1]:51461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fcFrm-0007Qf-TP for submit@debbugs.gnu.org; Sun, 08 Jul 2018 16:01:07 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:36732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fcFrk-0007QX-PC for 31946@debbugs.gnu.org; Sun, 08 Jul 2018 16:01:05 -0400 Original-Received: from cm-84.212.221.165.getinternet.no ([84.212.221.165] helo=marnie) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fcFrh-0000ug-6X; Sun, 08 Jul 2018 22:01:03 +0200 In-Reply-To: <87sh4td0kk.fsf@gmail.com> (Noam Postavsky's message of "Sun, 08 Jul 2018 14:50:03 -0400") 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:148364 Archived-At: Noam Postavsky writes: > Yeah, the _dn3 data still misses the CN=... from the issuer and is not > equal the the subject for the root, so it doesn't seem to help this > problem. I tried using gnutls-cli, and it saus: - Certificate[2] info: - subject `CN=VeriSign Class 3 Public Primary Certification Authority - G5,OU=(c) 2006 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US', issuer `OU=Class 3 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US', serial 0x250ce8e030612e9f2b89f7054d7cf8fd, RSA key 2048 bits, signed using RSA-SHA1, activated `2006-11-08 00:00:00 UTC', expires `2021-11-07 23:59:59 UTC', key-ID `sha256:25b41b506e4930952823a6eb9f1d31def645ea38a5c6c6a96d71957e384df058' So, no CN= in the issuer there, either... And here's openssl s_client: 2 s:/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=(c) 2006 VeriSign, Inc. - For authorized use only/CN=VeriSign Class 3 Public Primary Certification Authority - G5 i:/C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority So there just isn't any CN= in the issuer here? So we need a new way to determine whether a certificate is an intermediate certificate. Unless that really is an intermediate certificate and the warning is correct. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no