Page MenuHome GnuPG
Feed Advanced Search

Jan 8 2025

werner edited projects for T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected, added: gnupg26, gnupg24; removed gnupg.

There is a regression due to the regression fix in rGb30c15bf7c5336c4abb1f9dcd974cd77ba6c61a7 (from Dec 24 2015) or some related commits:

Jan 8 2025, 11:35 AM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)

Dec 6 2024

gniibe closed T7283: Odd "gpg: KEYTOCARD failed: Invalid time" error when using `--pinentry-mode=loopback` as Resolved.
Dec 6 2024, 1:05 AM · gpgagent, Bug Report

Dec 5 2024

werner closed T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received as Resolved.
Dec 5 2024, 4:33 PM · Info Needed, scd, gpgagent, Bug Report

Dec 2 2024

gniibe closed T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required) as Resolved.

Closed, since this was documentation for the workaround, four years ago.

Dec 2 2024, 9:52 AM · gnupg24, workaround, Documentation, gnupg (gpg23), ssh, gpgagent
werner added a comment to T5931: OpenSSH 8.9, 9.0, and 9.1 can't authenticate with gpg-agent and usb token (Gnuk >= 1.2.16 is required).

Just a reminder: with Gnuk 1.2.15 and an ed25519 key PubkeyAuthentication unbound is required for hosts using the new feature.

Dec 2 2024, 9:35 AM · gnupg24, workaround, Documentation, gnupg (gpg23), ssh, gpgagent

Nov 29 2024

gniibe closed T7160: scd: pipe server shutdown, a subtask of T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close, as Resolved.
Nov 29 2024, 8:01 AM · gpgagent, scd, gnupg24, Bug Report
gniibe closed T7160: scd: pipe server shutdown as Resolved.

Fixed in 2.5.0 and 2.4.6.

Nov 29 2024, 8:01 AM · scd, gpgagent, Bug Report
gniibe closed T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close as Resolved.

Fixed in 2.4.6.

Nov 29 2024, 7:57 AM · gpgagent, scd, gnupg24, Bug Report

Nov 5 2024

yescallop added a comment to T5942: scdaemon is blocking system shutdown.

This seems to have been resolved in 2.4.6 by T7151 or T7160. I don't really remember the details, but at least I don't see anything blocking system shutdown now.

Nov 5 2024, 5:45 AM · Support, scd, gpgagent

Oct 29 2024

werner moved T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close from Backlog to QA on the gnupg24 board.
Oct 29 2024, 1:39 PM · gpgagent, scd, gnupg24, Bug Report

Oct 1 2024

gniibe changed the status of T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received from Open to Testing.

Fixed in master: rGe7891225788a: gpg: Robust error handling for SCD READKEY.

Oct 1 2024, 3:58 AM · Info Needed, scd, gpgagent, Bug Report

Sep 30 2024

werner triaged T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received as Normal priority.

Some would say it is a bug if keys are not shown - even if the algo is not known ;-)

Sep 30 2024, 4:06 PM · Info Needed, scd, gpgagent, Bug Report
saper renamed T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received from gpg should notice if scdaemon crashes to gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received.
Sep 30 2024, 11:54 AM · Info Needed, scd, gpgagent, Bug Report
saper added a comment to T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received.

scdaemon in this case was a broken experiment of mine (trying to see if I can get SoftHSM to work as the OpenPGP card). So this was not a normal, released scdaemon code.

Sep 30 2024, 10:46 AM · Info Needed, scd, gpgagent, Bug Report
gniibe claimed T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received.
Sep 30 2024, 3:49 AM · Info Needed, scd, gpgagent, Bug Report

Sep 28 2024

werner added a comment to T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received.

Please send an excerpt from the scdaemon debug output to evaluate why you get somewhat strange looking data. Is this an experimental card? 0xa5 is a common test pattern.

Sep 28 2024, 7:38 PM · Info Needed, scd, gpgagent, Bug Report
saper created T7309: gpg should not proceed with the key import from the smartcard if no valid SCD READKEY information is received.
Sep 28 2024, 3:10 AM · Info Needed, scd, gpgagent, Bug Report

