Page MenuHome GnuPG

keyboxdTag
ActivePublic

Members

  • This project does not have any members.
  • View All

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

Tag for the keyboxd component

Recent Activity

Today

werner triaged T7983: gpg: the validity of a secret key is changed by making a certification with it as High priority.
Mon, Dec 22, 5:29 PM · keyboxd, Bug Report, gpd5x, gnupg26
werner added a comment to T7983: gpg: the validity of a secret key is changed by making a certification with it.

This has likely a similar cause as T1794

Mon, Dec 22, 3:14 PM · keyboxd, Bug Report, gpd5x, gnupg26
pl13 added a comment to T7983: gpg: the validity of a secret key is changed by making a certification with it.

I have been able to reproduce this on linux with gnupg 2.5.14.
I had two users (named Alice and Bob in the example), each generating a key pair.
These are the steps:

  • Both users have the "use-keyboxd" option in their common.conf (i could not reproduce the bug without this option)
Mon, Dec 22, 9:03 AM · keyboxd, Bug Report, gpd5x, gnupg26

Thu, Dec 18

werner added a comment to T7983: gpg: the validity of a secret key is changed by making a certification with it.

Yesterday I was able to reproduce it once. But despite more than a dozen more tries yesterday and this morning, I could not anymore replicate it. I tested on Unix and one oddity was that I forgot to kill the keyboxd for a clean new test and thus it could serve old keys despite that the pubring.db was already deleted (but the inode still open by keyboxd).

Thu, Dec 18, 10:21 AM · keyboxd, Bug Report, gpd5x, gnupg26

Wed, Dec 17

ebo added a project to T7983: gpg: the validity of a secret key is changed by making a certification with it: keyboxd.
Wed, Dec 17, 4:19 PM · keyboxd, Bug Report, gpd5x, gnupg26

Tue, Dec 16

ebo renamed T7892: keyboxd: subkey listing issue with ADSKs from keyboxd: a new subkey is sometimes not stored in the fingerprint table. to keyboxd: subkey listing issue with ADSKs.
Tue, Dec 16, 12:28 PM · gnupg26, Bug Report, keyboxd, gnupg
ebo moved T7892: keyboxd: subkey listing issue with ADSKs from QA to Backlog on the gnupg26 board.

This relates to T7917: Check for revocation of the ADSK's original subkey

Tue, Dec 16, 12:25 PM · gnupg26, Bug Report, keyboxd, gnupg
ebo added a comment to T7892: keyboxd: subkey listing issue with ADSKs.

The expected behavior is that only "Ted" (the key from where the ADSK originates) is listed, regardless of ADSKs, on every listing.
Because for regular keys there can only ever be one, "gpg -k" shows always only one key.
Subkeys which are ADSKs shall therefore never be listed with this command.

Tue, Dec 16, 12:23 PM · gnupg26, Bug Report, keyboxd, gnupg
ebo changed the status of T7892: keyboxd: subkey listing issue with ADSKs from Testing to Open.

Tested with Gpg4win-5.0.0-beta446, identically to the procedure from the description:

Tue, Dec 16, 11:57 AM · gnupg26, Bug Report, keyboxd, gnupg

Nov 19 2025

werner moved T7892: keyboxd: subkey listing issue with ADSKs from WIP to QA on the gnupg26 board.
Nov 19 2025, 5:44 PM · gnupg26, Bug Report, keyboxd, gnupg

Nov 18 2025

werner changed the status of T7892: keyboxd: subkey listing issue with ADSKs from Open to Testing.
Nov 18 2025, 5:29 PM · gnupg26, Bug Report, keyboxd, gnupg

Nov 17 2025

ebo added a project to T7892: keyboxd: subkey listing issue with ADSKs: gnupg26.
Nov 17 2025, 12:09 PM · gnupg26, Bug Report, keyboxd, gnupg

Nov 3 2025

werner renamed T7892: keyboxd: subkey listing issue with ADSKs from keyboxd: subkey issue connected to ADSK to keyboxd: a new subkey is sometimes not stored in the fingerprint table..
Nov 3 2025, 9:54 AM · gnupg26, Bug Report, keyboxd, gnupg
werner triaged T7892: keyboxd: subkey listing issue with ADSKs as High priority.

It is not an ADSK issue. The problem is that the new subkey has not been entered into the fingerprint table and can thus not be found.

Nov 3 2025, 9:52 AM · gnupg26, Bug Report, keyboxd, gnupg

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

