From: "Iñigo Serna" <inigoserna@gmail.com>
To: Daiki Ueno <ueno@gnu.org>
Cc: 22941@debbugs.gnu.org
Subject: bug#22941: 25.1.50; epa-list-secret-keys does not find gpg private keys
Date: Mon, 14 Mar 2016 10:13:42 +0100 [thread overview]
Message-ID: <8737rtifqx.fsf@gmail.com> (raw)
In-Reply-To: <m3shztr42i.fsf-ueno@gnu.org>
Hi
Daiki Ueno <ueno@gnu.org> writes:
> That's strange indeed. Are you able to check what is happening by
> setting (setq epg-debug t) and looking at the " *epg-debug*" buffer
> (note the first whitespace)? The buffer should contain the actual
> command-line and the interactions between Emacs and the "gpg" command.
You were right, it is using gpg2!
GPG_AGENT_INFO is not set
/usr/bin/gpg2 --no-tty --status-fd 1 --yes --enable-progress-filter --command-fd 0 --output /tmp/epg-output8110Oun --decrypt --/home/inigo/personal/agenda/other.org.gpg
[GNUPG:] PROGRESS /home/inigo/personal ? 0 3518
[GNUPG:] ENC_TO C0ED9C8489B28C43 1 0
[GNUPG:] NO_SECKEY C0ED9C8489B28C43
[GNUPG:] BEGIN_DECRYPTION
[GNUPG:] DECRYPTION_FAILED
[GNUPG:] PROGRESS /home/inigo/personal ? 3518 3518
[GNUPG:] END_DECRYPTION
I tested setting `epg-gpg-program' to something like "xxx", error buffer
displays "xxx" as gpg program in message, but debug shows
"/usr/bin/gpg2" again.
Note I have gpg and gpg2 both installed on my system.
I can't uninstall gpg2 package, but I've tried renaming /usr/bin/gpg2 to
somenthing else; in this case the encrypted file is correctly opened
even without setting `epg-gpg-program' to "gpg".
So I think problem comes that when epa finds gpg2 binary in system it
does not honore `epg-gpg-program' setting.
Thanks,
Iñigo Serna
next prev parent reply other threads:[~2016-03-14 9:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-08 10:58 bug#22941: 25.1.50; epa-list-secret-keys does not find gpg private keys Iñigo Serna
2016-03-10 3:30 ` Daiki Ueno
2016-03-11 17:17 ` Iñigo Serna
2016-03-11 22:23 ` Daiki Ueno
2016-03-12 11:06 ` Iñigo Serna
2016-03-14 6:01 ` Daiki Ueno
2016-03-14 9:13 ` Iñigo Serna [this message]
2016-03-14 9:26 ` Daiki Ueno
2016-03-14 10:02 ` Iñigo Serna
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737rtifqx.fsf@gmail.com \
--to=inigoserna@gmail.com \
--cc=22941@debbugs.gnu.org \
--cc=ueno@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.