Sep 27 2024

gniibe added a comment to T6375: gpg-agent race-condition with parallel clients.

It is reproducible bug even with master branch.

Sep 27 2024, 4:22 AM · gnupg24, gpgagent, Bug Report

Sep 26 2024

gniibe added a comment to T6375: gpg-agent race-condition with parallel clients.

I have a look at the log file of gpg-agent.log. I can see that six PKDECRYPT requests are handled simultaneously. I think that it's out of secure memory to decrypt the private key which results pinentry request.

Sep 26 2024, 10:35 AM · gnupg24, gpgagent, Bug Report

Sep 20 2024

gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

Found another thinko; When there is no clients with DEVINFO --watch, the pipe to be notified is not consumed at all (no read). It eventually results blocked by write(2), when the pipe is filled.

Sep 20 2024, 3:51 AM · gpgagent, scd, gnupg24, Bug Report

Sep 19 2024

werner added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

I see. the systemd race of having two gpg-agent processes. The second gpg-agent should eventually go away but than it is already too late.

Sep 19 2024, 8:56 AM · gpgagent, scd, gnupg24, Bug Report
gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

I mean: two gpg-agent requests simultaneously running DEVINFO --watch.
Single scdaemon, two threads handling DEVINFO --watch simultaneously, by pselect + read.
Two threads waken up, but it was only one thread which can read(2), another was blocked (before the fix).

Sep 19 2024, 1:43 AM · gpgagent, scd, gnupg24, Bug Report

Sep 18 2024

werner added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

You mean it is possible that the initialization function is called by several threads - or that two scdaemon's are running before they realize that one of them is in the way?

Sep 18 2024, 6:30 PM · gpgagent, scd, gnupg24, Bug Report
gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

Fixed in rGfc30f7059650: scd: Fix DEVINFO to allow multiple clients.

Sep 18 2024, 6:52 AM · gpgagent, scd, gnupg24, Bug Report
gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

I realized that I put a bug on POSIX; When multiple clients do DEVINFO --watch, it is possible for scdaemon to hang (waiting pselect and read, read by one, read by another is blocked).

Sep 18 2024, 4:57 AM · gpgagent, scd, gnupg24, Bug Report

Sep 4 2024

gniibe changed the status of T7283: Odd "gpg: KEYTOCARD failed: Invalid time" error when using `--pinentry-mode=loopback` from Open to Testing.
Sep 4 2024, 1:34 AM · gpgagent, Bug Report

Sep 3 2024

rubensayshi added a comment to T7283: Odd "gpg: KEYTOCARD failed: Invalid time" error when using `--pinentry-mode=loopback`.

I can replicate the problem.

The cause of this is that when it's comes with loopback mode, gpg-agent inquires back to the frontend and the buffer overwritten, which results parsing the line wrong.
I'm going to fix.

Sep 3 2024, 11:10 AM · gpgagent, Bug Report
rubensayshi added a comment to T7283: Odd "gpg: KEYTOCARD failed: Invalid time" error when using `--pinentry-mode=loopback`.

y38k problems with some frontends are known for some 32 bit platforms.

Please write a proper bug report and don't expect us to read a reddit thread.

Sep 3 2024, 11:09 AM · gpgagent, Bug Report
werner edited projects for T7283: Odd "gpg: KEYTOCARD failed: Invalid time" error when using `--pinentry-mode=loopback`, added: gpgagent; removed Info Needed.
Sep 3 2024, 11:07 AM · gpgagent, Bug Report

Aug 13 2024

ebo moved T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)) from QA to gnupg-2.2.43 on the gnupg22 board.
Aug 13 2024, 10:41 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report

Jul 1 2024

gniibe changed the status of T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close from Open to Testing.
Jul 1 2024, 4:25 AM · gpgagent, scd, gnupg24, Bug Report
gniibe changed the status of T7160: scd: pipe server shutdown, a subtask of T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close, from Open to Testing.
Jul 1 2024, 4:25 AM · gpgagent, scd, gnupg24, Bug Report
gniibe changed the status of T7160: scd: pipe server shutdown from Open to Testing.

