Discussion:
GPGME error
Darac Marjal
2018-03-15 10:03:22 UTC
Permalink
Hello all,

For a while now, when I sign messages with GPG, I see an error message
flash up briefly before being replaced by the signing prompt. Up until
now, I'd not been able to read the message before it disappeared, but
today (perhaps my terminal was being a bit slow) I managed to see it
read "[setting sender] mailbox ...". That was enough for me to find the
function "void mutt_gpgme_set_sender()".

I can see that this function sets the sender for gpgme (presumably so it
knows who to sign as), but my question is why is the message "[setting
sender] mailbox: %s" displayed using mutt_error()? Is it *actually* an
error to set the sender? Should this have been implied elsewhere, for
example? Or is this just a bit of debugging information that's being
rather too loudly logged?

Thanks.
--
For more information, please reread.
Kevin J. McCarthy
2018-03-15 17:18:50 UTC
Permalink
I managed to see it read "[setting sender] mailbox ...". That was
enough for me to find the function "void mutt_gpgme_set_sender()".
I can see that this function sets the sender for gpgme (presumably so it
knows who to sign as), but my question is why is the message "[setting
sender] mailbox: %s" displayed using mutt_error()?
Hi Darac,

Thanks for the report. As you guessed, it shouldn't be using
mutt_error() here. I don't think the message has much utility, given
how quickly it flies by, so I will change it to use a debug statement
instead.
--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
Loading...