Page MenuHome GnuPG
Feed Advanced Search

Yesterday

ebo renamed T7805: Permission denied on batch deletion of mixed (openpgp+smime) certs from Kleopatra: Permission denied on batch deletion of mixed (openpgp+smime) certs to Permission denied on batch deletion of mixed (openpgp+smime) certs.
Thu, Oct 9, 10:59 AM · gnupg, vsd, kleopatra
ebo added a project to T7805: Permission denied on batch deletion of mixed (openpgp+smime) certs: gnupg.
Thu, Oct 9, 10:58 AM · gnupg, vsd, kleopatra

Wed, Oct 8

m.eik created T7849: gpg returns "unknown system error" when given an empty file.
Wed, Oct 8, 10:53 AM · gnupg

Mon, Oct 6

gniibe closed T7541: libassuan AC_DEFINE_UNQUOTED m4 fix needs propagating to pinentry and gnupg2 as Resolved.
Mon, Oct 6, 2:05 AM · gpgme, gnupg, pinentry

Fri, Oct 3

gniibe added a comment to T7720: w32: Synchronous spawning gpg-agent/dirmngr/keyboxd.

I updated the branch.

Fri, Oct 3, 4:55 AM · gnupg, Feature Request, Bug Report

Thu, Sep 18

ikloecker closed T7815: Preferred key-server predefined by default? as Invalid.

Since GnuPG 2.5.3 there is no predefined keyserver anymore: https://dev.gnupg.org/T7442

Thu, Sep 18, 3:51 PM · gnupg, Bug Report
Rycky_Tigg created T7815: Preferred key-server predefined by default?.
Thu, Sep 18, 1:40 PM · gnupg, Bug Report

Sep 5 2025

werner added a comment to T7756: Release GnuPG 2.5.12.

For the full fledged Windows installer see https://files.gpg4win.org/Beta/gpg4win-5.0.0-beta369/gpg4win-5.0.0-beta369.exe

Sep 5 2025, 2:37 PM · Release Info, gnupg

Sep 4 2025

werner added a project to T7335: S/MIME keys are not listed correctly: gnupg26.

Is that really the same bug? I would be interested in seeing a more detailed report. BTW, Windows or Linux? Used standard beta installer on Windows?

Sep 4 2025, 9:52 PM · gnupg26, gnupg, Bug Report

Sep 2 2025

werner closed T7743: Release GnuPG 2.5.11 as Resolved.
Sep 2 2025, 3:00 PM · gnupg, Release Info
werner moved T7491: Confusing additional pinentry on creation of new keypair with ADSK configured from WIP to QA on the gnupg26 board.
Sep 2 2025, 2:57 PM · gpgagent, gnupg26, gnupg
werner updated the task description for T7756: Release GnuPG 2.5.12.
Sep 2 2025, 2:55 PM · Release Info, gnupg
werner triaged T7801: Release GnuPG 2.5.13 as Normal priority.
Sep 2 2025, 2:54 PM · gnupg, Release Info

Aug 28 2025

alexk added a project to T2380: Auto-refresh key if it is close to its expiration date.: vsd34.

Especially when an LDAP is configured, keys should be automatically refreshed in short intervals (5 days? Configurable?) to notify users about revoked keys or signatures from a trusted key.
Keys that are close to their expiration dates should be prioritized.
Maybe users want to configure for what mail domains a lookup on a configured LDAP should be done.

Aug 28 2025, 2:31 PM · vsd34, gnupg, OpenPGP, Feature Request

Aug 27 2025

werner changed the status of T7491: Confusing additional pinentry on creation of new keypair with ADSK configured from Open to Testing.
Aug 27 2025, 4:02 PM · gpgagent, gnupg26, gnupg
werner moved T7491: Confusing additional pinentry on creation of new keypair with ADSK configured from Backlog to WIP on the gnupg26 board.
Aug 27 2025, 3:40 PM · gpgagent, gnupg26, gnupg
werner renamed T7491: Confusing additional pinentry on creation of new keypair with ADSK configured from Kleopatra: Confusing additional pinentry on creation of new keypair with ADSK configured to Confusing additional pinentry on creation of new keypair with ADSK configured .
Aug 27 2025, 3:09 PM · gpgagent, gnupg26, gnupg

Aug 26 2025

werner closed T7794: gpg pick the wrong username as Resolved.

