Needs to be discussed…
Details
Wed, Apr 8
Maybe. EncryptionResult has a list of invalid recipients and I've changed the code to show the Retry dialog only if there's at least one invalid recipient.
Your suggestion sounds ok to me, maybe with a slight change for the message: "Failed to encrypt the notepad because at least on certificate could not be validated."
I tried to add the list of invalid recipients to the message box, but it seems that gpgsm stops the validation of the certificates at the first invalid recipient. I got only the first Bob certificate reported as invalid recipient when I tried to encrypt to both Bob certificates so that it doesn't make sense to list the (incomplete) list of invalid recipients. It also means that Kleopatra cannot update the invalid recipient certificates because it knows only of one invalid certificate.
Ideally the certificate would change, but Kleopatra has no idea that this certificate turned out to be not valid. In fact, Kleopatra doesn't even know that the encryption failed because of some certificate. It could have failed for any other reason (e.g. full disk). Kleopatra only knows that an error occurred and offers to retry with lower security. (I looked at GpgOL and it does the same.)
yes, basically it's what we want.
Tue, Apr 7
Current implementation for the case of an S/MIME certificate which turns out to be invalid when it's used for encryption. Is that what we want?
Mon, Mar 30
Fri, Mar 27
Before making subtickets for each application: I wonder if it is not all Kleopatra anyway? Isn't the security approval dialog basically Kleopatra?
The equivalent for invalid S/MIME certificates are not-certified *PGP certificates.
(Valid/invalid are not ideal as technical terms as they have a broad general meaning, too. I hope my usage here is correct ;-) It is what I gathered from an explanation given by Werner.)
feedback of @mmontkowski needed
Invalid certs (as stated in the status column in Kleopatra) are mainly S/MIME certs (e.g. with missing root cert, CRL check failed, etc). I haven't seen invalid pgp certs yet (might be e.g. very old ones with missing self signature).
Invalid and expired are different cases.
Thu, Mar 26
Issue 1) should be implemented as already described (on error -> dialog to retry with "always trust" flag)
@ebo and me talked about this and T6701: GpgOL: Use GPGME_ENCRYPT_ALWAYS_TRUST. We think, it's best to have a short meeting to discuss further changes.
Mon, Mar 23
Removing kleopatra tag since Kleopatra already does what's requested.
Fri, Mar 20
Pushed the last change: rG2239f687bb14: scd:openpgp: UI improvement for use of PIN-entry.
Thu, Mar 19
Backported for VSD 3.4
The remaining open points of this ticket will be "won't fix" for now. When we plan to change something here, we should open new tickets, this one got confusing.
This is a bit larger change (of UI improvement):
Wed, Mar 18
It's not that simple. The user could have decrypted multiple archives. Showing an additional message box after all decrypted archives have been moved to the final destination somehow doesn't feel right. And what if an archive and a regular file were decrypted? Should the additional message box also show the final destination of the regular file? I think this needs more thought.
Tue, Mar 17
added vsd34 for the resetting of the defaults
Mon, Mar 16
Filter 16 is the new filter for valid certificates. The problem could be that the version you tested did not yet have this filter.
Mar 13 2026
@ikloecker I'd like it if we could backport the resetting of the preferences to vsd34.
Font selection dialog lets the user choose a font size, which is then not respected - can we disable selecting the font size?
Mar 10 2026
I was wrong. gpg (scdaemon) needed to be fixed with more changes for the interaction with pinentry.
Mar 9 2026
I thought Gniibe's comment meant that gpg does report the errors now correctly…
So what is still to be done in gpg?
I don't think that anything of this can be changed in Kleopatra or even gpgme. Kleopatra relies on proper error codes by gpg.
Mar 6 2026
I've created the ticket above for Q2, we need to discuss how to follow up Q1 and Q3 next week.
We should also change the "donate" button to Gpg4win then and the text to "voluntary payment".
I guess those things need to be changed in Kleopatra after @gniibe made the changes in scd. I'll add a Kleo tag for discussion, as we should probably make several tickets from this.
Ok, thanks. Closing the mail in Mailviewer will remove all temporary opened attachment files, so I'll set this to resolved.

