Page MenuHome GnuPG
Feed Advanced Search

Mon, Oct 13

werner moved T7829: w32: daemon (gpg-agent/keyboxd/dirmngr) startup and connection race when there is a socket file already from Backlog to QA on the gnupg22 board.
Mon, Oct 13, 4:00 PM · gnupg22, Bug Report, gpd5x, okular
werner added a project to T7829: w32: daemon (gpg-agent/keyboxd/dirmngr) startup and connection race when there is a socket file already: gnupg22.
Mon, Oct 13, 4:00 PM · gnupg22, Bug Report, gpd5x, okular

Thu, Oct 2

werner moved T7829: w32: daemon (gpg-agent/keyboxd/dirmngr) startup and connection race when there is a socket file already from Backlog to WIP on the gpd5x board.
Thu, Oct 2, 3:43 PM · gnupg22, Bug Report, gpd5x, okular
werner added a comment to T7829: w32: daemon (gpg-agent/keyboxd/dirmngr) startup and connection race when there is a socket file already.

I implemented that in the old 2.2 branch for easier testing.

Thu, Oct 2, 12:02 PM · gnupg22, Bug Report, gpd5x, okular
werner added a comment to T7829: w32: daemon (gpg-agent/keyboxd/dirmngr) startup and connection race when there is a socket file already.

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.

Thu, Oct 2, 10:44 AM · gnupg22, Bug Report, gpd5x, okular
gniibe added a comment to T7829: w32: daemon (gpg-agent/keyboxd/dirmngr) startup and connection race when there is a socket file already.

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.

Thu, Oct 2, 9:50 AM · gnupg22, Bug Report, gpd5x, okular

Wed, Oct 1

werner added a comment to T7829: w32: daemon (gpg-agent/keyboxd/dirmngr) startup and connection race when there is a socket file already.

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.

Wed, Oct 1, 12:32 PM · gnupg22, Bug Report, gpd5x, okular
gniibe updated the task description for T7829: w32: daemon (gpg-agent/keyboxd/dirmngr) startup and connection race when there is a socket file already.
Wed, Oct 1, 8:44 AM · gnupg22, Bug Report, gpd5x, okular
gniibe added a comment to T7829: w32: daemon (gpg-agent/keyboxd/dirmngr) startup and connection race when there is a socket file already.

Here is a possible fix:

Wed, Oct 1, 8:16 AM · gnupg22, Bug Report, gpd5x, okular
gniibe triaged T7829: w32: daemon (gpg-agent/keyboxd/dirmngr) startup and connection race when there is a socket file already as Normal priority.
Wed, Oct 1, 7:58 AM · gnupg22, Bug Report, gpd5x, okular

Wed, Sep 24

gniibe added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

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.

Wed, Sep 24, 8:14 AM · Bug Report, gpd5x, okular

Tue, Sep 23

gniibe claimed T7658: Okular: Dirmngr startup timeout on signature validation.
Tue, Sep 23, 4:21 AM · Bug Report, gpd5x, okular

Mon, Sep 22

timegrid added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

Current logs for a forever hang:

Mon, Sep 22, 12:36 PM · Bug Report, gpd5x, okular
timegrid added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

still reproducible on gpg4win-5.0.0-beta369 @ win10

Mon, Sep 22, 11:11 AM · Bug Report, gpd5x, okular

Aug 13 2025

ebo closed T7706: Okular: "Save as" does not work as Resolved.
Aug 13 2025, 11:09 AM · Bug Report, okular, gpd5x

Aug 8 2025

svuorela changed the status of T6732: Visual representation of signature is a bit ugly from Open to Testing.
Aug 8 2025, 12:04 PM · okular

Aug 4 2025

timegrid moved T7706: Okular: "Save as" does not work from Backlog to Done on the gpd5x board.

Looks good to me on gpg4win-5.0.0-beta357 @ win10

Aug 4 2025, 3:53 PM · Bug Report, okular, gpd5x

Jul 31 2025

ebo updated the task description for T7717: Draft: Location of qt-application config files.
Jul 31 2025, 11:29 AM · vsd34, gpd5x, okular

Jul 29 2025

svuorela changed the status of T7706: Okular: "Save as" does not work from Open to Testing.
Jul 29 2025, 8:54 AM · Bug Report, okular, gpd5x

Jul 28 2025

svuorela changed the status of T7561: Issues with Okular PGP signature error from Open to Testing.

