@werner: Is this resolved?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Fri, Jan 23
Wed, Jan 21
I also tested to add the qual flag to the root cert in the global trusted.txt, as using qualified.txt is considered legacy, but still the same behavior
The first time Okular was included is gpg4win-4.2.0:
See here for how it should look like:
I see. I added the root cert to C:\ProgramData\GNU\etc\gnupg\qualified.txt and the usage of the signing certs does include a qualified signature in Kleopatra now. Still I don't see any highlight/filter in Okular:
Tue, Jan 20
None of these certificates are for qualified signatures.
Try compare with a gpg4win 3.latest.
Thu, Jan 15
On gpg4win-5.0.0 @ win11 I created a bunch of smime certs:
- For each keyusage
- keyEncipherment, dataEncipherment
- digitalSignature
- nonRepudiation
- digitalSignature, nonRepudiation
- Alice's certs with different names, Bob's certs with same name for each key
Wed, Jan 14
Was anything changed? What to test here?
Tue, Jan 13
A way to trigger some errors could be trying to save to c:\windows or some other place you can't do.
Or while you have the key list open in okular, remove the key underneath everything and then continue.
We now have a filter for qualified signatures if there is any in the list
Fixed upstream with https://invent.kde.org/graphics/okular/-/merge_requests/1301 - not yet in our packaging
Fri, Jan 9
That was also fixed in gnupg 2.2.50 and thus vsd 3.3.3
Thu, Jan 8
Looks good to me on gpg4win-5.0.0-beta479 @ win11.
Wed, Jan 7
>gpgsm -v --sign --local-user "Edward Tester" test.pdf > test.gpg.p7s
gpgsm: enabled compatibility flags:
gpgsm: looking up issuer from the Dirmngr cache
gpgsm: number of matching certificates: 0
gpgsm: dirmngr cache-only key lookup failed: No data
gpgsm: issuer certificate {04A0A7E932B29D43A9B6673139AF52C0A5FC467BF5A64D044D1AC33613ABBB73CA532569F5779999114C0118CD66FDF6E92B1B0EEE2A4D5A815DA7FD892DDDE9C1} not found using authorityKeyIdentifier
gpgsm: looking up issuer from the Dirmngr cache
gpgsm: number of matching certificates: 0
gpgsm: dirmngr cache-only key lookup failed: No data
gpgsm: certificate is good
gpgsm: root certificate is not marked trusted
gpgsm: fingerprint=D4:EC:A6:B4:69:AB:B5:44:08:27:CB:3F:C7:D7:91:08:3C:10:27:DB
gpgsm: DBG: BEGIN Certificate 'issuer':
gpgsm: DBG: serial: 01
gpgsm: DBG: notBefore: 2020-03-26 19:41:01
gpgsm: DBG: notAfter: 2063-04-05 17:00:00
gpgsm: DBG: issuer: CN=Root-CA 2020,OU=GnuPG.com,O=g10 Code GmbH,C=DE
gpgsm: DBG: subject: CN=Root-CA 2020,OU=GnuPG.com,O=g10 Code GmbH,C=DE
gpgsm: DBG: hash algo: 1.2.840.113549.1.1.11
gpgsm: DBG: SHA1 Fingerprint: D4:EC:A6:B4:69:AB:B5:44:08:27:CB:3F:C7:D7:91:08:3C:10:27:DB
gpgsm: DBG: END Certificate
gpgsm: after checking the fingerprint, you may want to add it manually to the list of trusted certificates.
gpgsm: validation model used: shell
gpgsm: can't sign using 'Edward Tester': Not trusted
[GNUPG:] FAILURE gpgsm-exit 50331649How does gpgsm react if you try to sign with the certificate?
Tue, Jan 6
Maybe it would be better to just not offer S/MIME certs with distrusted root cert?
Note: It does not seem to be possible to open a pdf from an URL, at least not via CLI okular.exe <URL> (it says Unknown protocol 'https').
I tried to get any error response but found those issues instead:
gpgsm.log (debug-all, whole process of signing)
Looks good to me on gpg4win-5.0.0-beta479 @ win11. The default path is now the same as the path of the opened file:
Dec 23 2025
Yes, Kleopatra quits again with the beta from yesterday:
Dec 22 2025
Fixed in gpg4win-5.0.0-beta476
Fixed by applying a patch to our version of MinGW. This affected all Qt programs build with Qt 6.10.
Dec 15 2025
Yes, this is obsolete with T7717: Location of qt-application config files. Closing as Wontfix because we use product-specific folders outside of GNUPGHOME.
Dec 12 2025
In T7285#209655, @ebo wrote:@svuorela Isn't this done already for KF6?
@svuorela Isn't this done already for KF6?
Is this ticket obsolete with T7717: Location of qt-application config files?
This should better be fixed in the v5 release
Dec 9 2025
With the product-specific standard locations implemented for T7717: Location of qt-application config files it's now longer necessary to customize the application name of Okular. Closing as wontfix.
The new approach has been implemented and backported for VSD 3.4.
Dec 8 2025
New new plan (after discussion on 2025-12-08):
Dec 4 2025
While working on https://dev.gnupg.org/T7962 I realized that https://dev.gnupg.org/T7717#208938 is probably not the best solution for separating the config files of different distributions of Kleopatra, Okular, etc. Changing the application name has many side effects, e.g. it changes the name of the config files, but that's unnecessary because we put the apps' files already in different folders. There are also other side effects that make things complicated (and require many changes in okular). Taking a step back what we need is different folders for VSD, GPD, and Gpg4win (and KDE Okular). And, for Kleopatra, we need different unique service IDs, but let's ignore this for now. That can easily be solved separately. For the different folders it would be sufficient (and maybe even nicer for selective backups) to use something like %(LOCAL)APPDATA%/GnuPG VS-Desktop, etc., as location for all apps' files of VSD/GPD/Gpg4win. Then we wouldn't have to change/patch anything in Okular (or any other Qt apps).
Dec 2 2025
Backported for VSD 3.4
Dec 1 2025
This is now implemented for Gpg4win 5.
Nov 26 2025
Nov 25 2025
For our GnuPG Okular, we should not use the standard file names (okularrc, …) as this would conflict with a regular Okular installation.
Nov 21 2025
Looks good to me on gpg4win-5.0.0-beta413 @ win11.
Nov 18 2025
I believe this bug was fixed by T7829. Please confirm with new gpgwin-5.0.0-beta.
Oct 23 2025
Looks good to me on gpg4win-5.0.0-beta395 @ win11 (gpg 2.5.13).
Oct 22 2025
Oct 21 2025
Oct 13 2025
Oct 2 2025
I implemented that in the old 2.2 branch for easier testing.
Please let us not clutter the code with OS specific things. We could use a gnupg_remove_ext or gnupg_remove_maybe_wait with a wait parameter which maps to a plain gnupg_remove for Unix. The GPGRT_PROCESS_DETACHED, in the asshelp is also the only specific thing which can be move to a file global macro.
I think that modifying gnupg_remove is a bit risky because it's used in many places.
I'd rather introduce new function for Windows; gnupg_w32_delete_file for this particular purpose.
Factoring out wait_when_sharing_violation function from gnupg_rename_file.
Oct 1 2025
The gnupg_remove should retry if it has a sharing violation. Similar to what we do in gnupg_rename_file. I just figured that we do a remove in the latter function too w/o handling a sharing violation.
Here is a possible fix:
Sep 24 2025
I can't find any causes of slowness in keyboxd initialization. I think that there is a situation where it simply takes time on Windows.
Sep 23 2025
Sep 22 2025
Current logs for a forever hang:
still reproducible on gpg4win-5.0.0-beta369 @ win10