Apr 8 2025

werner closed T7598: Avoiding keyboxd by default as Wontfix.

We suggest the use of the keyboxd for a reason. The use of multiple keyrings has always been a problem and has been kept on demand from a couple of people. Eventually things change and for a new installation the use of the keyboxd is the suggested way to run GnuPG. Support for pubring.gpg and even pubring.kbx may eventually be removed - not now or in the next year but it may happen. You have been warned ;-)

Apr 8 2025, 8:34 PM · Not A Bug, gnupg24 (gnupg-2.4.5), keyboxd
dkg created T7598: Avoiding keyboxd by default.
Apr 8 2025, 8:00 PM · Not A Bug, gnupg24 (gnupg-2.4.5), keyboxd

Mar 17 2025

werner closed T7569: `gpgconf --homedir $x --kill keyboxd` doesn't appear to terminate a running keyboxd as Resolved.
Mar 17 2025, 10:12 AM · gnupg, keyboxd, Bug Report
werner added a comment to T7569: `gpgconf --homedir $x --kill keyboxd` doesn't appear to terminate a running keyboxd.

FWIW: It does works when using GNUPGHOME instead.

Mar 17 2025, 9:46 AM · gnupg, keyboxd, Bug Report

Mar 14 2025

dkg added a comment to T7569: `gpgconf --homedir $x --kill keyboxd` doesn't appear to terminate a running keyboxd.

similarly, gpgconf --homedir /tmp/gg --kill all does not terminate keyboxd, despite the fact that gpgconf(1) says:

Mar 14 2025, 7:27 PM · gnupg, keyboxd, Bug Report
dkg created T7569: `gpgconf --homedir $x --kill keyboxd` doesn't appear to terminate a running keyboxd.
Mar 14 2025, 7:24 PM · gnupg, keyboxd, Bug Report

Feb 21 2025

werner closed T7294: keyboxd: Possible race conditions (and clean up) as Resolved.

Closed after the release of 2.5.4

Feb 21 2025, 9:15 AM · keyboxd, Bug Report, kleopatra, Restricted Project

Feb 20 2025

werner added a comment to T7527: Keyring/keybox denial of service.

Okay, I can reproduce it when not using keyboxd.

Feb 20 2025, 8:15 AM · OpenPGP, gnupg, Bug Report

Feb 19 2025

werner added a comment to T7527: Keyring/keybox denial of service.

Sorry. I can't reproduce this. Neither with master nor with the 2.4 repo version.

Feb 19 2025, 11:27 AM · OpenPGP, gnupg, Bug Report

Feb 18 2025

dkg added a comment to T7527: Keyring/keybox denial of service.

the reproducer is:

Feb 18 2025, 10:42 PM · OpenPGP, gnupg, Bug Report
dkg reopened T7527: Keyring/keybox denial of service as "Open".

I don't think this is fixed. With this patch in place, if i import blocker.cert first, and then import distsigkey.gpg, it looks to me like i still can't verify signatures made from any of the GnuPG signing keys.

Feb 18 2025, 10:40 PM · OpenPGP, gnupg, Bug Report

Feb 12 2025

dkg added a comment to T7265: When "use_keyboxd" is configured --keyring option is ignored?.

I was referring to your comment earlier in this very issue:

Feb 12 2025, 10:02 PM · keyboxd, gnupg, FAQ, Support
werner closed T7527: Keyring/keybox denial of service as Resolved.
Feb 12 2025, 12:03 PM · OpenPGP, gnupg, Bug Report
werner added a comment to T7265: When "use_keyboxd" is configured --keyring option is ignored?.

Where do you find a statement that --keyring is deprecated? I planned to to remove it with 2.1 but there were too many requests to keep it and live with the problems of multiple keyrings. Thus the option stayed, it is just so that in addition to pubring.gpg and pubring.gpg we now also have the option for keyboxd - which is the default for new installations.

Feb 12 2025, 9:18 AM · keyboxd, gnupg, FAQ, Support

Feb 11 2025

dkg added a comment to T7265: When "use_keyboxd" is configured --keyring option is ignored?.

I'm not going to keep re-opening a ticket that you keep closing. So i'm just going to state here what i believe to be the upstream intent is. If you think this is wrong, i'd love a clarification. I believe that "deprecated" means that the GnuPG project believes that an option or configuration choice should not be used, and will eventually go away.

Feb 11 2025, 4:14 PM · keyboxd, gnupg, FAQ, Support
werner changed the status of T7527: Keyring/keybox denial of service from Open to Testing.