You may also specify a mail address in which case gpg tries to find the best matching key. For example the latest key with that mail address. See gnupg/g10/getkey.c:get_best_pubkey_byname

Aug 26 2025, 9:41 AM · gnupg, FAQ

Aug 21 2025

werner triaged T7768: Kleopatra: Improve notepad result messages for corrupted OpenPGP data as Low priority.

Nope: There are many different error codes returned, Kleopatra may want to map them to a common one.

Aug 21 2025, 11:32 AM · gnupg, gpd5x, kleopatra
werner merged T7787: Support exporting for of Kyber+ECC keys and subkeys into T7315: Allow exporting of PQC keys..
Aug 21 2025, 11:19 AM · gnupg26, OpenPGP, PQC, gnupg

Aug 13 2025

ebo added a comment to T7768: Kleopatra: Improve notepad result messages for corrupted OpenPGP data.

We need a better error code from gpg to change this

Aug 13 2025, 2:43 PM · gnupg, gpd5x, kleopatra
ebo updated the task description for T7755: Kleopatra: Show error if a certification did not succeed, even if the cause is crash of background process.
Aug 13 2025, 2:40 PM · gnupg, gpgme, gpd5x, kleopatra
ebo added a project to T7768: Kleopatra: Improve notepad result messages for corrupted OpenPGP data: gnupg.
Aug 13 2025, 2:32 PM · gnupg, gpd5x, kleopatra

Aug 4 2025

gniibe added a comment to T7720: w32: Synchronous spawning gpg-agent/dirmngr/keyboxd.

Pushed the changes in {gniibe/synch-spawn} branch.
It consists of three commits:

Aug 4 2025, 7:52 AM · gnupg, Feature Request, Bug Report

Jul 30 2025

werner closed T7754: gpg segfaults when signing a key with --edit-key and --set-notation=rem@gnupg.org=foo as Resolved.
Jul 30 2025, 12:54 PM · gnupg, Bug Report
werner closed T7719: Release GnuPG 2.5.10 as Resolved.

Note that 2.5.11 fixes a regression in 2.5.10 regarding the use of notations for 3rd party signatures. See T7743

Jul 30 2025, 11:06 AM · Release Info, gnupg, gnupg26
werner updated the task description for T7743: Release GnuPG 2.5.11.
Jul 30 2025, 11:05 AM · gnupg, Release Info
ikloecker added a comment to T7754: gpg segfaults when signing a key with --edit-key and --set-notation=rem@gnupg.org=foo.

I can confirm that the crash is fixed by the change.

Jul 30 2025, 10:42 AM · gnupg, Bug Report
werner triaged T7756: Release GnuPG 2.5.12 as Normal priority.
Jul 30 2025, 10:42 AM · Release Info, gnupg
werner changed the status of T7754: gpg segfaults when signing a key with --edit-key and --set-notation=rem@gnupg.org=foo from Open to Testing.
Jul 30 2025, 10:33 AM · gnupg, Bug Report
werner claimed T7754: gpg segfaults when signing a key with --edit-key and --set-notation=rem@gnupg.org=foo.
Jul 30 2025, 10:06 AM · gnupg, Bug Report
werner added a comment to T7754: gpg segfaults when signing a key with --edit-key and --set-notation=rem@gnupg.org=foo.

Urgs

Jul 30 2025, 10:06 AM · gnupg, Bug Report
ikloecker created T7754: gpg segfaults when signing a key with --edit-key and --set-notation=rem@gnupg.org=foo.
Jul 30 2025, 10:02 AM · gnupg, Bug Report

Jul 25 2025

werner closed T7738: The trustlist's qual flag is not cached correctly by gpgsm as Resolved.

Fixed for gnupg22 and gnupg26

Jul 25 2025, 5:29 PM · S/MIME, gnupg
werner changed the status of T7719: Release GnuPG 2.5.10 from Open to Testing.
Jul 25 2025, 5:28 PM · Release Info, gnupg, gnupg26
werner closed T7695: Release GnuPG 2.5.9 as Resolved.
Jul 25 2025, 5:27 PM · gnupg, Release Info
werner updated the task description for T7719: Release GnuPG 2.5.10.
Jul 25 2025, 5:27 PM · Release Info, gnupg, gnupg26
werner triaged T7743: Release GnuPG 2.5.11 as Normal priority.
Jul 25 2025, 4:02 PM · gnupg, Release Info
werner triaged T7620: gpgme_get_key fails to detect secret encryption subkey after key generation on card (until context is recreated) as Normal priority.
Jul 25 2025, 10:32 AM · gnupg26, gnupg, Bug Report

