Subject: Re: bug#22941: 25.1.50; epa-list-secret-keys does not find gpg private keys

From: Daiki Ueno <[email-masked]>
Date: Mon, 14 Mar 2016 18:26:27 +0900

Iñigo Serna <[email-masked]> writes:

> So I think problem comes that when epa finds gpg2 binary in system it
> does not honore `epg-gpg-program' setting.

Then I guess you could avoid the problem by setting the variable with
M-x customize-variable and save the configuration, instead of `setq', as
epg respects the setting through custom:
http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/epg-config.el#n117

Regards,
-- 
Daiki Ueno