[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] encrypting file uses revoked key
From: |
Bastien |
Subject: |
Re: [O] encrypting file uses revoked key |
Date: |
Sun, 20 Apr 2014 09:59:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Hi Daniel,
Daniel Krenn <address@hidden> writes:
> I create a new file test.gpg and write
>
> # -*- mode:org; epa-file-encrypt-to: ("address@hidden") -*-
>
> (address@hidden 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?
Not sure. Can you check the value of the CRYPTKEY property?
If it looks good, maybe instrument the following functions:
org-decrypt-entry
org-crypt-key-for-heading
M-x find-function RET org-decrypt-entry RET
M-x edebug-defun RET
M-x find-function RET org-crypt-key-for-heading RET
M-x edebug-defun RET
Then proceed with your test. If the key looks good, maybe
that's an issue with EPA, not Org.
HTH,
--
Bastien
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] encrypting file uses revoked key,
Bastien <=