We have now improved error messages, and this, combined with what could be considered a setup issue, I think we can consider this done for now.

Jul 28 2025, 4:13 PM · Bug Report, okular

Jul 17 2025

werner triaged T7717: Draft: Location of qt-application config files as Normal priority.
Jul 17 2025, 9:04 AM · vsd34, gpd5x, okular

Jul 10 2025

ebo triaged T7706: Okular: "Save as" does not work as Normal priority.

Likely connected to T7705: Okular: Error on signature if the original file is overwritten

Jul 10 2025, 4:05 PM · Bug Report, okular, gpd5x
ebo triaged T7705: Okular: Error on signature if the original file is overwritten as Normal priority.

I can confirm this.

Jul 10 2025, 4:00 PM · Bug Report, okular, gpd5x
ikloecker updated the task description for T7717: Draft: Location of qt-application config files.
Jul 10 2025, 11:42 AM · vsd34, gpd5x, okular
ebo created T7717: Draft: Location of qt-application config files.
Jul 10 2025, 9:54 AM · vsd34, gpd5x, okular

Jul 8 2025

ikloecker added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

Staring at some Process Monitor logs I noticed that dirmngr wastes 3-4 seconds trying to connect to localhost:9050 and localhost:9150 looking for tor. After adding no-use-tor to dirmngr.conf dirmngr starts reasonably fast.

Jul 8 2025, 3:16 PM · Bug Report, gpd5x, okular

Jul 7 2025

ikloecker added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

I have built the run-* test programs of gpgme for Windows. run-keylist --cms --secret takes about 23 seconds. 3.7 seconds are gpgme initialization/setup (gpgconf --list-dirs, gpgconf --list-components, gpg --version, gpgsm --version, gpgconf --version). Most time (2 x 6-8 s) is lost starting gpg-agent and dirmngr. (keyboxd is not enabled here.)

Jul 7 2025, 3:47 PM · Bug Report, gpd5x, okular

Jun 30 2025

timegrid updated the task description for T7705: Okular: Error on signature if the original file is overwritten.
Jun 30 2025, 8:36 AM · Bug Report, okular, gpd5x

Jun 26 2025

timegrid created T7706: Okular: "Save as" does not work.
Jun 26 2025, 7:14 PM · Bug Report, okular, gpd5x
timegrid created T7705: Okular: Error on signature if the original file is overwritten.
Jun 26 2025, 7:02 PM · Bug Report, okular, gpd5x

Jun 25 2025

timegrid closed T7697: Okular: No valid smime certs found as Resolved.

On gpg4win-5.0.0-beta330 everything works fine again (both smime and openpgp regardless of expiration).

Jun 25 2025, 12:08 PM · Bug Report, gpd5x, okular

Jun 24 2025

timegrid added a comment to T7697: Okular: No valid smime certs found.

I now imported all certs in testzertifikate_2023/ (smime and openpgp) and generated a new one (openpgp, default settings, expiration 2028) and still get no valid signing certs in okular

Jun 24 2025, 4:38 PM · Bug Report, gpd5x, okular
timegrid added a comment to T7697: Okular: No valid smime certs found.

added gpgsm log:

Jun 24 2025, 4:08 PM · Bug Report, gpd5x, okular
timegrid updated the task description for T7697: Okular: No valid smime certs found.
Jun 24 2025, 4:07 PM · Bug Report, gpd5x, okular
ikloecker updated the task description for T7697: Okular: No valid smime certs found.
Jun 24 2025, 4:02 PM · Bug Report, gpd5x, okular
ikloecker updated the task description for T7697: Okular: No valid smime certs found.
Jun 24 2025, 4:00 PM · Bug Report, gpd5x, okular
timegrid added a comment to T7697: Okular: No valid smime certs found.

Ingo mentioned some maybe related expiration year 2038+ ticket, but I only found one for kleo: https://dev.gnupg.org/T7069

Jun 24 2025, 3:43 PM · Bug Report, gpd5x, okular
timegrid renamed T7658: Okular: Dirmngr startup timeout on signature validation from Okular: Problems with smime signatures to Okular: Dirmngr startup timeout on signature validation.
Jun 24 2025, 3:40 PM · Bug Report, gpd5x, okular
timegrid added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

Issue about no valid smime certs found on signing split into: https://dev.gnupg.org/T7697

