Page MenuHome GnuPG
Feed Advanced Search

Feb 10 2025

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
werner added a comment to T7523: keyboxd is active when idle (unnecessary power draw).

This is the old code from gnupg-2.0/agent/gpg-agent.c:

Feb 10 2025, 9:46 AM · Feature Request, gnupg
werner triaged T7523: keyboxd is active when idle (unnecessary power draw) as Normal priority.

inotify is already used used on Linux to check for a lost homedir. The once-in-a-minute check should be the same as with the other daemons and has proved to be very useful. The whole thing has been discussed over and over again a long time ago and - as with other system daemon - we agreed on scheduling at the full second.

Feb 10 2025, 9:40 AM · Feature Request, gnupg

Feb 9 2025

qyliss updated the diff for D606: build: use pkg-config to find tss2-esys.

Removed extraneous space.

Feb 9 2025, 11:09 AM · gnupg
dkg added a comment to T7518: `gpg --gpgconf-list` reports some data from the config file or command line, and other data that is about compiled in defaults.

If you say so, i won't press this. I will just leave this ticket with an observation that even for someone who reads the source code this is not intelligible. At the top of gpgconf_list in g10/gpg.c, the comment says:

Feb 9 2025, 5:59 AM · Not A Bug, gnupg, Bug Report
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

Feb 7 2025

werner closed T7518: `gpg --gpgconf-list` reports some data from the config file or command line, and other data that is about compiled in defaults as Resolved.
Feb 7 2025, 10:09 AM · Not A Bug, gnupg, Bug Report
ikloecker added a comment to T7518: `gpg --gpgconf-list` reports some data from the config file or command line, and other data that is about compiled in defaults.
$ man gpg
       --gpgconf-list
              This command is similar to --list-config but in general only internally used by the gpgconf tool.

In general, "only internally used" means: Don't use this yourself or accept what it does.

Feb 7 2025, 9:44 AM · Not A Bug, gnupg, Bug Report

Feb 6 2025

dkg added a comment to T7518: `gpg --gpgconf-list` reports some data from the config file or command line, and other data that is about compiled in defaults.

in combination with this patch it should be easy to modify gpgconf_list() (in g10/gpg,c) to emit compliance from the settings/cli options.

Feb 6 2025, 9:48 PM · Not A Bug, gnupg, Bug Report
dkg created T7518: `gpg --gpgconf-list` reports some data from the config file or command line, and other data that is about compiled in defaults.
Feb 6 2025, 7:21 PM · Not A Bug, gnupg, Bug Report
dkg added a comment to T7511: `gpg --compliance=rfc4880 --quick-gen-key` produces a key that is not compatible with RFC 4880.

Please see the 5-patch series posted on gnupg-devel for a fix for this.

Feb 6 2025, 3:32 PM · gnupg, Bug Report
dkg added a comment to T7511: `gpg --compliance=rfc4880 --quick-gen-key` produces a key that is not compatible with RFC 4880.

Maybe we have a different understanding of what "backward compatibility" means. if someone needs backward compatibility to communicate with someone using an RFC 4880 client, then surely they don't want to use a pubkey algorithm that isn't specified in RFC 4880, right?

Feb 6 2025, 3:21 PM · gnupg, Bug Report
werner triaged T7516: `gpg --compliance=rfc4880 --quick-add-key $fpr rsa sign` fails unnecessarily with "third-party key signatures using the SHA1 algorithm are rejected" as Low priority.
Feb 6 2025, 9:14 AM · gnupg, Bug Report

Feb 5 2025

dkg added a comment to T7516: `gpg --compliance=rfc4880 --quick-add-key $fpr rsa sign` fails unnecessarily with "third-party key signatures using the SHA1 algorithm are rejected".

Patch sent to gnupg-devel. I think this can be applied to the 2.4 series as well.

Feb 5 2025, 9:55 PM · gnupg, Bug Report
dkg created T7516: `gpg --compliance=rfc4880 --quick-add-key $fpr rsa sign` fails unnecessarily with "third-party key signatures using the SHA1 algorithm are rejected".
Feb 5 2025, 8:51 PM · gnupg, Bug Report
werner closed T7511: `gpg --compliance=rfc4880 --quick-gen-key` produces a key that is not compatible with RFC 4880 as Wontfix.

