From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 20 07:07:07 2016 Received: (at submit) by debbugs.gnu.org; 20 Feb 2016 12:07:07 +0000 Received: from localhost ([127.0.0.1]:34648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aX6JW-0002FS-OP for submit@debbugs.gnu.org; Sat, 20 Feb 2016 07:07:07 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39315) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aX6JU-0002Ev-ON for submit@debbugs.gnu.org; Sat, 20 Feb 2016 07:07:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aX6JO-0007qW-3R for submit@debbugs.gnu.org; Sat, 20 Feb 2016 07:06:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX6JO-0007qQ-09 for submit@debbugs.gnu.org; Sat, 20 Feb 2016 07:06:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX6JM-00060D-9i for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 07:06:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aX6JJ-0007pg-1k for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2016 07:06:56 -0500 Received: from mta-out1.inet.fi ([62.71.2.199]:47822 helo=julia1.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aX6JI-0007pL-Jo; Sat, 20 Feb 2016 07:06:52 -0500 Received: from mithlond.arda (84.251.143.106) by julia1.inet.fi (9.0.002.03-2-gbe5d057) id 56C5CCDC0023EAD8; Sat, 20 Feb 2016 14:06:38 +0200 Received: from dtw by mithlond.arda with local (Exim 4.84) (envelope-from ) id 1aX6JA-0000Gy-8K; Sat, 20 Feb 2016 14:06:44 +0200 From: Teemu Likonen To: bug-gnu-emacs@gnu.org Subject: 25.0.91; Customizing epg-gpg-program makes Gnus nnimap fail Date: Sat, 20 Feb 2016 14:06:44 +0200 Message-ID: <871t87oaaz.fsf@iki.fi> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit Cc: Daiki Ueno X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) When variable epg-gpg-program is customized to "gpg2" and saved through Emacs customize interface (M-x customize-option RET epg-gpg-program RET) Gnus nnimap method no longer works. Example: When Gnus is started (M-x gnus) all my nnimap settings fail with this message in *messages* buffer: Warning: Opening nnimap server on opettaja...failed: ; Unable to open server nnimap+opettaja due to: GPG error: "no usable configuration", OpenPGP; [...] It started happening after this commit: commit e80c2a7b47d161f00aac096b9d58a18879a122e8 Author: Daiki Ueno Date: 2016-02-17 16:32:25 +0900 Make GnuPG version check robuster We changed the default gpg program to "gpg2" from "gpg" in the comm= it f93d669a16bd3cb3f43f0c8cfd22fe18b627a6a1. However, there are two maintained branches (2.0 and 2.1) and Emacs doesn't work well with = 2.0 series. Check the actual version of "gpg2" at run time, and proper= ly divert to "gpg" if necessary. * lisp/epg-config.el: Require 'cl-lib for `cl-destructuring-bind'. (epg-config--program-alist): New variable. (epg--configurations): New variable. (epg-configuration-find): New function. (epg-config--make-gpg-configuration): New function. (epg-config--make-gpgsm-configuration): New function. (epg-configuration): Mark as obsolete. * lisp/epg.el (epg-context): Use `epg-configuration-find'. In GNU Emacs 25.0.91.6 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5) of 2016-02-20 built on mithlond Repository revision: d675db943e8e55321a58353600d3574a8433c52d Windowing system distributor 'The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.3 (jessie) Configured using: 'configure --prefix=3D/home/dtw/local --with-x-toolkit=3Dgtk3 --with-xwidgets --with-wide-int' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS Important settings: value of $LC_MESSAGES: C value of $LANG: fi_FI.UTF-8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: diff-auto-refine-mode: t gnus-topic-mode: t gnus-undo-mode: t ido-everywhere: t global-undo-tree-mode: t show-paren-mode: t winner-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: imap: Authenticating to =E2=80=98mail.kapsi.fi=E2=80=99 using =E2=80=98logi= n=E2=80=99...done Fetching from INBOX... Reading incoming mail from file... nnml: Reading incoming mail (no new mail)...done Reading active file via nnml...done Reading active file from arkisto via nnml... Opening nnml server on arkisto...done Reading active file from arkisto via nnml...done Checking new news...done No news is good news Load-path shadows: ~/.emacs.d/omat/elisp/loaddefs hides /home/dtw/local/share/emacs/25.0.91/li= sp/loaddefs Features: (shadow sort gnus-cite mail-extr nnir emacsbug sendmail imap utf-7 vc vc-dispatcher paredit bs cus-edit cus-start cus-load vc-git diff-mode gnus-topic nndraft nnmh nnagent epa-file epa network-stream nsm auth-source starttls nnml nnmbox nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime password-cache dig mailcap nntp gnus-cache gnus-bogofilter gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message dired format-spec rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader gnus-util mail-utils mm-util help-fns mail-prsvr wid-edit ido seq undo-tree diff paren winner rx slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations advice bridge slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl elp slime-parse slime derived gud apropos compile etags xref cl-seq project eieio byte-opt bytecomp byte-compile cl-extra help-mode cconv eieio-core arc-mode archive-mode noutline outline easy-mmode pp comint ansi-color ring hyperspec cl-macs thingatpt browse-url cl gv slime-autoloads edmacro kmacro cl-loaddefs pcase cl-lib finder-inf tex-site info package easymenu epg-config server time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 357661 47827) (symbols 48 42292 0) (miscs 40 386 427) (strings 32 83688 10149) (string-bytes 1 2526766) (vectors 16 40829) (vector-slots 8 1477453 203150) (floats 8 520 407) (intervals 56 519 100) (buffers 976 43) (heap 1024 119244 7216)) From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 20 18:03:08 2016 Received: (at 22747) by debbugs.gnu.org; 20 Feb 2016 23:03:08 +0000 Received: from localhost ([127.0.0.1]:35671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXGYN-0004eX-Ve for submit@debbugs.gnu.org; Sat, 20 Feb 2016 18:03:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:52440) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXGYM-0004e9-EY for 22747@debbugs.gnu.org; Sat, 20 Feb 2016 18:03:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXGYE-0002OI-2v for 22747@debbugs.gnu.org; Sat, 20 Feb 2016 18:03:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXGYD-0002OE-Va; Sat, 20 Feb 2016 18:02:58 -0500 Received: from du-a.org ([219.94.251.20]:47403 helo=debian) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aXGYD-0002q4-Em; Sat, 20 Feb 2016 18:02:57 -0500 Message-ID: <871t8756jo.fsf-ueno@gnu.org> From: Daiki Ueno To: Teemu Likonen Subject: Re: bug#22747: 25.0.91; Customizing epg-gpg-program makes Gnus nnimap fail References: <871t87oaaz.fsf@iki.fi> Date: Sun, 21 Feb 2016 08:02:51 +0900 In-Reply-To: <871t87oaaz.fsf@iki.fi> (Teemu Likonen's message of "Sat, 20 Feb 2016 14:06:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22747 Cc: 22747@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Teemu Likonen writes: > When variable epg-gpg-program is customized to "gpg2" and saved through > Emacs customize interface (M-x customize-option RET epg-gpg-program RET) > Gnus nnimap method no longer works. > > Example: When Gnus is started (M-x gnus) all my nnimap settings fail > with this message in *messages* buffer: > > Warning: Opening nnimap server on opettaja...failed: ; Unable to open > server nnimap+opettaja due to: GPG error: "no usable configuration", > OpenPGP; [...] Ugh, thanks for reporting that. It should be fixed with 74ec92d. Regards, -- Daiki Ueno From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 21 01:09:38 2016 Received: (at 22747-done) by debbugs.gnu.org; 21 Feb 2016 06:09:38 +0000 Received: from localhost ([127.0.0.1]:35750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXND7-0007pG-Sj for submit@debbugs.gnu.org; Sun, 21 Feb 2016 01:09:37 -0500 Received: from mta-out1.inet.fi ([62.71.2.199]:35356 helo=johanna2.inet.fi) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aXND5-0007p4-Ov for 22747-done@debbugs.gnu.org; Sun, 21 Feb 2016 01:09:36 -0500 RazorGate-KAS: Status: not_detected RazorGate-KAS: Rate: 0 RazorGate-KAS: Envelope from: RazorGate-KAS: Version: 5.5.3 RazorGate-KAS: LuaCore: 80 2014-11-10_18-01-23 260f8afb9361da3c7edfd3a8e3a4ca908191ad29 RazorGate-KAS: Lua profiles 69136 [Nov 12 2014] RazorGate-KAS: Method: none Received: from mithlond.arda (84.251.143.106) by johanna2.inet.fi (9.0.002.03-2-gbe5d057) id 56C6D71B00208789; Sun, 21 Feb 2016 08:09:32 +0200 Received: from dtw by mithlond.arda with local (Exim 4.84) (envelope-from ) id 1aXND1-0002mg-HB; Sun, 21 Feb 2016 08:09:31 +0200 From: Teemu Likonen To: Daiki Ueno Subject: Re: bug#22747: 25.0.91; Customizing epg-gpg-program makes Gnus nnimap fail In-Reply-To: <871t8756jo.fsf-ueno@gnu.org> (Daiki Ueno's message of "Sun, 21 Feb 2016 08:02:51 +0900") References: <871t87oaaz.fsf@iki.fi> <871t8756jo.fsf-ueno@gnu.org> Date: Sun, 21 Feb 2016 08:09:31 +0200 Message-ID: <87povq61d0.fsf@iki.fi> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22747-done Cc: 22747-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Daiki Ueno [2016-02-21 08:02:51+09] wrote: > Ugh, thanks for reporting that. It should be fixed with 74ec92d. Indeed 74ec92da9e0430728ac9496d3b1e50f0bb5dae3a fixes it. Thanks. I'm closing this. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWyVSbAAoJEHGdadMkU5RQr+MP/An5X+l41MwhDlqyDShUdE6Z WsTVqpfucOoD+r0PipzGXprRDMFnKYtxH5KnVT0lPfEBRe3GDesYdlDs68xjc7Oa LPnogt245sWW/kvrehBsHhmGY8x7e49iTIz1aqElVOF1/BoOrWIshkV6BrXg7Bwo +VmjfDyKNuz1s+/DJcipvzEvUM+ZrnNdC6D5nylsKOdc69mpBGhfZ22IhmSWCCh8 7CJbaAclWXTsWoTJhuR/daxQINsIWW7ZLxY+9M6wYM3ai/c2pFO96YKYxgg6HQBT pPBSS53fhB14YD1JKIaECyPbrdAVRYOLJc9Hl8BjWvyNFzk6SFxp2w5aevq0cYvf IZt5/cNjRSVFbfSzQM7YtSUXQt9T/lwl4vBtXsLIfHimrzOQZmKFCUbpOxi1CAZE 0pf+ZbXLq+ImmG8/dF7pem/sm3otmTv6+uVqvaKN0PRbuEUOtS3rnxOkshoW19th qujD2mc3v30RZrC8dgIavM0STEq9Q4uiTB+pDT37dgA2RypW48QKXUljkipJm4PA 8K4is2SyKXe2/i9wYoB7HyYrung4e8V/c759fARu42SRSEQhy49g+5I/cABYW2Dp hZ881uS3NMvDA89zMg7tpw3TCFLTBIkazGY841Ru5bkd0nVcBhnotXsDrDBoScXp 2XxHfPzWdcA3cUwXTRay =jQLy -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 15 08:52:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 20 Mar 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator