Bug 352033 - erroneous error message if encrypt to x509 certificate and issuer intermediary cert present, but not root
Summary: erroneous error message if encrypt to x509 certificate and issuer intermediar...
Status: REPORTED
Alias: None
Product: kleopatra
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-30 20:43 UTC by RH
Modified: 2021-03-10 00:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
notFound.png (36.76 KB, image/png)
2015-08-30 20:43 UTC, RH
Details
hauser_till2017.crt (2.18 KB, text/plain)
2015-08-30 20:45 UTC, RH
Details
qvIntermetTill2020.crt (1.94 KB, application/x-x509-ca-cert)
2015-08-30 20:45 UTC, RH
Details
qvRootTill2021.crt (2.06 KB, application/x-x509-ca-cert)
2015-08-30 20:50 UTC, RH
Details

Note You need to log in before you can comment on or make changes to this bug.
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.