* Bad experience with gpg signing failures
@ 2020-04-24 0:23 Stan Pitucha
0 siblings, 0 replies; only message in thread
From: Stan Pitucha @ 2020-04-24 0:23 UTC (permalink / raw)
To: git
Hi all,
There are two issues I keep running into with gpg signing usability:
1. When gpg fails to sign the commit, the error message is not
forwarded. That means you always get "gpg failed to sign the data"
when the actual gpg error is for example "gpg: skipped ...: Unusable
secret key". This makes the errors hard to deal with, because you
don't know which command actually failed without GIT_TRACE. That's
especially bad in case of transient errors.
2. When gpg fails to sign the commit, it's not reported where it's
available. I found that it's possible to recover it from
COMMIT_EDITMSG from man pages, but it would be great if "gpg failed to
sign the data" message was followed with "your message draft was saved
to .git/COMMIT_EDITMSG" to make it more discoverable / not require
reading full manual to find out about it.
--
Stan Pitucha
Site Reliability Engineer at Envato
http://envato.com
The email and any attachments are confidential and may contain
information that is exempt from disclosure by law and subject to
copyright. If you have received this message in error please let me
know and delete it.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-24 0:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-24 0:23 Bad experience with gpg signing failures Stan Pitucha
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 NNTP newsgroup(s).