GNU bug report logs - #24229
25.1; Can't set EPA program

Previous Next

Package: emacs;

Reported by: Nick Helm <nick <at> tenpoint.co.nz>

Date: Mon, 15 Aug 2016 06:33:02 UTC

Severity: minor

Merged with 24268

Found in version 25.1

Done: Daiki Ueno <ueno <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 24229 <at> debbugs.gnu.org (full text, mbox):

From: Nick Helm <nick <at> tenpoint.co.nz>
To: "24229 <at> debbugs.gnu.org" <24229 <at> debbugs.gnu.org>
Subject: Re: bug#24229: 25.1; Can't set EPA program
Date: Tue, 16 Aug 2016 00:56:17 +0000
> On 16/08/2016, at 10:26 AM, Noam Postavsky <npostavs <at> users.sourceforge.net> wrote:
> 
>> Setting epg-gpg-program has no effect if set using
>> any other method than customize.
>> 
>> For instance, doing (setq epg-gpg-program "gpg1") in
>> init.el does not work. EPA ignores the program name
>> and fails with some cryptic message about no found
>> configurations.
> 
> Please post the exact error message.
> 
> Does this also happen if you do
> 
>    emacs -Q --eval '(setq epg-gpg-program "gpg1")'
> 

When trying to visit a symmetrically encrypted file, 
*Messages* gives me this:
epg-context—make: GPG error: "no usable configuration", OpenPGP

Yes, the error still occurs when launching with: 
emacs -Q —-eval '(setq epg-gpg-program "gpg1")'

However, it doesn’t occur when launching with:
emacs -Q --eval '(customize-save-variable (quote epg-gpg-program) "gpg1")'

A quick look at `epg-find-configuration' shows it only 
checks epg-gpg-program's saved-value symbol property; 
if the variable is set elsewhere it is ignored.

I can get around it by symlinking gpg>gpg1 but that
kinda defeats the purpose of having the variable.

Nick


This bug report was last modified 8 years and 133 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.