From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.devel Subject: Re: Suggestion: epa-file-select-keys should show currently selected keys Date: Tue, 26 Feb 2008 10:42:59 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1204019341 22009 80.91.229.12 (26 Feb 2008 09:49:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2008 09:49:01 +0000 (UTC) Cc: Daiki Ueno To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 26 10:49:27 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JTwR3-0002qF-8f for ged-emacs-devel@m.gmane.org; Tue, 26 Feb 2008 10:49:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTwQX-0001Bn-E6 for ged-emacs-devel@m.gmane.org; Tue, 26 Feb 2008 04:48:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JTwLD-00064A-OM for emacs-devel@gnu.org; Tue, 26 Feb 2008 04:43:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JTwLB-00063S-BK for emacs-devel@gnu.org; Tue, 26 Feb 2008 04:43:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTwLA-00063H-Jt for emacs-devel@gnu.org; Tue, 26 Feb 2008 04:43:13 -0500 Original-Received: from mail2.sha-bang.de ([78.47.120.114] helo=mail.sha-bang.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JTwLA-0005Th-59 for emacs-devel@gnu.org; Tue, 26 Feb 2008 04:43:12 -0500 Original-Received: from kenny.sha-bang.de (xdslcj218.osnanet.de [89.166.137.218]) by mail.sha-bang.de (Postfix) with ESMTP id 3F263559; Tue, 26 Feb 2008 10:54:07 +0100 (CET) Original-Received: from wilde by kenny.sha-bang.de with local (Sha Bang MUA v.0711184.68) ID 1JTwKz-0006iM-Cu; Tue, 26 Feb 2008 10:43:01 +0100 In-Reply-To: (Sascha Wilde's message of "Mon, 25 Feb 2008 11:12:42 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90494 Archived-At: Sascha Wilde 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 " nil]) (epg-user-id . [ultimate "Sascha Wilde " nil]) (epg-user-id . [ultimate "Sascha Wilde (Dienstlicher Key) " nil]))])) signal(file-error ("Opening output file" stringp (epg-key . [ultimate ... ...]))) byte-code("=C4\"=89\n=C5=A1=88=C6=C7=C8AB\"=87" [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 --=20 Sascha Wilde "The primary difference [...] is that the Java program will reliably and obviously crash, whereas the C program will do something obscure."=20=20 -- Java Language Tutorial