Jun 24 2025, 3:29 PM · Bug Report, gpd5x, okular
timegrid triaged T7697: Okular: No valid smime certs found as Normal priority.
Jun 24 2025, 3:24 PM · Bug Report, gpd5x, okular

Jun 23 2025

timegrid added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

3 non-hang logs, all took ~20s to open the file (with 20s "Keine Rückmeldung" shown in Okular)

Jun 23 2025, 2:48 PM · Bug Report, gpd5x, okular
ikloecker added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

The problem with the invalid certificates seems to be unrelated. Isn't there already a ticket for Okular for certificates which expire after 2038?

Jun 23 2025, 2:46 PM · Bug Report, gpd5x, okular
svuorela added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

If keyboxd sometimes takes 6 seconds, then I'm not surprised that stuff times out after 8 seconds occasionally. Or well. we need more numbers to determine that.

Jun 23 2025, 2:19 PM · Bug Report, gpd5x, okular
ikloecker added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

And in the first case, about 6 seconds are lost starting keyboxd:

2025-06-23 13:16:55 gpgsm[3252] DBG: chan_0x000000000000022c <- VERIFY
2025-06-23 13:16:57 gpgsm[3252] Kein aktiver keyboxd - `C:\\Program Files\\GnuPG\\bin\\keyboxd.exe' wird gestartet
2025-06-23 13:16:59 gpgsm[3252] Warte bis der Keyboxd bereit ist ... (8s)
2025-06-23 13:17:01 gpgsm[3252] DBG: chan_0x0000000000000260 <- # Home: C:\Users\g10\AppData\Roaming\gnupg
2025-06-23 13:17:01 gpgsm[3252] DBG: chan_0x0000000000000260 <- # Config: [none]
2025-06-23 13:17:01 gpgsm[3252] DBG: chan_0x0000000000000260 <- OK Keyboxd 2.5.6 at your service, process 4748
Jun 23 2025, 2:04 PM · Bug Report, gpd5x, okular
timegrid added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

Here's the gpgsm debug log (debug x509,ipc,lookup):

Jun 23 2025, 1:25 PM · Bug Report, gpd5x, okular
ikloecker added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

The keylisting hangs ticket for Kleopatra: T6623

Jun 23 2025, 11:23 AM · Bug Report, gpd5x, okular
ikloecker added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.
Jun 23 2025, 11:21 AM · Bug Report, gpd5x, okular
svuorela added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

@ikloecker is https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commitdiff;h=f23cef6f66a44c5c1cc8717f74b658d14fde04e5 needed to be forward ported to split gpgmepp ?

Jun 23 2025, 9:55 AM · Bug Report, gpd5x, okular
timegrid added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

It could be connected to those "keylists hangs" problems. On Kleopatra it took some time to refresh the key list. After that I can open the signed file again.

Jun 23 2025, 9:47 AM · Bug Report, gpd5x, okular
timegrid added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

Well, now I also can reproduce the hanging on verification again (opening of an unsigned document is fine, of a signed document hangs).
Maybe the signing part above is important to trigger it - although it happened now in a clean state after a reboot, so it should not be caused by e.g. leftover processes.

Jun 23 2025, 9:42 AM · Bug Report, gpd5x, okular
timegrid added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

I'm quite sure, that I used a fresh install on a new VM, but on another fresh one I can't reproduce the verification part anymore and the signature is shown as valid.

Jun 23 2025, 9:33 AM · Bug Report, gpd5x, okular

Jun 16 2025

svuorela added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

The only time I succeded in reproducing this was when I broke my gnupg setup and got a mix between gpg from one version and gpg-agent from another.

Jun 16 2025, 9:39 AM · Bug Report, gpd5x, okular

May 27 2025

werner triaged T7658: Okular: Dirmngr startup timeout on signature validation as Normal priority.
May 27 2025, 4:30 PM · Bug Report, gpd5x, okular

May 22 2025

timegrid added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

That screenshot is for kleopatra crashing, not related to okular.

May 22 2025, 2:08 PM · Bug Report, gpd5x, okular
timegrid updated the task description for T7658: Okular: Dirmngr startup timeout on signature validation.
May 22 2025, 2:07 PM · Bug Report, gpd5x, okular

May 21 2025

TobiasFella added a comment to T7658: Okular: Dirmngr startup timeout on signature validation.

That screenshot is for kleopatra crashing, not related to okular.

May 21 2025, 9:07 AM · Bug Report, gpd5x, okular

May 16 2025

timegrid updated the task description for T7658: Okular: Dirmngr startup timeout on signature validation.
May 16 2025, 4:30 PM · Bug Report, gpd5x, okular
timegrid updated the task description for T7658: Okular: Dirmngr startup timeout on signature validation.
May 16 2025, 4:27 PM · Bug Report, gpd5x, okular
timegrid created T7658: Okular: Dirmngr startup timeout on signature validation.
May 16 2025, 4:00 PM · Bug Report, gpd5x, okular

May 14 2025

werner closed T6594: Okular: Proper about data customization as Resolved.

We have updated patches for long in the gpg4win repo and thus I close this bug.

May 14 2025, 3:02 PM · Restricted Project, okular

Mar 26 2025

werner triaged T7584: Okular: Move config files to GNUPGHOME as Normal priority.
Mar 26 2025, 8:45 AM · Feature Request, gpd5x, okular

Mar 24 2025

ebo created T7584: Okular: Move config files to GNUPGHOME.
Mar 24 2025, 3:46 PM · Feature Request, gpd5x, okular

Mar 12 2025

CarlSchwan added a comment to T7561: Issues with Okular PGP signature error.

We investigated this a bit and it only happens when trying to sign with a non VSD key when gnupg is in VSD mode

Mar 12 2025, 1:56 PM · Bug Report, okular
svuorela added a comment to T7561: Issues with Okular PGP signature error.

Something went wrong during signing - the question is what.

Mar 12 2025, 10:10 AM · Bug Report, okular
werner triaged T7561: Issues with Okular PGP signature error as Normal priority.
Mar 12 2025, 9:21 AM · Bug Report, okular

Nov 6 2024

m.eik added a watcher for okular: m.eik.
Nov 6 2024, 11:59 AM

Sep 15 2024

werner triaged T7285: Okular: Improvement of error messages regarding signatures as Normal priority.
Sep 15 2024, 10:24 AM · Restricted Project, okular

Sep 3 2024

ebo renamed T7285: Okular: Improvement of error messages regarding signatures from Okular: Improvement of error messages to Okular: Improvement of error messages regarding signatures.
Sep 3 2024, 2:02 PM · Restricted Project, okular
ebo created T7285: Okular: Improvement of error messages regarding signatures.
Sep 3 2024, 2:01 PM · Restricted Project, okular

Apr 16 2024

aheinecke closed T6884: Okular: Qt6 version by end of february as Resolved.
Apr 16 2024, 9:56 AM · Restricted Project, okular, gpg4win

Dec 12 2023

aheinecke added a project to T6884: Okular: Qt6 version by end of february: Restricted Project.
Dec 12 2023, 10:30 AM · Restricted Project, okular, gpg4win
aheinecke triaged T6884: Okular: Qt6 version by end of february as Normal priority.
Dec 12 2023, 10:30 AM · Restricted Project, okular, gpg4win

Dec 11 2023

aheinecke added a comment to T6731: Default save dir in okular/windows is wrong.

This is still an issue. Since the double click opens a registry entry the working directory of Okular is Windows. Since it is the working directory of the explorer so that is unusable, but it should still be able to somehow take the location from the actually opened file and use that for a save file suggestion.

Dec 11 2023, 12:03 PM · Restricted Project, okular
aheinecke closed T6711: Okular: Reload signed PDF instead of opening another window as Resolved.

This works for me

Dec 11 2023, 11:59 AM · Restricted Project, okular

Nov 24 2023

ebo added a project to T6731: Default save dir in okular/windows is wrong: Restricted Project.

should this go into the upcomming VSD release?

Nov 24 2023, 11:35 AM · Restricted Project, okular

Nov 22 2023

ebo added a comment to T6731: Default save dir in okular/windows is wrong.

Existing file. I downloaded a pdf into the local Download folder of my Windows-VM and worked with that.

Nov 22 2023, 1:05 PM · Restricted Project, okular
svuorela added a comment to T6731: Default save dir in okular/windows is wrong.

Is the document loaded from an existing file on disk or directly as a url from a remote server? http(s) or windows share ?

Nov 22 2023, 1:02 PM · Restricted Project, okular
ebo added a comment to T6731: Default save dir in okular/windows is wrong.

On VS-Desktop-3.1.90.287-Beta I get a suggestion of c:\Windows for saving the signed document, not the users directory any more.
So its gotten worse instead of better...

Nov 22 2023, 10:50 AM · Restricted Project, okular

Nov 3 2023

aheinecke claimed T6594: Okular: Proper about data customization.

I want to have this for the next release since I want to use that mechanism for the promised "Tender version of Kleopatra". This will mean that we replace the "VERSION" file with a QSettings ini file where we can easily add more meta information as we like.

Nov 3 2023, 8:56 AM · Restricted Project, okular
aheinecke moved T6594: Okular: Proper about data customization from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Nov 3 2023, 8:53 AM · Restricted Project, okular

Oct 10 2023

clara167 added a comment to T6711: Okular: Reload signed PDF instead of opening another window.
Oct 10 2023, 11:30 AM · Restricted Project, okular

Oct 6 2023

werner triaged T6745: Possible Okular improvements as Normal priority.
Oct 6 2023, 11:25 AM · Feature Request, okular

Oct 2 2023

svuorela created T6745: Possible Okular improvements.
Oct 2 2023, 2:52 PM · Feature Request, okular
svuorela updated the task description for T6732: Visual representation of signature is a bit ugly.
Oct 2 2023, 2:39 PM · okular
svuorela updated the task description for T6732: Visual representation of signature is a bit ugly.
Oct 2 2023, 2:36 PM · okular

Sep 26 2023

werner triaged T6730: Filename for multiple sigend pdf's as Normal priority.
Sep 26 2023, 3:22 PM · okular
werner triaged T6731: Default save dir in okular/windows is wrong as Normal priority.
Sep 26 2023, 3:21 PM · Restricted Project, okular
werner triaged T6732: Visual representation of signature is a bit ugly as Normal priority.
Sep 26 2023, 3:21 PM · okular

Sep 25 2023

werner added a comment to T6730: Filename for multiple sigend pdf's.

From my practical expexperience, @ebo's suggestion will work best for me. The other thing I have seen is to not use -signed but to append the initials of the signers.

Sep 25 2023, 9:29 AM · okular

Sep 22 2023

ikloecker added a comment to T6730: Filename for multiple sigend pdf's.

I know Microsoft is probably not the best example, but copying an already copied file with the Windows Explorer you get "Copy of Copy of Copy of originalname.txt". Moreover, I think foo_signed_signed_signed.pdf makes it pretty clear that this is a PDF that has been signed multiple times. I would leave it as-is. People who don't like the name can easily change it.

Sep 22 2023, 8:51 PM · okular
ebo added a comment to T6730: Filename for multiple sigend pdf's.

How about adding "-2" to a document where before _signed already was in the name, i.e. foo_signed.pdf -> foo_signed-2.pdf and so on: foo_signed-3.pdf, ...

Sep 22 2023, 3:33 PM · okular
svuorela added a comment to T6613: Okular: filename suggestion unsuitable.

Just for reference:
Make it signature pretty: https://dev.gnupg.org/T6732
Default path: https://dev.gnupg.org/T6731
signed_signed: https://dev.gnupg.org/T6730

Sep 22 2023, 3:13 PM · okular, Restricted Project
svuorela assigned T6732: Visual representation of signature is a bit ugly to aheinecke.
Sep 22 2023, 3:11 PM · okular
svuorela added a comment to T6732: Visual representation of signature is a bit ugly.

Unfortunately, "make it not ugly" is a bit hard to work with. I'm open for ideas.

Sep 22 2023, 3:11 PM · okular
svuorela created T6732: Visual representation of signature is a bit ugly.
Sep 22 2023, 3:10 PM · okular
svuorela created T6731: Default save dir in okular/windows is wrong.
Sep 22 2023, 3:09 PM · Restricted Project, okular
svuorela assigned T6730: Filename for multiple sigend pdf's to aheinecke.

I'm going to assign this to @aheinecke - but @ebo might also have opinion on how it would be nice.

Sep 22 2023, 3:08 PM · okular
svuorela created T6730: Filename for multiple sigend pdf's.
Sep 22 2023, 3:07 PM · okular
svuorela closed T6613: Okular: filename suggestion unsuitable as Resolved.

As this issue was originally just about the "versioned file" and where to place _signed, I think we should keep this closed. Will create new issues based on the notes here.

Sep 22 2023, 3:04 PM · okular, Restricted Project
svuorela added a comment to T6711: Okular: Reload signed PDF instead of opening another window.

I'm told that this is also what acrobat does, which is one of the reasons for the current approach.

Sep 22 2023, 2:48 PM · Restricted Project, okular