The compliance mode likes 4880 or 2440 are only here for backward compatibility in case that is needed. New keys shall always be generated using the current default algorithms. Note that a mode like de-vs is different in that it is used to comply with certain regulatory demands and not as a backward compatibility hack.

Feb 5 2025, 2:12 PM · gnupg, Bug Report

Feb 4 2025

dkg added a comment to T7511: `gpg --compliance=rfc4880 --quick-gen-key` produces a key that is not compatible with RFC 4880.

i see two forms of an initial resolution here: one is to have set_compliance_option always explicitly set opt.def_newkey_algo. The other is to check opt.compliance in get_default_pubkey_algo.

Feb 4 2025, 11:57 PM · gnupg, Bug Report
dkg created T7511: `gpg --compliance=rfc4880 --quick-gen-key` produces a key that is not compatible with RFC 4880.
Feb 4 2025, 6:53 PM · gnupg, Bug Report

Feb 3 2025

ikloecker added a comment to T7488: Improve decryption error message caused by deleted card key.

I'm not sure what Kleopatra should do differently. Kleopatra relies on the error messages provided by gpgme which in turn relies on gpg's status messages.

Feb 3 2025, 6:18 PM · kleopatra, gpd5x, gnupg
werner triaged T7488: Improve decryption error message caused by deleted card key as Normal priority.

FWIW, If a fix is really required for gnupg this will be done for gnupg26 and not for gnupg22. However, it is mostly a kleopatra issue.

Feb 3 2025, 11:54 AM · kleopatra, gpd5x, gnupg
werner closed T7501: policy compliance options collide incompatibly without warning as Resolved.

Thanks. I applied all 4 patches to master and did one additional change to get --allow-old-cipher-algos straight.

Feb 3 2025, 11:50 AM · gnupg26, Bug Report

Feb 2 2025

aheinecke created T7506: GnuPG: Error when adding ECDSA subkey in batch mode with quick-add-key "Wrong key usage".
Feb 2 2025, 12:39 AM · gnupg26, gnupg24, Bug Report

Jan 31 2025

dkg added a comment to T7501: policy compliance options collide incompatibly without warning.

Here's all of the above patches squashed into a single patch:

.

Jan 31 2025, 7:16 PM · gnupg26, Bug Report
dkg added a comment to T7501: policy compliance options collide incompatibly without warning.

attached here is a series of 4 patches that reinforce that the last --compliance policy option (or equivalent option, like --rfc4880 or --gnupg) supercedes any earlier one.

Jan 31 2025, 7:01 PM · gnupg26, Bug Report
dkg reopened T7501: policy compliance options collide incompatibly without warning as "Open".

sorry for the confusion in the initial report -- the policy compliance option is of course --compliance, and not --policy, and i just miswrote it in one line of the description above. I've corrected it now, and all the rest of the report is still as it was.

Jan 31 2025, 3:35 PM · gnupg26, Bug Report
dkg updated the task description for T7501: policy compliance options collide incompatibly without warning.
Jan 31 2025, 3:34 PM · gnupg26, Bug Report
werner closed T7501: policy compliance options collide incompatibly without warning as Invalid.

That gpg seems to be some other or patched software than the one from gnupg:

Jan 31 2025, 12:10 PM · gnupg26, Bug Report
dkg created T7501: policy compliance options collide incompatibly without warning.
Jan 31 2025, 7:16 AM · gnupg26, Bug Report

Jan 27 2025

Saturneric added a comment to T7492: gpgconf failed to kill all gpgagent daemons on windows.

This issue occurs when using GPGME with multiple contexts and setting the OpenPGP engines to different GnuPG home paths. As you mentioned, it is crucial to let gpgconf know the correct home path so that it can locate the socket file used by gpg-agent and properly clean up all instances.

Jan 27 2025, 3:05 PM · Windows, gnupg, Bug Report
werner added projects to T7492: gpgconf failed to kill all gpgagent daemons on windows: gnupg, Windows.

