From mboxrd@z Thu Jan 1 00:00:00 1970 From: hymie! Subject: emacs , windows, gpg, org-crypt Date: Thu, 29 Mar 2018 13:59:48 +0000 (UTC) Message-ID: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1Y8B-0005xR-QY for emacs-orgmode@gnu.org; Thu, 29 Mar 2018 10:02:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1Y87-0002DQ-61 for emacs-orgmode@gnu.org; Thu, 29 Mar 2018 10:02:19 -0400 Received: from [195.159.176.226] (port=59381 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f1Y86-0002D0-VX for emacs-orgmode@gnu.org; Thu, 29 Mar 2018 10:02:15 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1f1Y5u-0007gz-7B for emacs-orgmode@gnu.org; Thu, 29 Mar 2018 15:59:58 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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. 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. Can somebody give me a push? --hymie! http://lactose.homelinux.net/~hymie hymie@lactose.homelinux.net