Jul 24 2025

werner added a comment to T7738: The trustlist's qual flag is not cached correctly by gpgsm.

This does not happen with gnupg24 because the cache has not been implemented there.

Jul 24 2025, 12:33 PM · S/MIME, gnupg
werner triaged T7738: The trustlist's qual flag is not cached correctly by gpgsm as Normal priority.
Jul 24 2025, 12:22 PM · S/MIME, gnupg

Jul 18 2025

alexk triaged T7730: gpg: retrieve a certificate from an LDAP server before sending it to the LDAP server as High priority.
Jul 18 2025, 12:06 PM · gnupg22, gnupg26, Feature Request, gpd5x

Jul 17 2025

werner closed T7670: updated nl.po for gnupg 2.4 as Resolved.
Jul 17 2025, 1:47 PM · i18n, gnupg, Bug Report
werner added a comment to T7670: updated nl.po for gnupg 2.4.

Thanks. Will go into 2.4.9 to be released soon.

Jul 17 2025, 1:47 PM · i18n, gnupg, Bug Report
gniibe closed T7589: Unable to export SSH keys for ED25519 keys generate on a SmartCard as Resolved.
Jul 17 2025, 4:26 AM · gnupg, ssh, Bug Report
gniibe closed T7623: gpgscm: Fix fixed-size characters (for portability, specifically for GCC 15 or later) as Resolved.
Jul 17 2025, 4:25 AM · gnupg, gpgrt, Bug Report

Jul 16 2025

werner closed T7289: Release GnuPG 2.5.2 as Resolved.
Jul 16 2025, 11:55 AM · gnupg, Release Info, gnupg26

Jul 15 2025

gniibe closed T7668: gnupg: regexp and build with -fsanitize=address as Resolved.
Jul 15 2025, 7:26 AM · Bug Report, gnupg

Jul 14 2025

werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2025q3/000495.html on T7695: Release GnuPG 2.5.9.
Jul 14 2025, 2:39 PM · gnupg, Release Info

Jul 11 2025

gniibe added a comment to T7720: w32: Synchronous spawning gpg-agent/dirmngr/keyboxd.

I'm testing the following patch with experimental change of libgpg-error.

Jul 11 2025, 10:45 AM · gnupg, Feature Request, Bug Report
gniibe triaged T7720: w32: Synchronous spawning gpg-agent/dirmngr/keyboxd as Wishlist priority.
Jul 11 2025, 10:44 AM · gnupg, Feature Request, Bug Report

Jul 10 2025

werner added a comment to T7695: Release GnuPG 2.5.9.
701bd8fe8789a86cd2b7c27254a2ab837ee4fcfa  gnupg-2.5.9.tar.bz2
1209dd1dc3cb9e33e3c7857e7f10a7b0fc8d478e  gnupg-w32-2.5.9_20250710.tar.xz
0c7814a9ed67c48d0498f42f5a0eeaaf18e29f49  gnupg-w32-2.5.9_20250710.exe
Jul 10 2025, 4:37 PM · gnupg, Release Info
werner closed T7672: Release GnuPG 2.5.8 as Resolved.
Jul 10 2025, 4:36 PM · Release Info, gnupg
werner updated the task description for T7695: Release GnuPG 2.5.9.
Jul 10 2025, 4:36 PM · gnupg, Release Info
werner triaged T7719: Release GnuPG 2.5.10 as Normal priority.
Jul 10 2025, 4:27 PM · Release Info, gnupg, gnupg26
werner added a comment to T7138: Windows (Semi-hosted environment): filename and network access.

We already have an initialization function in gpgrt which is thread-safe at least if used as a DLL. Maybe move the check to there.

Jul 10 2025, 10:03 AM · gnupg, Bug Report
gniibe added a comment to T7138: Windows (Semi-hosted environment): filename and network access.

In libgpg-error, we have: rE65114f24e13f: w32: More changes to the extended length path handling.

Jul 10 2025, 3:51 AM · gnupg, Bug Report

Jun 26 2025