Fixed in rG01fa318be0f8: scd: Fix how scdaemon pipe server finishes.

Jul 1 2024, 4:25 AM · scd, gpgagent, Bug Report

Jun 27 2024

gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

Asking a change of gpgme would need more time... So, I decided to change gpg-agent side.
gpg-agent part was done in: rGb3f1f2cd192b: agent: Handle SCD DEVINFO --watch command in a special way.

Jun 27 2024, 8:38 AM · gpgagent, scd, gnupg24, Bug Report

Jun 25 2024

gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

scdaemon part was done in: rG36d8cffc6cd2: scd: Finish DEVINFO --watch command on input close.

Jun 25 2024, 10:56 AM · gpgagent, scd, gnupg24, Bug Report

Jun 24 2024

werner added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

Maybe we can support this directly in gpgme's assuan API.

Jun 24 2024, 9:05 AM · gpgagent, scd, gnupg24, Bug Report
gniibe added a comment to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close.

Did some experiment and I concluded (for now) that new command for gpg-agent would not be needed.
Instead, it might be better doing following in GPGME.

Jun 24 2024, 4:24 AM · gpgagent, scd, gnupg24, Bug Report

Jun 17 2024

gniibe added projects to T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close: scd, gpgagent.
Jun 17 2024, 4:49 AM · gpgagent, scd, gnupg24, Bug Report
gniibe triaged T7160: scd: pipe server shutdown as Normal priority.
Jun 17 2024, 4:48 AM · scd, gpgagent, Bug Report

May 13 2024

perrin4869 added a comment to T4588: gpg-agent should guess pinentry's full path (using $PATH) if `pinentry-program` does not supply a full path.

I'd also be interested in expanding tilde expressions for dotfiles portability, since I don't use the same username in all my machines

May 13 2024, 5:38 AM · gnupg24, gpgagent

Apr 24 2024

werner moved T6681: agent: Clean up main loop and better cache handling of expiration (was: Adding agent_timer API for monitoring something and passphrase cache) from Backlog to QA on the gnupg26 board.
Apr 24 2024, 10:05 AM · keyboxd, gpgagent, gnupg26
werner moved T6682: agent: agent_kick_the_loop function to unblock the select(2) from Backlog to QA on the gnupg26 board.
Apr 24 2024, 10:05 AM · keyboxd, gpgagent, gnupg26
werner moved T6692: agent: Clean up check_own_socket to monitor socket takeover from Backlog to QA on the gnupg26 board.
Apr 24 2024, 10:05 AM · keyboxd, gnupg26, gpgagent
werner moved T6693: agent: Have a thread monitoring parent PID and homedir from Backlog to QA on the gnupg26 board.
Apr 24 2024, 10:05 AM · keyboxd, gpgagent, gnupg26
werner moved T7014: agent: Enhancement of PKDECRYPT for KEM interface from Backlog to WIP on the gnupg26 board.
Apr 24 2024, 10:04 AM · gnupg26, gpgagent, Feature Request

Apr 22 2024

gniibe triaged T7097: Support a key on smartcard for PQC as Wishlist priority.
Apr 22 2024, 8:12 AM · gnupg26, gpgagent, Feature Request

Apr 16 2024

matheusmoreira added a comment to T5783: All s2k hardenings silently ignored when exporting private keys.

What is the current status of this issue?

Apr 16 2024, 2:46 PM · Not A Bug, gpgagent, OpenPGP, gpg4win, gnupg

Apr 15 2024

gniibe changed the status of T7014: agent: Enhancement of PKDECRYPT for KEM interface from Open to Testing.
Apr 15 2024, 3:19 AM · gnupg26, gpgagent, Feature Request

Apr 11 2024

gniibe added a comment to T7014: agent: Enhancement of PKDECRYPT for KEM interface.

I had wrong interpretation about symmetric cipher algorithm identifier in the draft. It specifies symmetric cipher for the following Symmetrically Encrypted Data Packet (I was wrongly interpret as if it were specifying algo for AES keywrap).

