Found by testing T7285: Okular: Improvement of error messages regarding signatures.
To reproduce:
- Import testing root cert and some smime certs (e.g. edward)
- Distrust root cert in Kleopatra
- Open a pdf in Okular and add a signature with a smime cert (e.g. edward)
- Finish singing, save to file
- No pinentry shows up
- Okular hangs
- The file is written
- Opening the file, it shows: "The signature could not be verified"




