From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?I=C3=B1igo?= Serna Newsgroups: gmane.emacs.bugs Subject: bug#22941: 25.1.50; epa-list-secret-keys does not find gpg private keys Date: Tue, 08 Mar 2016 11:58:58 +0100 Message-ID: <878u1t5j7x.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1457434828 8311 80.91.229.3 (8 Mar 2016 11:00:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2016 11:00:28 +0000 (UTC) To: 22941@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 08 12:00:16 2016 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 1adFN9-0000nu-MA for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Mar 2016 12:00:15 +0100 Original-Received: from localhost ([::1]:33731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adFN8-0003CD-RN for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Mar 2016 06:00:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adFMz-00037R-Pc for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 06:00:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adFMw-0004ah-JN for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 06:00:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adFMw-0004aY-FX for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 06:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1adFMw-0008NU-A1 for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 06:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?I=C3=B1igo?= Serna Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Mar 2016 11:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22941 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145743475432110 (code B ref -1); Tue, 08 Mar 2016 11:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Mar 2016 10:59:14 +0000 Original-Received: from localhost ([127.0.0.1]:38673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adFMA-0008Lq-1W for submit@debbugs.gnu.org; Tue, 08 Mar 2016 05:59:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56169) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adFM8-0008Ld-IX for submit@debbugs.gnu.org; Tue, 08 Mar 2016 05:59:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adFM2-0004FJ-BH for submit@debbugs.gnu.org; Tue, 08 Mar 2016 05:59:07 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adFM2-0004FF-7n for submit@debbugs.gnu.org; Tue, 08 Mar 2016 05:59:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adFM1-0002zg-0G for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 05:59:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adFLx-0004DK-Q9 for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 05:59:04 -0500 Original-Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:35585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adFLx-0004Cx-GR for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 05:59:01 -0500 Original-Received: by mail-wm0-x22f.google.com with SMTP id l68so125693163wml.0 for ; Tue, 08 Mar 2016 02:59:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=JfoKKa0RJv9KQb49PJDOGQq88UOek51a9Mv6BC7/wz0=; b=opClO/WP1vnbs4cOxds6mqfEBNAu/ckY2HhKEgrqMaeuHkzB9t29t1WiV9ULDxquWt 70H+Fn06BVvRp38kz806ZN+TsOKgUyMze8vZHGw1mh6WLllB/IIYVmthgacG4nrqKCpA oschFwBIEEFmjAIYPjHighMQAJ0hAk9MbE9nsCN6nibheoKAg8dR6QjFH5FO4J84XaUI 0buB/ZTZIByb3EoaFBomNlKRqKAt8Jq0f2uuVtUcMVg/aI6GLka5Zqn4kr4kkiBrwRQO 4MGTVmtdZ1/qqKjF6vsGdT+CU/XLjZb3VnH5exUkX5bIuNCugNyMizC4xV7vIxhAuPcY BQPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=JfoKKa0RJv9KQb49PJDOGQq88UOek51a9Mv6BC7/wz0=; b=iVNKLZyvAwfW2e4m7eW0EhCpttP4jzt986PmOjUGnibNee/Gf35kXXaWkVUSh1rlmj EOg3aKBJ5pv7uo9MxcVm7GTB6tiTzIK2ZBrpTeG7IQgNI1TzZRMJSyPY/hd8yZe7Pbfn ++zQ4T9F/4mmMgycdP03KdAicyXiuKRk0BY19Y1J+jvDhy1W6NcarqXX9jcGkQBcYRDB YzoROO1MpcqaO6G4ZLhx8K9l5Yox+AiVcKiP+hFap8DZS+2KIjDddHDUD8KUm5dFW0hy CgPw0bzNAFwjEg79yYucKwNWJzM3FaL7s8+JNNvuYnm6lg8THuvLJsUReeaHHrxlJqQT AVFg== X-Gm-Message-State: AD7BkJJOY5nNSy7E8lo15NYE8ty4EyYba7ycmh68epRSxPmrFMAxi7X2x5nyPNYP8ObqGQ== X-Received: by 10.28.142.213 with SMTP id q204mr17724975wmd.69.1457434740394; Tue, 08 Mar 2016 02:59:00 -0800 (PST) Original-Received: from inigo.katxi.org.gmail.com (62.57.74.108.dyn.user.ono.com. [62.57.74.108]) by smtp.gmail.com with ESMTPSA id vw2sm2344122wjc.43.2016.03.08.02.58.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Mar 2016 02:58:59 -0800 (PST) User-agent: mu4e 0.9.16; emacs 25.1.50.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114569 Archived-At: Since a couple of months ago emacs 25.0.x (last tested as 2016/03/08 from git master) can't open encrypted files (using symmetric keys), as epa can't find secret keys from gpg. This is the error message I get: """ Error while decrypting with "gpg": gpg: encrypted with 2048-bit RSA key, ID C0ED9C8489B28C43, created 2016-01-12 "IƱigo Serna (XXX.YY) " gpg: decryption failed: No secret key """ I use gpg (not gpg2) so I added '(setq epg-gpg-program "gpg")' to my configuration as new epa defaults to gpg2 when I've run "emacs -Q -nw". `epa-list-secret-keys` does not find any keys. This same configuration works ok with 24.5.1 (from Fedora 23 x86_64), and even `epa-list-secret-keys` shows the private keys correctly. ######################################################################### This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from 'emacs -Q': [SEE ABOVE] If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: 'bt full' and 'xbacktrace'. For information about debugging Emacs, please read the file /opt/emacs/share/emacs/25.1.50/etc/DEBUG. In GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.7) of 2016-03-08 built on inigo.katxi.org Repository revision: 80864c2a04597d31ba453c9af69d35b15c4e1e24 System Description: Fedora release 23 (Twenty Three) Configured using: 'configure --prefix=/usr/ --libdir=/usr/lib64 --sysconfdir=/etc --disable-static --prefix=/opt/emacs --with-xwidgets --with-x-toolkit=gtk3 CFLAGS=-Os' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS Important settings: value of $LANG: en_GB.utf8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: "gpg" Decrypting /home/inigo/personal/agenda/other.org.gpg...done epa-file--find-file-not-found-function: Opening input file: Decryption failed, No secret key: C0ED9C8489B28C43 "gpg" Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils epa-file epa derived epg epg-config term/xterm xterm time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win 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 term/tty-colors 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 obarray 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 91217 6511) (symbols 48 19819 0) (miscs 40 52 107) (strings 32 14550 4887) (string-bytes 1 415390) (vectors 16 9702) (vector-slots 8 371442 10588) (floats 8 171 795) (intervals 56 222 14) (buffers 976 13) (heap 1024 34449 1624))