Apr 11 2024, 8:21 AM · gnupg26, gpgagent, Feature Request

Apr 10 2024

gniibe added a comment to T7014: agent: Enhancement of PKDECRYPT for KEM interface.

I merged the change by Werner to get the value from frontend.

Apr 10 2024, 5:57 AM · gnupg26, gpgagent, Feature Request

Apr 9 2024

gniibe added a comment to T7014: agent: Enhancement of PKDECRYPT for KEM interface.

In the current code, just for testing against the test vector in m https://datatracker.ietf.org/doc/html/draft-ietf-openpgp-pqc-02, there are specific value in the key combiner KDF.
Namely, the value 105 for fixedInfo is defined in the draft (and it will be changed).

Apr 9 2024, 7:21 AM · gnupg26, gpgagent, Feature Request

Apr 5 2024

werner added a comment to T7014: agent: Enhancement of PKDECRYPT for KEM interface.

I created a pubkey (actually a subkey) for your above test keys:

Apr 5 2024, 4:09 PM · gnupg26, gpgagent, Feature Request
gniibe added a comment to T7014: agent: Enhancement of PKDECRYPT for KEM interface.

I use this for testing:

Apr 5 2024, 8:22 AM · gnupg26, gpgagent, Feature Request

Mar 25 2024

gniibe added a comment to T7014: agent: Enhancement of PKDECRYPT for KEM interface.

On March 11 and 18, the private key file DE1AB1D22899CEC7DBB1A7863F34E6E92BFB7756.key was wrong.
I updated on March 25. Now, the endian is GnuPG (d is big endian).

Mar 25 2024, 8:04 AM · gnupg26, gpgagent, Feature Request

Mar 23 2024

werner closed T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)) as Resolved.
Mar 23 2024, 1:29 PM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
thesamesam added a comment to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).

Thanks, that patch works for me.

Mar 23 2024, 12:24 PM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report

Mar 18 2024

werner moved T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)) from Backlog to QA on the gnupg22 board.
Mar 18 2024, 4:24 PM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe added a comment to T7014: agent: Enhancement of PKDECRYPT for KEM interface.

I extracted data from https://datatracker.ietf.org/doc/html/draft-ietf-openpgp-pqc-02 and compose x25519 key and MLKEM768 key. Here they are.
x25519 :


MLKEM768 :

Mar 18 2024, 7:21 AM · gnupg26, gpgagent, Feature Request

Mar 7 2024

gniibe added a comment to T7014: agent: Enhancement of PKDECRYPT for KEM interface.

As a first experiment, let us use CIPHERTEXT in the format of (enc-val(ecdh(s%m)(e%m)(k%m))) (s: encrypted-session-key, e: ecc ephemeral key, k: kyber ephemeral key).

Mar 7 2024, 7:37 AM · gnupg26, gpgagent, Feature Request

Mar 1 2024

werner added a comment to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).

In 2.4 we have rG1383aa475 which does

Mar 1 2024, 11:32 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe changed the status of T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)) from Open to Testing.
Mar 1 2024, 6:09 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe added a comment to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).

Pushed the change in: rGf50c543326c2: agent: Allow simple KEYINFO command when restricted.

Mar 1 2024, 6:08 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report

Feb 29 2024

thesamesam added a comment to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).

No, thank you both for the speedy responses :)

Feb 29 2024, 7:40 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe renamed T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)) from gpgme-1.23.2 test failure (t-json) to 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)).
Feb 29 2024, 7:34 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe triaged T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)) as High priority.
Feb 29 2024, 7:33 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report
gniibe added projects to T7003: 2.2 gpg-agent doesn't allow KEYINFO when restricted (was: gpgme-1.23.2 test failure (t-json)): gnupg22, gpgagent.

Thanks a lot for your quick testing.
The commit rGff42ed0d69bb: gpg: Enhance agent_probe_secret_key to return bigger value. of GnuPG 2.2 introduced this bug.

Feb 29 2024, 5:48 AM · gnupg22 (gnupg-2.2.43), gpgagent, gpgme, Gentoo, Bug Report