The actual cause here was that right before storing the imported key we need to decide whether to insert or update a keyblock. For this we need to lookup the key in our database and the lookup function does the usual thing by looking at any fingerprint. This is wrong: Here we need to lookup only by primary fingerprint. This is what the above patches do.

Feb 11 2025, 2:57 PM · OpenPGP, gnupg, Bug Report
werner triaged T7527: Keyring/keybox denial of service as High priority.

That is not a new issue. We have the very same issue since ever. However, without keyboxd you had random results depending on the order of the keys in the keyring.

Feb 11 2025, 9:09 AM · OpenPGP, gnupg, Bug Report
werner closed T7265: When "use_keyboxd" is configured --keyring option is ignored? as Resolved.

That is an installation/migration question and the warning is just a convenience thing to remind the few early users of keyboxd to migrate to common.conf.

Feb 11 2025, 9:06 AM · keyboxd, gnupg, FAQ, Support

Feb 10 2025

dkg added a comment to T7527: Keyring/keybox denial of service.

To be clear about what's going on here, blocker.cert has simply adopted the primary keys of each certificate found in /usr/share/gnupg/distsigkey.gpg -- i think GnuPG requires each component key in its keystore to have a unique fingerprint across all component keys in the keystore. so when one certificate claims those fingerprints as subkeys, any certificate that has a primary key with a matching fingerprint gets rejected with doesn't match our copy.

Feb 10 2025, 10:49 PM · OpenPGP, gnupg, Bug Report
dkg created T7527: Keyring/keybox denial of service.
Feb 10 2025, 10:31 PM · OpenPGP, gnupg, Bug Report
dkg reopened T7265: When "use_keyboxd" is configured --keyring option is ignored? as "Open".

I understand you as saying you won't fix the fact that the warning is not emitted during initial homedir setup. I'm not sure why that scenario is not worthy of a warning when a post-setup scenario is, but okay.

Feb 10 2025, 10:26 PM · keyboxd, gnupg, FAQ, Support
dkg updated the task description for T7521: `gpg --use-keyboxd` always emits an incomprehensible warning.
Feb 10 2025, 7:02 PM · keyboxd, gnupg, Bug Report
dkg added a comment to T7521: `gpg --use-keyboxd` always emits an incomprehensible warning.

thanks for correcting that, @ikloecker. i've corrected the initial report.

Feb 10 2025, 7:01 PM · keyboxd, gnupg, Bug Report
dkg updated the task description for T7521: `gpg --use-keyboxd` always emits an incomprehensible warning.
Feb 10 2025, 7:00 PM · keyboxd, gnupg, Bug Report
ikloecker added a comment to T7521: `gpg --use-keyboxd` always emits an incomprehensible warning.

Daniel confused --list-options with --dump-options. The linked completion script uses the latter.

Feb 10 2025, 3:40 PM · keyboxd, gnupg, Bug Report
werner closed T7265: When "use_keyboxd" is configured --keyring option is ignored? as Resolved.

Won't be fixed for the creation thing.

Feb 10 2025, 10:46 AM · keyboxd, gnupg, FAQ, Support
werner closed T7521: `gpg --use-keyboxd` always emits an incomprehensible warning as Invalid.
$ gpg --list-options 
gpg: missing argument for option "--list-options"
$ gpg --list-options help
show-photos            display photo IDs during key listings
show-usage             show key usage information during key listings
[...]
Feb 10 2025, 9:53 AM · keyboxd, gnupg, Bug Report

Feb 9 2025

dkg renamed T7523: keyboxd is active when idle (unnecessary power draw) from keyboxd is remarkably active when idle (unnecessary power draw) to keyboxd is active when idle (unnecessary power draw).
Feb 9 2025, 5:42 AM · Feature Request, gnupg
dkg created T7523: keyboxd is active when idle (unnecessary power draw).
Feb 9 2025, 4:46 AM · Feature Request, gnupg

Feb 8 2025

dkg created T7521: `gpg --use-keyboxd` always emits an incomprehensible warning.
Feb 8 2025, 4:43 PM · keyboxd, gnupg, Bug Report
dkg reopened T7265: When "use_keyboxd" is configured --keyring option is ignored? as "Open".

This warning doesn't seem to be complete; no such warning is produced on the first run of gpg. For example (with no ~/.gnupg):

Feb 8 2025, 4:08 PM · keyboxd, gnupg, FAQ, Support