ebo added a project to T7328: Add Kleopatra configs to gpgconf -X: gpd5x.
Jun 26 2025, 5:31 PM · gpd5x, Windows, gnupg, Feature Request

Jun 24 2025

gniibe closed T7664: tests/openpgp/ecc.scm fails when building GPG with address sanitizer as Resolved.

Fixed in 2.5.8.

Jun 24 2025, 8:50 AM · gnupg, Bug Report

Jun 20 2025

werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2025q2/000494.html on T7672: Release GnuPG 2.5.8.
Jun 20 2025, 5:50 PM · Release Info, gnupg
werner closed T7671: Release GnuPG 2.5.7 as Resolved.

In case of problems with token based cv25519 key, please update to 2.5.8.

Jun 20 2025, 5:49 PM · Release Info, gnupg
werner updated the task description for T7672: Release GnuPG 2.5.8.
Jun 20 2025, 5:33 PM · Release Info, gnupg
werner triaged T7695: Release GnuPG 2.5.9 as Normal priority.
Jun 20 2025, 5:28 PM · gnupg, Release Info

Jun 18 2025

werner lowered the priority of T6234: Implement access to smartcards via a generic pkcs#11 interface from Normal to Wishlist.

The actual project we had in mind for this was more or less canceled and thus I re-prioritize this task.

Jun 18 2025, 9:38 AM · gnupg, Feature Request, scd
werner closed T7014: agent: Enhancement of PKDECRYPT for KEM interface, a subtask of T6815: PQC encryption for GnuPG, as Resolved.
Jun 18 2025, 9:29 AM · gnupg26, OpenPGP, PQC, gnupg

Jun 5 2025

philiperm added a watcher for gnupg: philiperm.
Jun 5 2025, 8:45 PM
ikloecker added a comment to T7620: gpgme_get_key fails to detect secret encryption subkey after key generation on card (until context is recreated).

In Kleopatra we explicitly trigger a re-reading of the smart card after each operation involving a smart card to ensure that Kleopatra doesn't show wrong information. There's so much that can go wrong with physical smart cards that this is the only way to make sure you don't tell the user lies. I think gpg --edit-card also re-reads the smart card after each operation.

Jun 5 2025, 2:57 PM · gnupg26, gnupg, Bug Report
ikloecker removed a project from T7620: gpgme_get_key fails to detect secret encryption subkey after key generation on card (until context is recreated): gpgme.

There is no bug in the contexts and there's nothing to document anywhere. If anything then it's a bug in gpg's generate command or a more general issue (in gpg-agent) with keeping track of the storage location of private keys as I have already explained in T7620#200613. I'm removing the gpgme tag because there's nothing wrong in gpgme and there's nothing we can do in gpgme. It needs to be addressed in gnupg.

Jun 5 2025, 2:45 PM · gnupg26, gnupg, Bug Report
Saturneric added a comment to T7620: gpgme_get_key fails to detect secret encryption subkey after key generation on card (until context is recreated).

In practice, calling gpgme_get_key() will often pick up most changes because GPGME asks the underlying GPG agent daemon, which may re-read the keyring. That gives the impression that a long-lived context automatically reflects live updates. However, as aheinecke noted, some updates can still go unnoticed in a single gpgme_ctx_t, so it isn’t a strictly frozen snapshot nor a perfectly live view—behaviors are mixed.

Jun 5 2025, 12:33 PM · gnupg26, gnupg, Bug Report
Saturneric added a comment to T7620: gpgme_get_key fails to detect secret encryption subkey after key generation on card (until context is recreated).

Maybe we should make the documentation clearer about context key reuse. But the context is specifically designed to cache information about a key, so as to avoid memory overhead. I learned early on that its best for each new operation to use a new context. A context is basically an instance of gpg or gpgsm. So you start one process, ask it for a keylist, keep the process running, start another process, modify the key database, and then ask the first process again about his worldview. Either the first process is a bit confused because it has read data and then that data changed (what happens here) or it has no idea about the change since it was efficient and only read the database once. But here in this example you should be able to reproduce this also by making any other modifications to the key, adding other subkeys, userids etc. That GPGME even notices the secret key is more of a side effect of how the programming works because the GPGME gpg process will ask the gpg-agent (so a third process).

