Page MenuHome GnuPG
Feed Advanced Search

Wed, Jun 18

werner closed T7014: agent: Enhancement of PKDECRYPT for KEM interface as Resolved.

This was release with 2.5.7.

Wed, Jun 18, 9:29 AM · gnupg26, gpgagent, Feature Request

May 27 2025

collinfunk added a comment to T7667: gpg-agent fails to build on Cygwin..

Thanks, that was the only issue building there.

May 27 2025, 6:02 PM · Cygwin, gpgagent, Bug Report
werner closed T7667: gpg-agent fails to build on Cygwin. as Resolved.

Please re-open if you find other Cygwin related build problems.

May 27 2025, 11:59 AM · Cygwin, gpgagent, Bug Report
werner added a comment to T7667: gpg-agent fails to build on Cygwin..

You know that Cygwin is not supported but if that is the only place it should not arm to fix it.

May 27 2025, 11:09 AM · Cygwin, gpgagent, Bug Report
collinfunk added projects to T7667: gpg-agent fails to build on Cygwin.: gpgagent, Cygwin.
May 27 2025, 6:42 AM · Cygwin, gpgagent, Bug Report

May 26 2025

gniibe added a parent task for T7014: agent: Enhancement of PKDECRYPT for KEM interface: T7649: gnupg: Use KEM interface for encryption/decryption.
May 26 2025, 6:33 AM · gnupg26, gpgagent, Feature Request

May 9 2025

gniibe added a comment to T6681: agent: Clean up main loop and better cache handling of expiration (was: Adding agent_timer API for monitoring something and passphrase cache).

(2) Update the documentation of default-cache-ttl zero value disabling caching.

May 9 2025, 10:02 AM · keyboxd, gpgagent, gnupg26
gniibe added a comment to T6681: agent: Clean up main loop and better cache handling of expiration (was: Adding agent_timer API for monitoring something and passphrase cache).

I am going to do:
(1) Recover old behavior with max-cache-ttl = 0
(2) Update the documentation of default-cache-ttl zero value disabling caching.

May 9 2025, 4:37 AM · keyboxd, gpgagent, gnupg26

May 8 2025

werner added a comment to T6681: agent: Clean up main loop and better cache handling of expiration (was: Adding agent_timer API for monitoring something and passphrase cache).

I can't see any documentation that a value of 0 disables the cache. The user might have used some undefined behaviour. For example in the old code we did a housecleaning when we were idle but the new code uses a timer and another thread for flushing the cache. We could open a feature request to entire disable the cache but I bet that we will get a lot of new bug reports because users will then need to enter their passphrase too often for one operation.

May 8 2025, 9:14 AM · keyboxd, gpgagent, gnupg26
gniibe added a comment to T6681: agent: Clean up main loop and better cache handling of expiration (was: Adding agent_timer API for monitoring something and passphrase cache).

It's not my intention. I didn't know the feature of disabling caching by max-cache-ttl to 0.
Well, it's a regression if a user intends so.

May 8 2025, 4:00 AM · keyboxd, gpgagent, gnupg26

May 7 2025

werner added a comment to T6681: agent: Clean up main loop and better cache handling of expiration (was: Adding agent_timer API for monitoring something and passphrase cache).

Lucas Mülling commented yesterday on gnupg-devel:

May 7 2025, 11:40 AM · keyboxd, gpgagent, gnupg26

Feb 12 2025

werner moved T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container from Backlog to Done on the pinentry board.
Feb 12 2025, 11:17 AM · Linux, pinentry, gpgagent, Bug Report
werner closed T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container as Resolved.
Feb 12 2025, 11:16 AM · Linux, pinentry, gpgagent, Bug Report
werner added a comment to T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container.

Here we go:

Feb 12 2025, 11:15 AM · Linux, pinentry, gpgagent, Bug Report
werner added a comment to T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container.

Alright, my above putenv option won't work because it modifies the session environment and thus needs to be run for each gpg-agent session (connection). Adding a putenv_startrup option would help here but this way each connection could chnage the environment - also not good. In the end a way to modify the used environment variables, as you suggested, is a better way.

Feb 12 2025, 9:12 AM · Linux, pinentry, gpgagent, Bug Report

Feb 11 2025

samoverton added a comment to T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container.

Yes, the workaround is to use a pinentry wrapper script that sets the value back to the correct one and then invokes the real pinentry.

Feb 11 2025, 4:52 PM · Linux, pinentry, gpgagent, Bug Report

Feb 10 2025

werner added projects to T7522: pinentry started with invalid DBUS_SESSION_BUS_ADDRESS when invoked by gpg running in flatpak container: gpgagent, pinentry, Linux.
Feb 10 2025, 4:08 PM · Linux, pinentry, gpgagent, Bug Report

Jan 23 2025

ebo renamed T7491: Kleopatra: Confusing additional pinentry on creation of new keypair with ADSK configured from Kleopatra: Confusing additional pinentry on while new keypair with ADSK configured to Kleopatra: Confusing additional pinentry on creation of new keypair with ADSK configured .
Jan 23 2025, 9:18 AM · gpgagent, gnupg26, gnupg
werner triaged T7491: Kleopatra: Confusing additional pinentry on creation of new keypair with ADSK configured as Normal priority.
Jan 23 2025, 8:28 AM · gpgagent, gnupg26, gnupg

Jan 8 2025

werner closed T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected as Resolved.
Jan 8 2025, 2:35 PM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
werner moved T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected from Backlog to done on the gnupg24 board.
Jan 8 2025, 2:35 PM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
werner moved T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected from Backlog to Done on the gnupg26 board.
Jan 8 2025, 2:34 PM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
werner added a comment to T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected.

Got a simple fix for this which does two things:

  1. Correctly act upon an error from the backup file writing
  2. Print a warning note.
Jan 8 2025, 2:04 PM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
m.eik added a comment to T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected.

Shall we handle this with additional retry prompts, w/o a timeout? I think this makes sense because creating keys with a backup file and a passphrase is a manual task anyway.

Jan 8 2025, 12:20 PM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
werner reopened T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected as "Open".
Jan 8 2025, 11:35 AM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)