When one tries to decrypt a file which is not encrypted to any of the keys in their keyring, they get the message:
"Decryption failed: No secret key" and on the next line e.t. "One unknown recipient" or "Recipient: Some UID":
{F14076436}
The Audit log shows:
```
gpg: verschlüsselt mit RSA Schlüssel, ID CD573B2B0736643A
gpg: Entschlüsselung fehlgeschlagen: Kein geheimer Schlüssel
```
As some users seem not to understand this, I propose to add some text on the condition that the error message is "No secret key".Edited on 2024-09-24:
Suggestion for the additional sentence:
As some users seem not to understand this, we want to add some text in a new line on the condition that the error message is "No secret key":
"This means that the data you want to decrypt was not encrypted to any of thyour private keys in your keyring." (or possibly in your certificate list)."
And then be a bit more verbose on the recipient line, too.
And possibly an additional sentence, too? Or maybe better change the recipient info line to:Replace "Unknown recipient" with "The data is encrypted to: unknown recipient." or "The data is encrypted to an unknown recipient."
"The data is encrypted to: %1" Where the variable might be: "Unknown recipient" or "Person A" or "UID AChoose the possibility here which works best in all cases/is easier to implement.
(I'm not sure what all the other possibilities have to be kept in mind here, UID B" plusI assume the respective fingerprint(s)."unknown recipient" is a variable and there are various other possible values.)