Feb 26 2024

werner added a parent task for T7014: agent: Enhancement of PKDECRYPT for KEM interface: T6815: PQC encryption for GnuPG.
Feb 26 2024, 10:41 AM · gnupg26, gpgagent, Feature Request
gniibe triaged T7014: agent: Enhancement of PKDECRYPT for KEM interface as Wishlist priority.
Feb 26 2024, 8:32 AM · gnupg26, gpgagent, Feature Request
gniibe created T7014: agent: Enhancement of PKDECRYPT for KEM interface.
Feb 26 2024, 8:31 AM · gnupg26, gpgagent, Feature Request

Jan 26 2024

gniibe added projects to T6681: agent: Clean up main loop and better cache handling of expiration (was: Adding agent_timer API for monitoring something and passphrase cache): gnupg26, gpgagent, keyboxd.
Jan 26 2024, 1:15 AM · keyboxd, gpgagent, gnupg26
gniibe added projects to T6682: agent: agent_kick_the_loop function to unblock the select(2): gnupg26, gpgagent, keyboxd.
Jan 26 2024, 1:14 AM · keyboxd, gpgagent, gnupg26
gniibe added projects to T6692: agent: Clean up check_own_socket to monitor socket takeover: gnupg26, keyboxd.
Jan 26 2024, 1:13 AM · keyboxd, gnupg26, gpgagent
gniibe added projects to T6693: agent: Have a thread monitoring parent PID and homedir: gnupg26, gpgagent, keyboxd.
Jan 26 2024, 1:12 AM · keyboxd, gpgagent, gnupg26

Dec 21 2023

gniibe added a comment to T6692: agent: Clean up check_own_socket to monitor socket takeover.

I see the reason.

Dec 21 2023, 1:52 AM · keyboxd, gnupg26, gpgagent

Dec 19 2023

werner added a comment to T6692: agent: Clean up check_own_socket to monitor socket takeover.

FWIW: These days a thread on Linux is not that costly but nevertheless takes up resources. On other Unices (and WindowsCE) threads have quite some overhead and that was the reason I implemented it the way it was.

Dec 19 2023, 4:43 PM · keyboxd, gnupg26, gpgagent

Nov 20 2023

ebo moved T6789: MSI: Update does not seem to be able to kill gpg-agent anymore from QA to vsd-3.2.0 on the vsd32 board.
Nov 20 2023, 11:03 AM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
ebo closed T6789: MSI: Update does not seem to be able to kill gpg-agent anymore as Resolved.

works, VS-Desktop-3.1.90.287-Beta

Nov 20 2023, 11:03 AM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
aheinecke moved T6789: MSI: Update does not seem to be able to kill gpg-agent anymore from WiP to QA on the vsd32 board.
Nov 20 2023, 10:31 AM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win

Nov 15 2023

aheinecke changed the status of T6789: MSI: Update does not seem to be able to kill gpg-agent anymore from Open to Testing.

So the actual killing is now done with c5617e9f2426549cba54cb52f9faf9325f8e2929 we are using custom actions instead of CloseApplication to have more fine grained control when the steps are run. CloseApplication would only run in the main install sequence so basically only the Deferred part, but during an interactive upgrade like what one of our Entry users would do it would not avoid the first failure to kill a running gpg-agent this already would break the RestartManager support.

Nov 15 2023, 2:50 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
werner added a comment to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore.

FWIW, the Fileversion is actually the Git revision in decimal

Nov 15 2023, 1:58 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
aheinecke added a comment to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore.

b) Is explained by the following documentation from: https://wixtoolset.org/docs/v3/howtos/updates/major_upgrade/

Nov 15 2023, 1:32 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
aheinecke added a comment to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore.

a) So with my current test upgrading from one beta to another it actually looks in the manifest and if you look there the beta230 of gnupg:

Nov 15 2023, 1:24 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
aheinecke added a comment to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore.

So with verbose logging /l*v inst.log (note the v) I finally saw the issue. My killing code works just fine.

