Bug 352033

Summary: erroneous error message if encrypt to x509 certificate and issuer intermediary cert present, but not root
Product: [Applications] kleopatra Reporter: RH <kleopatra-rh>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: kleopatra-rh, mutz
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Attachments: notFound.png
hauser_till2017.crt
qvIntermetTill2020.crt
qvRootTill2021.crt

Description RH 2015-08-30 20:43:06 UTC
not really useful error message

Reproducible: Always

Steps to Reproduce:
1. add leaf encryption cert
2. ad intermediary issuer
3. try to encrypt

Actual Results:  
nothing is encrypted and misleading error displayed

Expected Results:  
a) encrypt or
b) say exactly what is missing

see also Bug 308235
Comment 1 RH 2015-08-30 20:43:38 UTC
Created attachment 94290 [details]
notFound.png
Comment 2 RH 2015-08-30 20:45:16 UTC
Created attachment 94291 [details]
hauser_till2017.crt

the audit log says << * Unbekannte Operation
* Dirmngr benutzbar   Ja >>

leaf is hauser_till2017.crt
Comment 3 RH 2015-08-30 20:45:50 UTC
Created attachment 94292 [details]
qvIntermetTill2020.crt
Comment 4 RH 2015-08-30 20:50:50 UTC
Created attachment 94294 [details]
qvRootTill2021.crt

if I add the root, it still fails with <<File exists>>

so if I try to encrypt the attached png, I see

ls -lart docs/notFound.png*
-rwxrwx---+ 1 hauser None 37640 Aug 30 22:41 docs/notFound.png
-rwxrwx---+ 1 hauser None     0 Aug 30 22:47 docs/notFound.png.p7m.BT6716

==> at least say which file exists in which directory
Comment 5 RH 2015-09-07 10:01:47 UTC
see also https://bugs.gnupg.org/gnupg/issue2091
Comment 6 Justin Zobel 2021-03-10 00:15:29 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.