emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Krenn <krenn@aon.at>
To: emacs-orgmode@gnu.org
Subject: encrypting file uses revoked key
Date: Sun, 23 Mar 2014 11:16:42 +0100	[thread overview]
Message-ID: <532EB48A.70307@aon.at> (raw)

I create a new file test.gpg and write

  # -*- mode:org; epa-file-encrypt-to: ("bla@blub.com") -*-

(bla@blub.com replaced by my mail address) as the first line. Then I
save this file and I'm asked

  Select recipents for encryption.
  If no one is selected, symmetric encryption will be performed.
  - `m' to mark a key on the line
  - `u' to unmark a key on the line
  [Cancel][OK]

  <list of keys...>

from which I select my current key. The file is saved and I can open it
again (inserting my passphrase for my key).

Now, when I change something in the file and then want to save it, I get
the following error:

  byte-code: Opening output file: Encrypt failed: ((exit) (invalid-
  recipient (reason . 0) (requested-recipient . "2A10BC79E59DAB19")))

The key 2A10BC79E59DAB19 is my old key, which has been revoked.

So what goes wrong here?

FYI: Before creating my current gpg key, everything was fine.

Daniel

             reply	other threads:[~2014-03-23 10:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-23 10:16 Daniel Krenn [this message]
2014-04-20  7:59 ` encrypting file uses revoked key Bastien

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=532EB48A.70307@aon.at \
    --to=krenn@aon.at \
    --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).