Nov 15 2023, 1:04 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win

Nov 14 2023

aheinecke moved T6789: MSI: Update does not seem to be able to kill gpg-agent anymore from Backlog to WiP on the vsd32 board.
Nov 14 2023, 8:29 AM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win

Nov 12 2023

aheinecke added a comment to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore.

Ok closeapplication will not work because:

Nov 12 2023, 3:24 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win

Nov 10 2023

aheinecke added a comment to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore.

Note to self.

Nov 10 2023, 8:19 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
aheinecke added a project to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore: vsd32.

So some research led me to believe that using taskkill from MSI is not uncommon. But most stackoverflow solutions did not work for me. I have one solution that works, though but that opens a terminal window for each process we try to kill. I don't want to use wscript to avoid that, since an installer that executes visual basic is IMO even more evil then an installer that executes taskkill. Both are not really the MSI way, but while we could fix our processes without a WindowMessage loop to die nicely this will not work for an upgrade to vsd32.

Nov 10 2023, 7:09 PM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win

Nov 3 2023

aheinecke added a comment to T6789: MSI: Update does not seem to be able to kill gpg-agent anymore.

So I tested upgrading from 3.1.26.0 to the current beta and it also did not work.

Nov 3 2023, 10:44 AM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
aheinecke moved T6789: MSI: Update does not seem to be able to kill gpg-agent anymore from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Nov 3 2023, 10:23 AM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win
aheinecke triaged T6789: MSI: Update does not seem to be able to kill gpg-agent anymore as High priority.
Nov 3 2023, 8:53 AM · vsd32 (vsd-3.2.0), Restricted Project, gpgagent, gpg4win

Oct 25 2023

werner moved T3056: gpgme-1.8.0: test failures on NetBSD from QA for next release to gpgme 1.23.x on the gpgme board.
Oct 25 2023, 10:42 AM · gpgme (gpgme 1.23.x), gpgagent, gnupg (gpg23)

Oct 16 2023

werner triaged T6756: max-cache-ttl-ssh overrides max-cache-ttl as Low priority.
Oct 16 2023, 1:24 PM · MacOS, gpgagent, ssh, Bug Report

Oct 10 2023

memeplex updated the task description for T6756: max-cache-ttl-ssh overrides max-cache-ttl.
Oct 10 2023, 2:20 PM · MacOS, gpgagent, ssh, Bug Report
memeplex updated the task description for T6756: max-cache-ttl-ssh overrides max-cache-ttl.
Oct 10 2023, 2:19 PM · MacOS, gpgagent, ssh, Bug Report
memeplex created T6756: max-cache-ttl-ssh overrides max-cache-ttl.
Oct 10 2023, 2:13 PM · MacOS, gpgagent, ssh, Bug Report

Aug 30 2023

gniibe changed the status of T6682: agent: agent_kick_the_loop function to unblock the select(2), a subtask of T6692: agent: Clean up check_own_socket to monitor socket takeover, from Open to Testing.
Aug 30 2023, 7:17 AM · keyboxd, gnupg26, gpgagent
gniibe added a subtask for T6692: agent: Clean up check_own_socket to monitor socket takeover: T6682: agent: agent_kick_the_loop function to unblock the select(2).
Aug 30 2023, 6:58 AM · keyboxd, gnupg26, gpgagent
gniibe changed the status of T6692: agent: Clean up check_own_socket to monitor socket takeover from Open to Testing.

Push the code by rG95186ae92f92: agent: Use a thread to monitor socket takeover.

Aug 30 2023, 4:02 AM · keyboxd, gnupg26, gpgagent
gniibe triaged T6692: agent: Clean up check_own_socket to monitor socket takeover as Wishlist priority.
Aug 30 2023, 3:56 AM · keyboxd, gnupg26, gpgagent

May 25 2023

werner added a comment to T6375: gpg-agent race-condition with parallel clients.

FWIW: I have not done any tests but the comment below is about the case I suspected to be the cuase for your problem:

May 25 2023, 3:13 PM · gnupg24, gpgagent, Bug Report