GNU bug report logs -
#39058
26.1; epg-sign-string should report an error if no pinentry is available
Previous Next
Reported by: Arne Babenhauserheide <arne_bab <at> web.de>
Date: Thu, 9 Jan 2020 21:35:01 UTC
Severity: normal
Tags: moreinfo
Found in version 26.1
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 39058 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> I'm able to reproduce this when clicking "cancel" in the pinentry
> window -- no error is signalled anywhere, which I think it should be.
> I'll try to look into that.
Right. When I press "cancel" in the pinentry window, there's no data
output in the egp buffer, but the following lands in the
epg-context-error-buffer... and is then ignored, and we return a
success:
gpgsm: Note: non-critical certificate policy not allowed
gpgsm: Note: non-critical certificate policy not allowed
gpgsm: DBG: adding certificates at level -2
gpgsm: error creating signature: Operation cancelled <Pinentry>
I think I've now fixed this bit in Emacs 28.1. It's likely this fix
also corrects signing when there's no pinentry program at all, but I'm
not sure how to test that. Could you test the fix in Emacs 28.1?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 209 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.