From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stuart McLean Subject: org-crypt fails to encrypt region Date: Mon, 25 Oct 2010 13:19:06 -0700 Message-ID: <87ocaikoud.fsf@horrorshow.hypnokush> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=48697 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PATVz-0006XR-2a for emacs-orgmode@gnu.org; Mon, 25 Oct 2010 16:19:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PATVx-00075K-WA for emacs-orgmode@gnu.org; Mon, 25 Oct 2010 16:19:31 -0400 Received: from lo.gmane.org ([80.91.229.12]:60578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PATVx-00074o-QQ for emacs-orgmode@gnu.org; Mon, 25 Oct 2010 16:19:29 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PATVt-0003Ij-CI for emacs-orgmode@gnu.org; Mon, 25 Oct 2010 22:19:25 +0200 Received: from s0106001636ac5854.gv.shawcable.net ([24.69.106.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Oct 2010 22:19:25 +0200 Received: from smclean0640 by s0106001636ac5854.gv.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Oct 2010 22:19:25 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, I am just learning how to use GPG, org-crypt, and epa. I am using: - org version 7.01h - emacs version GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1) of 2010-08-14 on barber, modified by Debian. In my .emacs I have the following variables set: (require 'epa) (require 'org-crypt) (org-crypt-use-before-save-magic) (setq org-tags-exclude-from-inheritance (quote ("crypt"))) ; GPG key to use for encryption (setq org-crypt-key "Stuart McLean") I generated a keypair using KGPG, and tried to encrypt a region like the following with `M-x org-encrypt-entry'. *** secret data :crypt: my secret data I also tried: *** crypt setup :crypt: :PROPERTIES: :CRYPTKEY: Stuart McLean :END: my secret data I get the following in the echo area: epg-encrypt-string: Encrypt failed: ((exit) (invalid-recipient (reason . 0) (requested-recipient . "7488B7E9D0613F5E"))) I get the same error with `epa-encrypt-region'. Again, I am new to this, is there possibly an error with my GPG setup? Thank you, Stuart