GNU bug report logs - #9255
Obscure epa-file error message

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sat, 6 Aug 2011 03:23:02 UTC

Severity: normal

Done: Daiki Ueno <ueno <at> unixuser.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 9255-done <at> debbugs.gnu.org (full text, mbox):

From: Daiki Ueno <ueno <at> unixuser.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 9255-done <at> debbugs.gnu.org
Subject: Re: bug#9255: Obscure epa-file error message
Date: Mon, 08 Aug 2011 16:16:04 +0900
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> $ gpg --encrypt -r A6CC6651 test.txt
>> gpg: A6CC6651: skipped: unusable public key
>> gpg: test.txt: encryption failed: unusable public key
>
> It's not great, but "unusable public key" is a good improvement over
> "Opening output file: Encrypt failed: ((exit) (invalid-recipient (reason
> . 0) (requested-recipient . "36DB083C608CC24C")))"
>
> I guess "invalid-recipient" does mean the same as "unusable public key"
> at some level, but to this end user "unusable public key" is a lot
> more clear.

OK.  Now you will get something like:

Opening output file: Encrypt failed, Unusable public key: 084B0E86A6CC6651; Exit

http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/105419

Regards,
-- 
Daiki Ueno




This bug report was last modified 13 years and 292 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.