darcs

Issue 1121 user-friendlify error message when user cancels gpg signing

Title user-friendlify error message when user cancels gpg signing
Priority wishlist Status given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, jaredj, kowey, thorkilnaur, twb
Assigned To
Topics ProbablyEasy, UI

Created on 2008-10-04.12:42:41 by twb, last changed 2017-07-30.23:03:34 by gh.

Messages
msg6219 (view) Author: twb Date: 2008-10-04.12:42:39
Doing a darcs send --sign with gpg-agent enabled.

In the pinentry-gtk2 popup, I press "cancel".  The output includes

    gpg: cancelled by user
    darcs: fd:10: hPutBuf: resource vanished (Broken pipe)

    gpg: no default secret key: bad passphrase
    gpg: [stdin]: clearsign failed: bad passphrase

    darcs failed:  External program 'gpg' failed with exit code 2

perhaps the hPutBuf line should be suppressed or made more
user-friendly?
History
Date User Action Args
2008-10-04 12:42:41twbcreate
2008-10-27 13:06:14koweysetpriority: wishlist
nosy: + jaredj
topic: + ProbablyEasy
2009-04-09 14:02:40koweysetstatus: unread -> needs-reproduction
nosy: kowey, dagit, simon, twb, thorkilnaur, jaredj, dmitry.kurochkin
topic: + UI
2009-08-10 23:47:22adminsetnosy: - dagit
2009-08-25 17:30:08adminsetnosy: + darcs-devel, - simon
2009-08-26 17:27:57koweysetstatus: needs-reproduction -> needs-implementation
nosy: kowey, darcs-devel, twb, thorkilnaur, jaredj, dmitry.kurochkin
2009-08-27 14:33:35adminsetnosy: kowey, darcs-devel, twb, thorkilnaur, jaredj, dmitry.kurochkin
2017-07-30 23:03:34ghsetstatus: needs-implementation -> given-up