emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: hymie! <hymie@lactose.homelinux.net>
To: emacs-orgmode@gnu.org
Subject: org-crypt: GPG error: "no usable configuration"
Date: Tue, 3 Jan 2017 18:29:20 +0000 (UTC)	[thread overview]
Message-ID: <slrno6nrc5.2di.hymie@lactose.homelinux.net> (raw)

Greetings.

I'm running Orgmode 9.0.3 under emacs 25.1.2 on Microsoft Windows 7.

I think this is really an emacs issue and not an orgmode issue; but
other than orgmode, I don't use emacs, and I don't know where else to
turn.

For a year or so, I've been using org-crypt like this:

(setq exec-path '("C:\\Program Files (x86)\\GNU\\GnuPG"))
(require 'org-crypt)
(org-crypt-use-before-save-magic)
(setq org-tags-exclude-from-inheritance (quote ("crypt")))
(setq org-crypt-key "65B20F70")
(global-set-key "\C-cd" 'org-decrypt-entry)
(global-set-key "\C-ce" 'org-encrypt-entry)

...and it's worked fine, until I recently updated from emacs 24.5 to 25.1
and orgmode from 8.3.5 to 9.0.3 .

Now I get this error:
GPG error: "no usable configuration", OpenPGP

Apparently, it might be related to this bug

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24229

but the eventual work-around:
>
>  Setting this variable directly does not have any effect;
>  instead use \\[customize] or <some setter function>.
>
>IMO that's all that's needed here too.

makes no sense to me at all.

Can somebody help me get GPG working again?

--hymie!

                 reply	other threads:[~2017-01-03 18:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrno6nrc5.2di.hymie@lactose.homelinux.net \
    --to=hymie@lactose.homelinux.net \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).