A valid smime cert in Okular was reported to be shown as invalid.
I tried to reproduce the issue by creating a valid signature on a test pdf with vsd 3.3.2, but opening this signed pdf in gpg4win-5.0.0-beta190@win10, okular gets unresponsive:
Here's the gpgme log (set GPGME_DEBUG=9;C:\Users\g10\Desktop\gpgme_log.txt):
In the task manager I see a lot of leftover X.509 processes (probably from multiple tries).
In dgbview i see a lot of Not all environment variables could be expanded. messages.
Signing of an unsigned document results in an error (all certs invalid or expired), which is not the case in kleopatra:
Here's the gpgme log of signing:
@TobiasFella made a screenshot of an (incomplete) backtrace: