From: Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
To: hymie! <hymie@lactose.homelinux.net>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: emacs , windows, gpg, org-crypt
Date: Thu, 29 Mar 2018 11:59:41 -0400 [thread overview]
Message-ID: <CAEWDx5dPwgZPQhXB2D8pPJ1BCiFGHTqEEi1FebbvF_d51iX41g@mail.gmail.com> (raw)
In-Reply-To: <slrnpbpsek.ua4.hymie@lactose.homelinux.net>
[-- Attachment #1: Type: text/plain, Size: 1628 bytes --]
On 29 March 2018 at 09:59, hymie! <hymie@lactose.homelinux.net> wrote:
> Greetings.
>
> I set this all up years ago, I just got a new computer, I'm not an expert
> with Windows, and I've been unable to find my problem with Google.
>
> I have Windows 10, I have emacs, I have Org 9.0.3 (yes, I need to update),
> and I have GPG4Win. I have entries in my .emacs file:
>
> (require 'org-crypt)
> (org-crypt-use-before-save-magic)
> (setq org-tags-exclude-from-inheritance (quote ("crypt")))
> [...]
> (setq org-crypt-key "xxxxxxxx")
> ;; GPG key to use for encryption
> [...]
> (global-set-key "\C-cd" 'org-decrypt-entry)
> (global-set-key "\C-ce" 'org-encrypt-entry)
>
> But when I try to decrypt something, I get this error:
>
> Searching for program: no such file or directory, gpg
>
> The only responses I can find are to add gpg to my %PATH% , but
> I don't think my employer's GPO will let me.
There is a machine/system %PATH% and a Current User %PATH%.
Normally GPOs will block you from modifying the system %PATH% but
allow you to change the User Path. This may be an option.
I was hoping to find a place in org-crypt where "gpg" is defined so that
> I can specify a full path instead, but as yet, I haven't found it.
I'd take a look at ~C-h v -gpg TAB~ -> possible suggestion is
epg-gpg-program which points to "gpg" by default.
~org-encrypt-string~ uses epg for encryption purposes so changing
that program path should fix the issue.
--
Jon
> Can somebody give me a push?
>
> --hymie! http://lactose.homelinux.net/~hymie
> hymie@lactose.homelinux.net
>
>
>
[-- Attachment #2: Type: text/html, Size: 2777 bytes --]
next prev parent reply other threads:[~2018-03-29 16:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-29 13:59 emacs , windows, gpg, org-crypt hymie!
2018-03-29 14:45 ` Adonay Felipe Nogueira
2018-03-29 15:59 ` Jonathan Leech-Pepin [this message]
2018-03-29 16:17 ` hymie!
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAEWDx5dPwgZPQhXB2D8pPJ1BCiFGHTqEEi1FebbvF_d51iX41g@mail.gmail.com \
--to=jonathan.leechpepin@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=hymie@lactose.homelinux.net \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.