Jun 5 2025, 12:14 PM · gnupg26, gnupg, Bug Report
gniibe added a comment to T7589: Unable to export SSH keys for ED25519 keys generate on a SmartCard.

The problem was: In scdaemon, PKSIGN with OPENPGP.3 didn't work well for Ed25519 (done by do_auth function in app-openpgp.c), when --hash=sha512 (not SHA1).

Jun 5 2025, 2:52 AM · gnupg, ssh, Bug Report

Jun 4 2025

gniibe changed the status of T7589: Unable to export SSH keys for ED25519 keys generate on a SmartCard from Open to Testing.

I located the bug in scdaemon.

Jun 4 2025, 6:58 AM · gnupg, ssh, Bug Report

Jun 3 2025

gniibe changed the status of T7668: gnupg: regexp and build with -fsanitize=address from Open to Testing.

Pushed the change: rG16ee68259d1d: gpg,regexp: Use -DREGEXP_PREFIX=gnupg_.

Jun 3 2025, 4:42 AM · Bug Report, gnupg

Jun 2 2025

werner updated the task description for T7586: Release GnuPG 2.5.6.
Jun 2 2025, 6:09 PM · gnupg, Release Info
werner closed T7586: Release GnuPG 2.5.6 as Resolved.
Jun 2 2025, 6:08 PM · gnupg, Release Info
werner updated the task description for T7671: Release GnuPG 2.5.7.
Jun 2 2025, 6:08 PM · Release Info, gnupg
werner updated the task description for T7671: Release GnuPG 2.5.7.
Jun 2 2025, 5:57 PM · Release Info, gnupg
werner triaged T7672: Release GnuPG 2.5.8 as Normal priority.
Jun 2 2025, 5:50 PM · Release Info, gnupg
werner triaged T7671: Release GnuPG 2.5.7 as Normal priority.
Jun 2 2025, 3:09 PM · Release Info, gnupg
gniibe added a project to T7664: tests/openpgp/ecc.scm fails when building GPG with address sanitizer: gnupg.
Jun 2 2025, 6:39 AM · gnupg, Bug Report
gniibe claimed T7589: Unable to export SSH keys for ED25519 keys generate on a SmartCard.
Jun 2 2025, 6:38 AM · gnupg, ssh, Bug Report

May 31 2025

ametzler1 created T7670: updated nl.po for gnupg 2.4.
May 31 2025, 3:29 PM · i18n, gnupg, Bug Report

May 28 2025

aheinecke added a comment to T7620: gpgme_get_key fails to detect secret encryption subkey after key generation on card (until context is recreated).

I do not think that this is the only place where such an issue occurs. Maybe we should make the documentation clearer about context key reuse. But the context is specifically designed to cache information about a key, so as to avoid memory overhead. I learned early on that its best for each new operation to use a new context. A context is basically an instance of gpg or gpgsm. So you start one process, ask it for a keylist, keep the process running, start another process, modify the key database, and then ask the first process again about his worldview. Either the first process is a bit confused because it has read data and then that data changed (what happens here) or it has no idea about the change since it was efficient and only read the database once. But here in this example you should be able to reproduce this also by making any other modifications to the key, adding other subkeys, userids etc. That GPGME even notices the secret key is more of a side effect of how the programming works because the GPGME gpg process will ask the gpg-agent (so a third process).

May 28 2025, 9:19 PM · gnupg26, gnupg, Bug Report
aheinecke added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

The more I think of this, the more likely this appears to me as the source for all that random startup weirdness of GnuPG. Say you are on a large keyring and on a train, then that keyring is first passed through your enterprise malware protection for scanning or something like that. Then it works again until some metric, hash or something else changes.

May 28 2025, 8:37 PM · gnupg, kleopatra
aheinecke added a comment to T7434: Kleopatra: Initial keylisting hangs for ~60 seconds (gpg-agent: Socket ...S.gpg-agent cannot be bound).

My recommendation would at this point be to use procmon with a file filter for just "If path contains gnupg then include" I mean maybe go only for the locking dirs but this way you will not only see what the GnuPG processes are doing but what everyone on the system is doing to the locks. So you will see when my old friends, third party security software might interfere.
For example: You will see on a default Windows which files are checked through telemetry. And here in this example you see directly that the Microsoft Malware Protection Engine is accessing the agents socket.

May 28 2025, 8:16 PM · gnupg, kleopatra

