* org-crypt fails to encrypt region
@ 2010-10-25 20:19 Stuart McLean
0 siblings, 0 replies; only message in thread
From: Stuart McLean @ 2010-10-25 20:19 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-25 20:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 20:19 org-crypt fails to encrypt region Stuart McLean
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).