unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
To: emacs-devel@gnu.org
Cc: Daiki Ueno <ueno@unixuser.org>
Subject: Re: Suggestion: epa-file-select-keys should show currently selected keys
Date: Tue, 26 Feb 2008 10:42:59 +0100	[thread overview]
Message-ID: <m28x18834s.fsf@kenny.sha-bang.de> (raw)
In-Reply-To: <m2fxvh9wf9.fsf@kenny.sha-bang.de> (Sascha Wilde's message of "Mon, 25 Feb 2008 11:12:42 +0100")

Sascha Wilde <wilde@sha-bang.de> 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 <sascha.wilde@intevation.de>" nil]) (epg-user-id
. [ultimate "Sascha Wilde <Sascha.Wilde@intevation.de>" nil])
(epg-user-id . [ultimate "Sascha Wilde (Dienstlicher Key)
<wilde@intevation.de>" 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




  parent reply	other threads:[~2008-02-26  9:42 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-25 10:12 Suggestion: epa-file-select-keys should show currently selected keys Sascha Wilde
2008-02-25 19:01 ` Richard Stallman
2008-02-26  9:35   ` Sascha Wilde
2008-02-26 23:47     ` Richard Stallman
2008-02-27  8:39   ` Daiki Ueno
2008-02-27 16:08     ` Richard Stallman
2008-02-28  8:36       ` Daiki Ueno
2008-02-28 13:56     ` Bastien
2008-02-29  1:40       ` Richard Stallman
2008-02-29  4:07       ` Daiki Ueno
2008-02-29  4:59         ` Stefan Monnier
2008-02-29 16:40         ` EasyPG API and usage questions (was: Suggestion: epa-file-select-keys should show currently selected keys) Ted Zlatanov
2008-03-01  0:23           ` Daiki Ueno
2008-03-01  0:38             ` Daiki Ueno
2008-03-03 20:19             ` EasyPG API and usage questions Ted Zlatanov
2008-03-04  6:31               ` Daiki Ueno
2008-03-04 14:42                 ` Ted Zlatanov
2008-03-05  7:25                   ` Daiki Ueno
2008-03-05 16:24                     ` Ted Zlatanov
2008-03-05 16:41                     ` Ted Zlatanov
2008-03-01 10:20           ` Reiner Steib
2008-03-03 19:50             ` Ted Zlatanov
2008-02-26  9:42 ` Sascha Wilde [this message]
2008-02-27  8:07   ` Suggestion: epa-file-select-keys should show currently selected keys Daiki Ueno
2008-02-27 12:01     ` Sascha Wilde
2008-03-04 14:36       ` Sascha Wilde
2008-03-11  8:53         ` Sascha Wilde
2008-03-16  4:05           ` Michael Olson

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m28x18834s.fsf@kenny.sha-bang.de \
    --to=wilde@sha-bang.de \
    --cc=emacs-devel@gnu.org \
    --cc=ueno@unixuser.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.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).