unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24268: 25.1; epg-context--make: GPG error: "no usable configuration", OpenPGP
@ 2016-08-19 21:56 Leo Liu
  2016-08-20  7:05 ` Daiki Ueno
  2016-08-20 19:13 ` Robert Cochran
  0 siblings, 2 replies; 5+ messages in thread
From: Leo Liu @ 2016-08-19 21:56 UTC (permalink / raw)
  To: 24268; +Cc: Daiki Ueno


I just upgraded to gnupg 1.4.21 on osx which started calling its
executable `gpg1'.

If I customise epg-gpg-program to gpg1 I am getting this error:

        epg-context--make: GPG error: "no usable configuration", OpenPGP

Leo





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#24268: 25.1; epg-context--make: GPG error: "no usable configuration", OpenPGP
  2016-08-19 21:56 bug#24268: 25.1; epg-context--make: GPG error: "no usable configuration", OpenPGP Leo Liu
@ 2016-08-20  7:05 ` Daiki Ueno
  2016-08-20  7:57   ` Leo Liu
  2016-08-20 19:13 ` Robert Cochran
  1 sibling, 1 reply; 5+ messages in thread
From: Daiki Ueno @ 2016-08-20  7:05 UTC (permalink / raw)
  To: Leo Liu; +Cc: 24268

Leo Liu <sdl.web@gmail.com> writes:

> I just upgraded to gnupg 1.4.21 on osx which started calling its
> executable `gpg1'.
>
> If I customise epg-gpg-program to gpg1 I am getting this error:
>
>         epg-context--make: GPG error: "no usable configuration", OpenPGP

I cannot reproduce it here, though I am not on OS X but installed the
binary as "gpg1".  What do the following expressions return?

(epg-find-configuration 'OpenPGP)
(epg-find-configuration 'OpenPGP t)
(epg-config--make-gpg-configuration epg-gpg-program)

Regards,
-- 
Daiki Ueno





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#24268: 25.1; epg-context--make: GPG error: "no usable configuration", OpenPGP
  2016-08-20  7:05 ` Daiki Ueno
@ 2016-08-20  7:57   ` Leo Liu
  0 siblings, 0 replies; 5+ messages in thread
From: Leo Liu @ 2016-08-20  7:57 UTC (permalink / raw)
  To: Daiki Ueno; +Cc: 24268

On 2016-08-20 09:05 +0200, Daiki Ueno wrote:
> I cannot reproduce it here, though I am not on OS X but installed the
> binary as "gpg1".

$ ls -lh /usr/local/Cellar/gnupg/1.4.21/bin/
total 2760
-r-xr-xr-x  1 zeus  admin   3.2K 17 Aug 21:21 gpg-zip1
-r-xr-xr-x  1 zeus  admin   908K 17 Aug 21:21 gpg1
-r-xr-xr-x  1 zeus  admin    92K 17 Aug 21:21 gpgsplit1
-r-xr-xr-x  1 zeus  admin   373K 17 Aug 21:21 gpgv1

So maybe this osx-homebrew specific.

> What do the following expressions return?
> (epg-find-configuration 'OpenPGP)
> (epg-find-configuration 'OpenPGP t)
> (epg-config--make-gpg-configuration epg-gpg-program)

1. nil
2. nil
3.
((program . "gpg1") (compress 0 1 2 3) (digestname . "MD5;SHA1;RIPEMD160;SHA256;SHA384;SHA512;SHA224") (digest 1 2 3 8 9 10 11) (ciphername .                                        
"IDEA;3DES;CAST5;BLOWFISH;AES;AES192;AES256;TWOFISH;CAMELLIA128;CAMELLIA192;CAMELLIA256") (cipher 1 2 3 4 7 8 9 10 11 12 13) (pubkey 1 2 3 16 17) (version . "1.4.21"))

The easiest workaround is to make a `gpg` symlink to gpg1.

Thanks,
Leo





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#24268: 25.1; epg-context--make: GPG error: "no usable configuration", OpenPGP
  2016-08-19 21:56 bug#24268: 25.1; epg-context--make: GPG error: "no usable configuration", OpenPGP Leo Liu
  2016-08-20  7:05 ` Daiki Ueno
@ 2016-08-20 19:13 ` Robert Cochran
  2016-08-22  6:48   ` Daiki Ueno
  1 sibling, 1 reply; 5+ messages in thread
From: Robert Cochran @ 2016-08-20 19:13 UTC (permalink / raw)
  To: Leo Liu; +Cc: 24268, Daiki Ueno

Leo Liu <sdl.web@gmail.com> writes:

> I just upgraded to gnupg 1.4.21 on osx which started calling its
> executable `gpg1'.
>
> If I customise epg-gpg-program to gpg1 I am getting this error:
>
>         epg-context--make: GPG error: "no usable configuration", OpenPGP
>
> Leo

This looks related to Bug#24229 to me. Same error at least.

-- 
~Robert Cochran

GPG Fingerprint - E778 2DD4 FEA6 6A68 6F26  AD2D E5C3 EB36 4886 8871





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#24268: 25.1; epg-context--make: GPG error: "no usable configuration", OpenPGP
  2016-08-20 19:13 ` Robert Cochran
@ 2016-08-22  6:48   ` Daiki Ueno
  0 siblings, 0 replies; 5+ messages in thread
From: Daiki Ueno @ 2016-08-22  6:48 UTC (permalink / raw)
  To: Robert Cochran; +Cc: 24268, Leo Liu

Robert Cochran <robert-emacs@cochranmail.com> writes:

> Leo Liu <sdl.web@gmail.com> writes:
>
>> I just upgraded to gnupg 1.4.21 on osx which started calling its
>> executable `gpg1'.
>>
>> If I customise epg-gpg-program to gpg1 I am getting this error:
>>
>>         epg-context--make: GPG error: "no usable configuration", OpenPGP
>>
>> Leo
>
> This looks related to Bug#24229 to me. Same error at least.

I thought that he used Customize to set the variable and thus Bug#24229
was not the case here.  But otherwise it could be.

Regards,
-- 
Daiki Ueno





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-22  6:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-19 21:56 bug#24268: 25.1; epg-context--make: GPG error: "no usable configuration", OpenPGP Leo Liu
2016-08-20  7:05 ` Daiki Ueno
2016-08-20  7:57   ` Leo Liu
2016-08-20 19:13 ` Robert Cochran
2016-08-22  6:48   ` Daiki Ueno

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).