Treat invalid recipients error with higher priority than input failure
The input failure might occur as secondary error caused by the failed
encryption. To allow a retry with always trusted recipients we need to
handle a failed encryption with invalid recipients before handling an
input failure. Otherwise, we keep handling input failures before other
signing or encryption error because input failures which are not secondary
errors will likely also cause signing or encryption errors as secondary
errors.
(cherry picked from commit db8c02a2e8afe1b0a356d71bf6b23bdab86ec204)
- GnuPG-bug-id: T8234