May 23 2025

werner closed T7428: Release GnuPG 2.4.8 as Resolved.
May 23 2025, 11:58 AM · gnupg, Release Info

May 19 2025

chengr28 added a comment to T7577: GnuPG could not work when TCP congestion provider is set to BBR2 in Windows.

Spent some time discovering and unfortunately it's Windows's bug in loopback interface.
I wrote a test demo (blocking mode) to exchange data and watched their packets, found that network stack would drop packets when congestion control algorithm is set to BBR2. It seems the second data exchange was broken.

May 19 2025, 3:20 PM · Support, Not A Bug, gnupg, Bug Report

May 16 2025

dkg added a comment to T5993: gpg should reject compressed packets outside of messages.

For example Poppler uses GnuPG comment packets to lower its own attack surface by leaving all OpenPGP handling to gpg. The patch (or at least the version we noticed in Fedora and Debian) entirely breaks this use.

May 16 2025, 4:12 PM · Feature Request, gnupg
werner closed T5993: gpg should reject compressed packets outside of messages as Resolved.
May 16 2025, 2:46 PM · Feature Request, gnupg
werner added a comment to T5993: gpg should reject compressed packets outside of messages.

(The commits had a wrong bug it in their message)

May 16 2025, 2:44 PM · Feature Request, gnupg
werner added a comment to T5993: gpg should reject compressed packets outside of messages.

It might be useful to have samples of compressed keys:

May 16 2025, 2:20 PM · Feature Request, gnupg
werner updated subscribers of T5993: gpg should reject compressed packets outside of messages.

No, we can't do much about this. It has always been easy to create compression bombs and the more relevant thing here is compressed signed or encrypted data. Or just compressed mails. The patch by @DemiMarie is way to complicated for what it wants to achieve and actually breaks existing use cases. For example Poppler uses GnuPG comment packets to lower its own attack surface by leaving all OpenPGP handling to gpg. The patch (or at least the version we noticed in Fedora and Debian) entirely breaks this use.

May 16 2025, 12:04 PM · Feature Request, gnupg

May 14 2025

werner added a comment to T7589: Unable to export SSH keys for ED25519 keys generate on a SmartCard.

Using the primary key for ssh was not intended and thus not tested. I have not yet found the time too look closer at your report. Just one remark:

May 14 2025, 12:32 PM · gnupg, ssh, Bug Report
werner added a project to T7589: Unable to export SSH keys for ED25519 keys generate on a SmartCard: gnupg.
May 14 2025, 12:07 PM · gnupg, ssh, Bug Report

May 13 2025

werner closed T7171: Allow for empty Subject in X.509 as Resolved.
May 13 2025, 3:21 PM · libksba, Bug Report, gnupg, S/MIME
werner closed T6941: gpgsm/dirmngr: support for end-entity certificates with an empty "Subject DN", a subtask of T7171: Allow for empty Subject in X.509, as Resolved.
May 13 2025, 3:00 PM · libksba, Bug Report, gnupg, S/MIME
werner added a subtask for T7171: Allow for empty Subject in X.509: T6941: gpgsm/dirmngr: support for end-entity certificates with an empty "Subject DN".
May 13 2025, 2:58 PM · libksba, Bug Report, gnupg, S/MIME

May 9 2025

werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2025q2/000492.html on T7586: Release GnuPG 2.5.6.
May 9 2025, 5:02 PM · gnupg, Release Info

May 8 2025

ikloecker added a comment to T7620: gpgme_get_key fails to detect secret encryption subkey after key generation on card (until context is recreated).

I think it would be much better if GnuPG automatically performed a key listing immediately after key generation when a smartcard is involved. This would allow GnuPG to detect the presence of the subkey on the card right away, rather than leaving it marked as a stub until the user manually lists keys.

May 8 2025, 9:14 PM · gnupg26, gnupg, Bug Report
Saturneric added a comment to T7620: gpgme_get_key fails to detect secret encryption subkey after key generation on card (until context is recreated).

I see that you generated the secret encryption subkey with backup. This means that the secret subkey is generated on your computer, then copied to the card, and then deleted from your computer. The deletion is the reason why the subkey is marked as stub. Only after listing the keys on the card gpg notices that the secret key is actually on the card.

May 8 2025, 6:37 PM · gnupg26, gnupg, Bug Report