emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestion: epa-file-select-keys should show currently selected keys


From: Sascha Wilde
Subject: Re: Suggestion: epa-file-select-keys should show currently selected keys
Date: Tue, 26 Feb 2008 10:42:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Sascha Wilde <address@hidden> wrote:
> 1. Am I right that `M-x epa-file-select-keys' can be used to change the
>    recipients in an existing *.gpg file?  If so, that should be
>    documented more clearly (and might be worth an default binding?)

Unfortunately it seems that I'm mistaken:
- Open an existing *.gpg file
- do M-x epa-file-select-keys and select some keys
- do any change, so that saving is possible (a problem on its own, as
  changing the list of recipients should be considered a relevant change
  it self)
- C-x C-s leads to an error:

Debugger entered--Lisp error: (file-error "Opening output file" stringp
(epg-key . [ultimate ((epg-sub-key . [ultimate (sign certify) nil 17
1024 "BB2185144BB86568" (16792 . 47982) nil
"8C21030737FBEB0CA0AFDC90BB2185144BB86568"]) (epg-sub-key . [ultimate
(encrypt) nil 16 2048 "31A16202F8F7E674" (16792 . 48001) nil
"F82F26DB68EF79BDC859377131A16202F8F7E674"])) ((epg-user-id . [ultimate
"Sascha Wilde <address@hidden>" nil]) (epg-user-id
. [ultimate "Sascha Wilde <address@hidden>" nil])
(epg-user-id . [ultimate "Sascha Wilde (Dienstlicher Key)
<address@hidden>" nil]))]))
  signal(file-error ("Opening output file" stringp (epg-key . [ultimate
  ... ...])))
  byte-code("Ä\"‰\nÅ¡ˆÆÇÈAB\"‡" [file epa-file-passphrase-alist
  entry error assoc nil signal file-error "Opening output file"] 4)
  epa-file-write-region(1 157
  "/tmp/foo.gpg" nil t)
  apply(epa-file-write-region (1 157
  "/tmp/foo.gpg" nil t))
  epa-file-handler(write-region 1 157
  "/tmp/foo.gpg" nil t)
  write-region(1 157 "/tmp/foo.gpg"
  nil t "/tmp/foo.gpg")
  basic-save-buffer-2()
  basic-save-buffer-1()
  basic-save-buffer()
  save-buffer(1)
  call-interactively(save-buffer nil nil)

So is there any comfortable way at all to change the list of recipients?

cheers
sascha
-- 
Sascha Wilde
"The primary difference [...] is that the Java program will reliably
and obviously crash, whereas the C program will do something obscure."  
   -- Java Language Tutorial




reply via email to

[Prev in Thread] Current Thread [Next in Thread]