From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gijs Hillenius Newsgroups: gmane.emacs.bugs Subject: bug#24718: gpgsm takes (too) long (was: bug#24718: emacs25.1 + gnus, opening message gives: epg-error "no usable configuration" CMS, bug#24718: 25.1; (auth-source-search) fails in 25.1.1 for OSX) Date: Fri, 21 Oct 2016 09:57:21 +0200 Organization: Using Emacs' Org Mode Message-ID: <87y41i3zj2.fsf@hillenius.net> References: <87funu9dpn.fsf@lifelogs.com> <87d1ixyd06.fsf@hillenius.net> <87y41k8och.fsf@lifelogs.com> <871szch2h0.fsf@hillenius.net> <87twc88msz.fsf@lifelogs.com> <87funsmby9.fsf@hillenius.net> <87d1iv4clk.fsf@hillenius.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477036714 29223 195.159.176.226 (21 Oct 2016 07:58:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 21 Oct 2016 07:58:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Andreas Schwab , Daiki Ueno To: 24718@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 21 09:58:30 2016 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 1bxUiQ-0004fJ-L0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Oct 2016 09:58:10 +0200 Original-Received: from localhost ([::1]:59348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxUiS-0003mE-Td for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Oct 2016 03:58:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxUiL-0003m8-JI for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2016 03:58:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxUiI-0001MO-Gb for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2016 03:58:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56325) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bxUiI-0001MB-DG for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2016 03:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bxUiH-0007Md-SS for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2016 03:58:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Gijs Hillenius Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Oct 2016 07:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24718 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24718-submit@debbugs.gnu.org id=B24718.147703665728272 (code B ref 24718); Fri, 21 Oct 2016 07:58:01 +0000 Original-Received: (at 24718) by debbugs.gnu.org; 21 Oct 2016 07:57:37 +0000 Original-Received: from localhost ([127.0.0.1]:43491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxUht-0007Lw-7n for submit@debbugs.gnu.org; Fri, 21 Oct 2016 03:57:37 -0400 Original-Received: from hillenius.net ([144.76.204.189]:42591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxUhr-0007Li-08 for 24718@debbugs.gnu.org; Fri, 21 Oct 2016 03:57:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hillenius.net; s=hillenius; h=Content-Type:MIME-Version:Message-ID:Date:References:Subject:Cc:To:From; bh=P5oXpCsuEmBpxirp+yeVIkFieCSD48IMBDgds6RLe5Q=; b=1GMin/VmyYfsEpVAjIYnZi5sfF8tyiOSoBbwEVj0bZYv5j3cM5He6QzIxYnOvHDIEvHZs2nd33yLveO8m8NAytfITAQ4Bkj/x9R1c+EMs06dAKsvgqVWfTwQYS7qAyngrn5Bhya4hsSg55opMsY3TvTtNWaj1Ybm3tvcXH3RTTI=; Original-Received: from [2a01:4f8:200:546b:0:9e15:9e15:1000] (helo=bufocogita) by hillenius.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bxUhe-0003oL-GZ; Fri, 21 Oct 2016 09:57:28 +0200 X-Operating-System: Debian GNU/Linux Sid X-Homepage: http://www.hillenius.net/ X-GPG-Fingerprint: 340F F9A4 8F6C 18FD D032 0C33 ABA1 CB30 E997 A3AF 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:124763 Archived-At: On 20 Oct 2016, Andreas Schwab wrote: > On Okt 20 2016, Gijs Hillenius wrote: > >> On 20 Oct 2016, Daiki Ueno wrote: >> >>>> Well, that explains something :-) I did not before have this gpgsm >>>> installed. Now I have, but oddly, now gnus takes forever to open >>>> the message. >>> >>> S/MIME signature verification with gpgsm could take some time. If >>> it takes really too long, a usual suggestion is to gather debug >>> output with (setq epg-debug t). >> >> it takes many minutes.. and I give up waiting, so press C-g > > Perhaps it needs to download the CRL, which can take a long time. > Watch the directory ~/.gnupg/dirmngr-cache.d while it hangs. Thanks! On Debian, that dir seems to be called ~/.gnupg/crls.d/ Tried opening one of these messages again: and yesterday gave it more than 30 minutes before I gave up. ~/.gnupg/crls.d/ now contains a file (very-long-number.db). I go to the next s/mime message, and get that question about ultimate trust again. I say no, and Gnus displays the message with a (valid) signature, that is unverified (by me). I did not catch the exact output, sorry. This happens only once. The next message, from the same sender, this waiting (verifying) starts again. Even though now there is a file in ~/.gnupg/crls.d/ ? Is there a way in which I can disable this checking altogether? Additionally: if no gpgsm is available on the host, perhaps the result should or could be made similar to what it does in Emacs24, simply display the message without verification?