From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.bugs Subject: bug#19404: 25.0.50; Gnus shows self-signed certificate warning when connecting to Gmane Date: Thu, 18 Dec 2014 22:04:53 +0000 Message-ID: <87y4q4hawq.fsf@violet.siamics.net> References: <86ppbhrx9a.fsf@yandex.ru> <838ui5uf27.fsf@gnu.org> <83vbl8uau2.fsf@gnu.org> <871tnwoglm.fsf@engster.org> <83ioh8u1cs.fsf@gnu.org> <87lhm4myaf.fsf@engster.org> <87bnn0mxup.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1418940380 15096 80.91.229.3 (18 Dec 2014 22:06:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2014 22:06:20 +0000 (UTC) To: 19404@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 18 23:06:15 2014 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 1Y1jD4-0004Kp-53 for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Dec 2014 23:06:14 +0100 Original-Received: from localhost ([::1]:55879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1jD3-0005OZ-3s for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Dec 2014 17:06:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1jCw-0005OG-Lb for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2014 17:06:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1jCs-0000Qo-Dv for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2014 17:06:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1jCs-0000QW-3y for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2014 17:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y1jCr-0003le-Jz for bug-gnu-emacs@gnu.org; Thu, 18 Dec 2014 17:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Shmakov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Dec 2014 22:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19404 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19404-submit@debbugs.gnu.org id=B19404.141894030714412 (code B ref 19404); Thu, 18 Dec 2014 22:06:01 +0000 Original-Received: (at 19404) by debbugs.gnu.org; 18 Dec 2014 22:05:07 +0000 Original-Received: from localhost ([127.0.0.1]:50607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1jBy-0003kN-DX for submit@debbugs.gnu.org; Thu, 18 Dec 2014 17:05:06 -0500 Original-Received: from fely.am-1.org ([78.47.74.50]:45275) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1jBv-0003kE-W9 for 19404@debbugs.gnu.org; Thu, 18 Dec 2014 17:05:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=/qWyX3CtRSmgjpHwcwJSfE3GHBtNQRhTiQsxABpDMzU=; b=Iy/tQlEiWiKSmd2SPrdQ52rJT3briw8YfxPkQfi9mlFOwYOkylr3d1HzpjwVl6sgnlE5MNzN70THWV3IrtUemKa+8hOs7LfK7sSN9j/+aTjwUI5jwsNdr7PisoJC/4RZ8LBSzyO7MbPaMLFWdOhLEgbcg+3en975exdQvJz/dAI=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Y1jBu-0006t7-5x for 19404@debbugs.gnu.org; Thu, 18 Dec 2014 22:05:02 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Y1jBm-00068H-PB for 19404@debbugs.gnu.org; Fri, 19 Dec 2014 05:04:54 +0700 Mail-Followup-To: 19404@debbugs.gnu.org In-Reply-To: <87bnn0mxup.fsf@engster.org> (David Engster's message of "Thu, 18 Dec 2014 22:50:22 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:97554 Archived-At: >>>>> David Engster writes: >>>>> David Engster writes: >> It *could* be self-signed. I don't know the best way in libgnutls to >> detect this. You probably have to compare issuer and subject, or >> similar. > So my guess would be: use gnutls_x509_crt_get_dn2 or maybe > gnutls_x509_crt_get_subject and compare to > gnutls_certificate_get_issuer. If equal -> self-signed. But that > could be wrong. Best place is to ask on the GnuTLS list. If anything, it=E2=80=99s the respective public key fingerprints that are to be compared. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A