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

From: Iñigo Serna <[email-masked]>
Date: Mon, 14 Mar 2016 11:02:03 +0100

Daiki Ueno <[email-masked]> writes:

> 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

Bingo!
It works now when setting the variable through `customize-variable'.

Thanks a lot for your time and help,
Iñigo Serna