gpgconf assumes that there is only one of the daemons. In fact it can only work with one and that is the one daemon which listens on the socket. all daemon's do a self-check by trying to connect to themself and terminate if they realize that they are not anymore the owner of the socket. As long as a daemon is started by a gnupg component a file system lock is taken to avoid duplicate launching. However it a daemon is stared by other means this could lead to a race.

Jan 27 2025, 1:18 PM · Windows, gnupg, Bug Report

Jan 24 2025

werner triaged T7487: libksba/gpgsm: support for RSA-PSS signatures made with a maximum saltLength value as Wishlist priority.

If you encounter real world certificates with these parameters we can bump up the priority.

Jan 24 2025, 11:08 AM · gnupg, S/MIME, Feature Request

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 22 2025

ikloecker removed a project from T7491: Kleopatra: Confusing additional pinentry on creation of new keypair with ADSK configured : kleopatra.

Kleopatra has no influence on this. This does surely also happen when a new keypair is created on the command line.

Jan 22 2025, 7:41 PM · gpgagent, gnupg26, gnupg
ebo created T7491: Kleopatra: Confusing additional pinentry on creation of new keypair with ADSK configured .
Jan 22 2025, 4:30 PM · gpgagent, gnupg26, gnupg

Jan 20 2025

gniibe changed the status of T7071: gpg: Support of No CRC in ASCII armor from Open to Testing.

Reported gnupg channel on IRC.
An ascii armored file in question was: https://github.com/syncthing/syncthing/releases/download/v1.29.2/sha256sum.txt.asc

Jan 20 2025, 7:13 AM · gnupg, Bug Report
gniibe added a comment to T7071: gpg: Support of No CRC in ASCII armor.

Fixed in: rGb1857a2836c9: gpg: Fix handling with no CRC armor.

Jan 20 2025, 7:11 AM · gnupg, Bug Report
gniibe reopened T7071: gpg: Support of No CRC in ASCII armor as "Open".

When CHECKCRC == 0 (no CRC), ->any_data was not set, resulted

	no valid OpenPGP data found.

wrongly.

Jan 20 2025, 7:10 AM · gnupg, Bug Report

Jan 19 2025

zablockil added a comment to T7487: libksba/gpgsm: support for RSA-PSS signatures made with a maximum saltLength value.

I think I can understand you, too much complexity.

Jan 19 2025, 7:56 PM · gnupg, S/MIME, Feature Request

Jan 17 2025

werner added a comment to T7487: libksba/gpgsm: support for RSA-PSS signatures made with a maximum saltLength value.

See this comment which is related to T4538:

Jan 17 2025, 4:29 PM · gnupg, S/MIME, Feature Request
werner added projects to T7487: libksba/gpgsm: support for RSA-PSS signatures made with a maximum saltLength value: S/MIME, gnupg.
Jan 17 2025, 4:17 PM · gnupg, S/MIME, Feature Request
ebo created T7488: Improve decryption error message caused by deleted card key.
Jan 17 2025, 3:47 PM · kleopatra, gpd5x, gnupg

Jan 15 2025

ebo closed T6085: pinentry-qt: Earlier passphrase hint when creating new key as Wontfix.

Werner says this won't be fixed…
Because the system can be configured to use constraints which we can't explain except in ABNF, which won't help users.

Jan 15 2025, 11:55 AM · gnupg, Restricted Project, pinentry

Jan 14 2025

werner added a comment to T7442: Release GnuPG 2.5.3.

Note: The is a bug in the gnupg-w32-2.5.3 tarballs. After untaring cd to the directory as usual but then do:

rm PLAY/src/zlib/*.[oa] PLAY/src/bzip2/*.[oa]

before you run

make -f build-aux/speedo.mk this-native
Jan 14 2025, 5:29 PM · Release Info, gnupg
werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2025q1/000489.html on T7442: Release GnuPG 2.5.3.
Jan 14 2025, 10:53 AM · Release Info, gnupg
gniibe changed the status of T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd from Open to Testing.

Fixed in: rE0f4fe2edf5e5: spawn: Care about closefrom/close call is interrupted.

Jan 14 2025, 7:12 AM · Linux, gnupg, gpgrt, Bug Report
gniibe added a comment to T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd.

@werner I read the code of gpgme/src/posix-io.c. I understand the two points:

  • For the correctness sake, the possible interrupted closefrom should be handled.
  • we can share the code with closefrom case and non-closefrom case.
Jan 14 2025, 6:55 AM · Linux, gnupg, gpgrt, Bug Report

Jan 10 2025

werner updated the task description for T7442: Release GnuPG 2.5.3.
Jan 10 2025, 11:59 AM · Release Info, gnupg
gniibe closed T7457: gpg --full-gen-key doesn't show list of keys on card (regression) as Resolved.

Fixed in 2.5.3.

Jan 10 2025, 7:59 AM · gnupg26, gnupg24, Bug Report

Jan 9 2025

werner triaged T7480: Release GnuPG 2.5.4 as Low priority.
Jan 9 2025, 10:01 AM · gnupg26, gnupg, Release Info

Jan 8 2025

werner added a comment to T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd.

@gniibe: Please see gpgme/src/posix-io.c where we have this:

Jan 8 2025, 9:06 AM · Linux, gnupg, gpgrt, Bug Report
werner added a project to T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd: Linux.
Jan 8 2025, 8:51 AM · Linux, gnupg, gpgrt, Bug Report
werner renamed T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd from `_gpg_close_all_fds` hangs on modern Linux when `/proc/self/fd` is unavailable; spawning a process without `GPGRT_SPAWN_INHERIT_FILE` takes > 1 hour to _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd.
Jan 8 2025, 8:50 AM · Linux, gnupg, gpgrt, Bug Report
gniibe added a comment to T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd.

Thank you for your report.

Jan 8 2025, 7:49 AM · Linux, gnupg, gpgrt, Bug Report

Jan 7 2025

dkg added a project to T7478: _gpg_close_all_fds hangs on nwer Linux systems in a simple chroot w/o /proc/self/fd: gnupg.
Jan 7 2025, 11:44 PM · Linux, gnupg, gpgrt, Bug Report
werner closed T7469: gnupg fr.po updates as Resolved.

All applied.

Jan 7 2025, 8:27 AM · i18n, gnupg

Dec 20 2024

ametzler1 created T7469: gnupg fr.po updates.
Dec 20 2024, 6:52 PM · i18n, gnupg
ikloecker added a project to T7468: Kleopatra: General error when aborting subkey generation: gnupg.

Looks like gpg 2.2 doesn't emit a canceled status log message, but gpg 2.4 does if the problem only occurs with VSD but not with Gpg4win.

Dec 20 2024, 5:22 PM · gnupg22, kleopatra
gniibe closed T7071: gpg: Support of No CRC in ASCII armor as Resolved.
Dec 20 2024, 1:17 AM · gnupg, Bug Report

Dec 19 2024

bitigchi closed T7454: Kleopatra: GnuPG System settings’ translations are not pulled as Invalid.

Installing language-pack-tr-base fixed the issue. Closing. Sorry for the noise.

Dec 19 2024, 6:35 PM · Not A Bug, gnupg, Bug Report

Dec 18 2024

werner reopened T7454: Kleopatra: GnuPG System settings’ translations are not pulled as "Open".
Dec 18 2024, 5:25 PM · Not A Bug, gnupg, Bug Report
bitigchi added a comment to T7454: Kleopatra: GnuPG System settings’ translations are not pulled.

Actually not a bug: In my tests I forgot to unset LANGUAGES and LANG before calling gpg.

LANGUAGE= LANG= LC_MESSAGES=de_DE gpg

Thus this should work. But it did only work when I used

LANGUAGE= LANG= LC_MESSAGES=de_DE.UTF8 gpg

Thus the whole thing is related to the configuration of locale.alias and on whether LANGUAGE is set in the environment (for me it is set to en_US:en

Dec 18 2024, 5:21 PM · Not A Bug, gnupg, Bug Report
werner closed T7454: Kleopatra: GnuPG System settings’ translations are not pulled as Resolved.

Actually not a bug: In my tests I forgot to unset LANGUAGES and LANG before calling gpg.

Dec 18 2024, 3:28 PM · Not A Bug, gnupg, Bug Report

Dec 16 2024

ebo moved T7322: Kleopatra: General error if ADSK is not configured correctly from WiP to QA on the vsd33 board.
Dec 16 2024, 11:19 AM · vsd33 (vsd-3.3.0), Restricted Project, gnupg
gniibe changed the status of T7457: gpg --full-gen-key doesn't show list of keys on card (regression) from Open to Testing.
Dec 16 2024, 2:00 AM · gnupg26, gnupg24, Bug Report
gniibe claimed T7457: gpg --full-gen-key doesn't show list of keys on card (regression).

It's a bug I introduced when fixing T7309.
Fixed in rGaa36f6ae8bae: gpg: Fix key generation with existing key from card.

Dec 16 2024, 2:00 AM · gnupg26, gnupg24, Bug Report

Dec 13 2024

alexk placed T7457: gpg --full-gen-key doesn't show list of keys on card (regression) up for grabs.
Dec 13 2024, 3:16 PM · gnupg26, gnupg24, Bug Report
alexk created T7457: gpg --full-gen-key doesn't show list of keys on card (regression).
Dec 13 2024, 3:12 PM · gnupg26, gnupg24, Bug Report

Dec 12 2024

werner added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

Right, the first process is the gpg-connect-agent (via gpgconf). I used gpg just as an example. All processes use the same code to launch the agent.

Dec 12 2024, 9:27 AM · gnupg, kleopatra
ikloecker added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

There were three parties involved:

  • gpgconf --launch gpg-agent
  • gpg -k ...
  • gpgsm --server followed by LISTKEYS command
Dec 12 2024, 9:05 AM · gnupg, kleopatra
werner claimed T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).
Dec 12 2024, 7:54 AM · gnupg, kleopatra
werner added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

Thinking again about this my hypothesis is:

Dec 12 2024, 7:54 AM · gnupg, kleopatra
gniibe added a comment to T7368: dirmngr/dns.c files to compile due to type-mismatch caused by missing _XOPEN_SOURCE on Solaris and derivatives.

IIUC, simpler solution would be modifying m4/socklen.m4 adding Solaris variant specific code.
Tweaking _XOPEN_SOURCE requires the change of Autoconf (if done correctly), which would be larger surgery.

Dec 12 2024, 7:46 AM · gnupg26, dns, Solaris, Bug Report

Dec 11 2024

werner added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

I'm wondering what happened (or why nothing happened) between the exit of gpg-agent[2816] at 10:11:12 and the start of gpg-agent[6492] at 10:12:00.

Dec 11 2024, 4:02 PM · gnupg, kleopatra
ebo closed T7437: Kleopatra: Remove explicit start of gpg-agent on startup, a subtask of T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound), as Invalid.
Dec 11 2024, 2:04 PM · gnupg, kleopatra
ebo closed T7438: Kleopatra: Serialize listing of OpenPGP and S/MIME certificates, a subtask of T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound), as Invalid.
Dec 11 2024, 2:03 PM · gnupg, kleopatra
ebo triaged T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound) as High priority.
Dec 11 2024, 10:58 AM · gnupg, kleopatra
aheinecke added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

I am not sure if it helps if I comment, I just saw that this is issue cropped up again, and although we might be seeing different problems since other reports like T6623: Kleopatra hangs "Loading certificate cache" on Windows 10 T4581: Kleopatra stuck in loading the certificate cache are about indefinite hangs. (Was a timeout added in a generic place recently?) I just hope that at one point the underlying cause for this is found and resolved instead of hiding the symptom each time we find a way to reproduce this a bit better. Seeing T7437 and T7438 in which I commented a bit more made me sad that this is still not treated as a GnuPG issue.

Dec 11 2024, 7:53 AM · gnupg, kleopatra
aheinecke merged T3793: Speed up Keylistings in GPG(SM) into T6206: Kleopatra: Listing certificates initially just takes too long..
Dec 11 2024, 6:58 AM · S/MIME, gnupg, kleopatra
aheinecke merged task T3793: Speed up Keylistings in GPG(SM) into T6206: Kleopatra: Listing certificates initially just takes too long..
Dec 11 2024, 6:58 AM · gnupg

Dec 6 2024

gniibe closed T7192: gnupg-2.5.0: Use gpgrt_process_spawn API (was: Does not build due to undeclared identifier 'environ') as Resolved.
Dec 6 2024, 1:05 AM · gnupg, Bug Report

Dec 5 2024

werner closed T7193: gnupg-2.5.0: Does not build due to missing declaration of read and write as Resolved.
Dec 5 2024, 4:36 PM · MacOS, gnupg, Bug Report
werner closed T7316: Curve25519/v5 key cannot be exported, a subtask of T7315: Allow exporting of PQC keys., as Resolved.
Dec 5 2024, 4:32 PM · gnupg26, OpenPGP, PQC, gnupg
werner closed T7316: Curve25519/v5 key cannot be exported as Resolved.
Dec 5 2024, 4:32 PM · gnupg26, OpenPGP, PQC, gnupg
werner closed T7351: 2.2.45 exitcode 2 when importing revocation cert for expired key as Resolved.
Dec 5 2024, 4:30 PM · gnupg, Bug Report
werner added a comment to T7351: 2.2.45 exitcode 2 when importing revocation cert for expired key.

@ilf: Yes these message are emitted using log_info in 2.4.7 and 2.5.2. Thus they don't case a failure exit. I will silence them with --quiet in 2.5.3.

Dec 5 2024, 4:28 PM · gnupg, Bug Report
werner moved T7289: Release GnuPG 2.5.2 from Backlog to Done on the gnupg26 board.
Dec 5 2024, 11:48 AM · gnupg, Release Info, gnupg26
werner updated the task description for T7289: Release GnuPG 2.5.2.
Dec 5 2024, 11:47 AM · gnupg, Release Info, gnupg26
werner triaged T7442: Release GnuPG 2.5.3 as Normal priority.
Dec 5 2024, 11:45 AM · Release Info, gnupg

Dec 4 2024

werner closed T7397: Kleopatra: Support Kyber generation, a subtask of T6636: PQC Implementation, as Resolved.
Dec 4 2024, 2:46 PM · PQC, gnupg, libgcrypt
ikloecker added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

I have created two subtasks for the two changes we could make in Kleopatra to avoid the gpg-agent startup race.

Dec 4 2024, 11:29 AM · gnupg, kleopatra
ikloecker added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

Neither gpg nor gpgsm start gpg-agent if the keyring is empty. That's why Andre made Kleo start gpg-agent explicitly so that people could get going with an empty keyring after inserting their (PKCS#15) smartcard.

Dec 4 2024, 11:11 AM · gnupg, kleopatra
werner added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

Kleo needs this only because it wants to directly talk to gpg-agent via Assuan. For example to get smartcard infos. What about delaying this part until you have received some data back from gpg or gpgsm? This makes sure that the agent has been started.

Dec 4 2024, 10:07 AM · gnupg, kleopatra

Dec 3 2024

ikloecker added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

Yes, that's what happens. I did an experiment with waiting for gpgconf --launch gpg-agent to succeed, but the timeout of 5 seconds I used was too low and I didn't feel like increasing the timeout. Instead now we run gpgconf --launch gpg-agent detached.

Dec 3 2024, 4:48 PM · gnupg, kleopatra
werner added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

Let me guess: Kleopatra starts the agent using gpgconf --launch gpg-agent which in turn uses gpg-connect-agent to actually start the agent if needed. Kleopatra does not seem to wait for the launch to succeed and fires up gpg and gpgsm. They both wait for the gpg-agent to be started and both use the same locking strategy. However, this involves a pseudo random wait which should avoid deadlocks. See gnupg/common/dotlock.c:next_wait_interval

Dec 3 2024, 4:34 PM · gnupg, kleopatra
ikloecker changed the status of T6663: Kleopatra: change option "publish on keyserver", a subtask of T6626: Kleopatra: Improve certification and revocation, from Open to Testing.
Dec 3 2024, 4:20 PM · kleopatra