Page MenuHome GnuPG
Feed Advanced Search

Jan 9 2024

werner committed rG64006729047f: gpgconf: Adjust -X command for the new VERSION file format (authored by werner).
gpgconf: Adjust -X command for the new VERSION file format
Jan 9 2024, 12:52 PM
werner added a comment to T6918: gpgconf parsing of VERSION file broken.

This is due to the changed format of the VERSION file.

Jan 9 2024, 12:50 PM · gnupg22 (gnupg-2.2.43), gnupg24, Bug Report
werner committed rGcc9568cd59b2: common,w32: Remove duplicated backslashes when setting the homedir. (authored by werner).
common,w32: Remove duplicated backslashes when setting the homedir.
Jan 9 2024, 10:23 AM
werner committed rG45f635788145: common,w32: Remove duplicated backslashes when setting the homedir. (authored by werner).
common,w32: Remove duplicated backslashes when setting the homedir.
Jan 9 2024, 10:23 AM
werner moved T6833: Kleopatra: Multiple dirmngr started when searching for keys from Restricted Project Column to Restricted Project Column on the Restricted Project board.

I applied a fix to gnupg which also solves the issue.

Jan 9 2024, 10:14 AM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
werner added a comment to T6833: Kleopatra: Multiple dirmngr started when searching for keys.

We did this on purpose once - For Windows ppl it is just weird to see forward slashes.

Jan 9 2024, 8:49 AM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra

Jan 8 2024

werner added a comment to T6833: Kleopatra: Multiple dirmngr started when searching for keys.

Double backslash quoting is the culprit. For WKD requests the GPGMe QT code makes sure that the dirmngr has been started. This is done by running gpgconf --homedir FOO --launch dirmngr. gpgconf returns the homedir with backslashes on Windows to be be nice to ppl who wonder when they notice (legal) forward slashes on Windowns. Now when the spawn function along with its helper is called, it needs to quote the backslashes. But somewhere on the way back one de-quoting is missing and thus gpg sees double backslashes. That is in general not a problem but when checking whether this is the standard home directory, this does not match and gpg puts the socket into a subdirectory. In turn another dirmngr is started for the WKD purpose.

Jan 8 2024, 5:11 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
werner moved T6443: ntbtls-0.3.1 does not configure against libgpg-error-1.47 from Backlog to WIP on the ntbtls board.
Jan 8 2024, 2:06 PM · ntbtls
werner moved T6059: ntbtls: use of shorter hash for ECC from Backlog to WIP on the ntbtls board.
Jan 8 2024, 2:04 PM · Feature Request, Restricted Project, ntbtls
werner moved T6925: Release ntbtls 0.3.2 from Backlog to WIP on the ntbtls board.
Jan 8 2024, 2:04 PM · ntbtls, Release Info
werner triaged T6925: Release ntbtls 0.3.2 as Normal priority.
Jan 8 2024, 2:04 PM · ntbtls, Release Info
werner edited projects for T6059: ntbtls: use of shorter hash for ECC, added: Feature Request; removed vsd32.

Yeah we should do an ntbtls release. As a core library it does no matter much which workboard we use. Let's remove it the vsd tag.

Jan 8 2024, 2:01 PM · Feature Request, Restricted Project, ntbtls
werner moved T6833: Kleopatra: Multiple dirmngr started when searching for keys from QA to vsd-3.2.0 on the vsd32 board.
Jan 8 2024, 1:31 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
werner closed T6833: Kleopatra: Multiple dirmngr started when searching for keys as Resolved.

It does not matter how many gpgsm instances try to start a daemon. The same code is used for starting and this code first takes a lock. When using gpgconf --launch the same code is used too (indirect by calling gpg-connect-agent NOP /bye wityh options for the respective daemon).

Jan 8 2024, 1:31 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
werner claimed T6833: Kleopatra: Multiple dirmngr started when searching for keys.
Jan 8 2024, 12:21 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra

Jan 5 2024

werner triaged T6918: gpgconf parsing of VERSION file broken as Low priority.
Jan 5 2024, 2:31 PM · gnupg22 (gnupg-2.2.43), gnupg24, Bug Report
werner moved T6052: gnupg2 tpm2d tests do not work from Backlog to QA on the gnupg24 board.
Jan 5 2024, 12:06 PM · gnupg24 (gnupg-2.4.4), Tests, TPM, Bug Report
werner moved T6379: Kleopatra: Brainpool key can not be moved to smart card from Backlog to QA on the gnupg24 board.
Jan 5 2024, 12:06 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
werner moved T6902: gpgconf: the questionable value 256 for flags in gpgrt_opt_t from Backlog to QA on the gnupg24 board.
Jan 5 2024, 12:06 PM · gnupg22 (gnupg-2.2.43), gnupg24 (gnupg-2.4.4)
werner moved T6811: gpgv: Read-only trustedkeys.kbx should not be compressed from Backlog to QA on the gnupg24 board.
Jan 5 2024, 12:06 PM · gnupg24 (gnupg-2.4.5), gpgv, Bug Report
werner moved T2069: Passphrase prompts for each subkey, but not clear which dialog belongs to which subkey from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:05 PM · gnupg24, Bug Report
werner moved T6365: Help text translation is not applied from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:05 PM · MacOS, i18n, Bug Report, gnupg24
werner moved T6322: The warning "lower 3 bits of the secret key are not cleared" keeps showing even cv25519 key was generated by GnuPG from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:05 PM · gnupg24, Bug Report
werner moved T6313: 2.4.0 does not support in-source-tree builds from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:05 PM · gnupg24, workaround, Bug Report
werner moved T6309: Typo fixes ("outpust" et al) from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:05 PM · gnupg24, gnupg (gpg23), Bug Report
werner moved T6255: --list-keys output truncated and loops repeatedly from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:05 PM · gnupg24, Windows, gnupg (gpg23), can't replicate, Bug Report
werner moved T5897: Fix MinGW compilation error with 'struct _stat32' in common/sysutils.c from gnupg-2.3.4 from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:05 PM · gnupg24, toolchain, Feature Request, patch
werner moved T6179: gnupg 2.3.7 broke YubiKey support: DBG: Curve with OID not supported: 2b06010401da470f01 from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:05 PM · gnupg24, scd, Bug Report
werner moved T5109: Initial socket connection to server from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:04 PM · gnupg24, gnupg (gpg23)
werner moved T4823: Test Yubikey's support for ed25519 from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:04 PM · gnupg24, gnupg (gpg23), yubikey
werner moved T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:04 PM · Not A Bug, workaround, gnupg24, Windows, ssh
werner moved T3390: Showing complete OpenPGP key flags from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:04 PM · gnupg24, patch, Feature Request
werner moved T3753: Bad self-signatures and missing subkey usage flags when creating ECDSA/Ed25519 keys in batch mode from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:02 PM · gnupg24, Bug Report
werner moved T3398: fingerprint-based import screener is no defense against malice from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:02 PM · gnupg24, gnupg (gpg23), Feature Request
werner moved T6558: gpgtar: Does not stop spawned gpg process when exiting from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:02 PM · gnupg24, Restricted Project, gpgtar, Bug Report
werner added a comment to T4160: ed488 support.

I sued the done column because we have not assigned it to any milestone.

Jan 5 2024, 12:01 PM · gnupg24, gnupg (gpg23), Feature Request
werner moved T4160: ed488 support from WiP to done on the gnupg24 board.
Jan 5 2024, 12:00 PM · gnupg24, gnupg (gpg23), Feature Request
werner moved T4160: ed488 support from QA to WiP on the gnupg24 board.
Jan 5 2024, 11:59 AM · gnupg24, gnupg (gpg23), Feature Request
werner closed T4160: ed488 support, a subtask of T4417: Work needed for gnupg 2.3, as Resolved.
Jan 5 2024, 11:58 AM · gnupg (gpg23)
werner closed T4160: ed488 support as Resolved.

Fixed a long time ago.

Jan 5 2024, 11:58 AM · gnupg24, gnupg (gpg23), Feature Request
werner moved T6757: gpgsm 2.4 Fails to import P12 certificate/key from Backlog to QA on the gnupg24 board.

We can't test this but assume that the fix for T6752 is sufficient here.

Jan 5 2024, 11:44 AM · gnupg24 (gnupg-2.4.4), S/MIME, Bug Report
werner changed the status of T6796: gpg does create socketdir after every operation from Open to Testing.

With rG239c1fdc28dcd0dc7aa5341be7c966da2231642a we now have a socketdir keyword for gpgconf.ctl. man gpgconf and look for that file. Will be released with 2.4.4.

Jan 5 2024, 11:39 AM · gnupg24 (gnupg-2.4.4), Feature Request
werner committed rG2cb97713e9b6: gpg: Improve error return for --quick-add-subkey and -add-adsk. (authored by werner).
gpg: Improve error return for --quick-add-subkey and -add-adsk.
Jan 5 2024, 11:34 AM
werner added a comment to T6880: GPGME (++/qt): Add support for --quick-add-adsk.

gpg 2.4 now returns ERROR status lines for failed --quick-add-subkey and --quick-add-adsk.

Jan 5 2024, 11:34 AM · vsd33 (vsd-3.3.0), gpgme, Restricted Project
werner moved T6919: Add support for smartcafe cards from Backlog to QA on the gnupg24 board.
Jan 5 2024, 11:32 AM · gnupg24 (gnupg-2.4.4), Restricted Project, Feature Request, scd

Jan 4 2024

werner committed rG3f8cb9b33949: scd: Add support for SCE 7.0 (authored by werner).
scd: Add support for SCE 7.0
Jan 4 2024, 4:31 PM
werner triaged T6919: Add support for smartcafe cards as Normal priority.
Jan 4 2024, 4:26 PM · gnupg24 (gnupg-2.4.4), Restricted Project, Feature Request, scd
werner closed T1839: Can't Encrypt with PIV-I Encryption Certificate - Unsupported Certificate as Resolved.

Note that we now have also an option instead of the workaround from 2015

Jan 4 2024, 4:18 PM · dirmngr, gnupg, S/MIME, Feature Request

Jan 2 2024

werner added a comment to T6873: v2.4 unnecessarily prompts on multi-key encryption despite 1st key being unlocked.

This seemed to be related to T6831 but here we have the case of different keys and not just different subkeys.

Jan 2 2024, 10:43 AM · Feature Request, gnupg24, Bug Report
werner committed rG4c04143d8137: gpg: Choose key from inserted card over a non-inserted card (authored by werner).
gpg: Choose key from inserted card over a non-inserted card
Jan 2 2024, 10:35 AM
werner changed the status of T6831: May chose a signing key from a not inserted card over an inserted one from Open to Testing.

I applied your patch and also fixed another possible problem.

Jan 2 2024, 10:33 AM · gnupg24 (gnupg-2.4.4), OpenPGP, patch, Bug Report
werner placed T6865: Email will be sent encrypted after draft was saved in encrypted state although encryption is disabled up for grabs.
Jan 2 2024, 9:42 AM · gpd5x, gpgol, Bug Report
werner edited projects for T6865: Email will be sent encrypted after draft was saved in encrypted state although encryption is disabled, added: gpgol; removed Too Old.
Jan 2 2024, 9:42 AM · gpd5x, gpgol, Bug Report

Dec 29 2023

werner edited projects for T6811: gpgv: Read-only trustedkeys.kbx should not be compressed, added: gnupg22; removed backport.
Dec 29 2023, 2:09 PM · gnupg24 (gnupg-2.4.5), gpgv, Bug Report

Dec 22 2023

werner added a comment to T6880: GPGME (++/qt): Add support for --quick-add-adsk.

I would use ALGO of gpgme_createsubkey to pass the fingerprint of the ADSK. This can be justified because the algorithm is an implict property of the fingerprint. Obviously we also nee a new flag to do switch to this behaviour. A new GPGME_CREATE_ADSK comes to mind.

Dec 22 2023, 2:12 PM · vsd33 (vsd-3.3.0), gpgme, Restricted Project
werner added a comment to T6907: gpgme: Explicitly tell gpg that we want to verify signed data.

I fully agree.

Dec 22 2023, 1:59 PM · gpgme, Restricted Project
werner committed rG2764ee309a2e: Merge branch 'STABLE-BRANCH-2-4' (authored by werner).
Merge branch 'STABLE-BRANCH-2-4'
Dec 22 2023, 1:47 PM
werner committed rG431239b83d98: doc: Explain why socket activation is a problem (authored by werner).
doc: Explain why socket activation is a problem
Dec 22 2023, 1:19 PM
werner committed rG239c1fdc28dc: common: Add keyword socketdir to gpgconf.ctl (authored by werner).
common: Add keyword socketdir to gpgconf.ctl
Dec 22 2023, 12:47 PM

Dec 21 2023

werner added a comment to T6873: v2.4 unnecessarily prompts on multi-key encryption despite 1st key being unlocked.
Dec 21 2023, 7:25 PM · Feature Request, gnupg24, Bug Report
werner added a comment to T6880: GPGME (++/qt): Add support for --quick-add-adsk.

Before adding code please first come up with a description of the planned API extension.

Dec 21 2023, 7:22 PM · vsd33 (vsd-3.3.0), gpgme, Restricted Project
werner requested changes to D570: core: Implement adding ADSKs.

I don't think that it is a good idea to have such a specialized API for this task. What we do here is very similar to adding a subkey and as such the APIs should be merged.

Dec 21 2023, 7:20 PM
werner closed T6899: gpg does not recognize my smartcard reader as Resolved.

May be a still running daemon from another version or a a problem during the first install.

Dec 21 2023, 7:09 PM · Support
werner triaged T6902: gpgconf: the questionable value 256 for flags in gpgrt_opt_t as Normal priority.
Dec 21 2023, 7:07 PM · gnupg22 (gnupg-2.2.43), gnupg24 (gnupg-2.4.4)
werner committed rG853f36e59631: Register DCO for Mario Haustein (authored by werner).
Register DCO for Mario Haustein
Dec 21 2023, 11:50 AM
werner added a comment to T6902: gpgconf: the questionable value 256 for flags in gpgrt_opt_t.

That was my fault in commit rG8fc9de8d6bf663f7c8419b42dab01f590a694d59 obviously I assumed that the macros were always used.

Dec 21 2023, 10:25 AM · gnupg22 (gnupg-2.2.43), gnupg24 (gnupg-2.4.4)

Dec 20 2023

werner committed rDc2cc72ff8fcd: Uploaded draft-koch-openpgp-webkey-service-17 (authored by werner).
Uploaded draft-koch-openpgp-webkey-service-17
Dec 20 2023, 5:12 PM
werner committed rD887dc9a04fa1: web: Fix link to Italian guide. (authored by werner).
web: Fix link to Italian guide.
Dec 20 2023, 5:12 PM
werner committed rDd3035aed9525: Replaced draft.org my draft.md (authored by werner).
Replaced draft.org my draft.md
Dec 20 2023, 5:12 PM
werner committed rGf2904737e559: scd:p15: Add a diagnostic for unsupported DTRUST4 features. (authored by werner).
scd:p15: Add a diagnostic for unsupported DTRUST4 features.
Dec 20 2023, 4:52 PM
werner committed rG0b85a9ac09d1: scd:p15: Add support for D-Trust Card 4.1/4.4 (authored by Mario Haustein via Gnupg-devel <gnupg-devel@gnupg.org>).
scd:p15: Add support for D-Trust Card 4.1/4.4
Dec 20 2023, 4:50 PM
werner committed rG812f9880591e: scd:p15: Add support for CardOS 5.4 (authored by Mario Haustein via Gnupg-devel <gnupg-devel@gnupg.org>).
scd:p15: Add support for CardOS 5.4
Dec 20 2023, 4:50 PM
werner committed rG5d651fc8fd47: doc: Explain what to put into mailcap for gpg-wks-client. (authored by werner).
doc: Explain what to put into mailcap for gpg-wks-client.
Dec 20 2023, 3:30 PM

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
werner added a comment to T6899: gpg does not recognize my smartcard reader.

Omnikey readers only work properly on Windows because the Windows driver uses proprietary extension to make it work. Better don't use them. In case you want to look at details, add

Dec 19 2023, 2:27 PM · Support
werner added a comment to T6900: GnuPG: Accept revocation certificates without UserID.

I see no problem to return only revocation packets. Clients must verify them anyway against their public keys and the fingerprint makes this easy. Verification against a primary key delivered along the revocation is more or less useless because that primary key must anyway been looked up in the client's keyring and th local existance of a primary key is anyway required to ask a keyserver for a revocation.

Dec 19 2023, 1:49 PM · Feature Request, gnupg
werner added a comment to T6900: GnuPG: Accept revocation certificates without UserID.

Appended. Yes, it is considered an invalid signature and ignored. Anyone can insert an invalid signature. The trick here is that during import gpg tracks those invalid signatures and then tries to apply them to other keys. The use case here is this:

Dec 19 2023, 12:56 PM · Feature Request, gnupg
werner added a comment to T6900: GnuPG: Accept revocation certificates without UserID.

Well, the quoted paragraph ended with a

Dec 19 2023, 12:46 PM · Feature Request, gnupg
werner committed rG8eff1d4c5110: common: Improve the parsing of gpgconf.ctl variables. (authored by werner).
common: Improve the parsing of gpgconf.ctl variables.
Dec 19 2023, 10:04 AM
werner closed T6900: GnuPG: Accept revocation certificates without UserID as Wontfix.

Actually the public key is personalized data as much as a mail address. In any case this is technically required and users take an informed decisions when they distribute their public key to a site not controlled by them.

Dec 19 2023, 9:24 AM · Feature Request, gnupg

Dec 18 2023

werner closed T6865: Email will be sent encrypted after draft was saved in encrypted state although encryption is disabled as Resolved.
Dec 18 2023, 6:05 PM · gpd5x, gpgol, Bug Report
werner added projects to T6865: Email will be sent encrypted after draft was saved in encrypted state although encryption is disabled: Too Old, Support.

Assuming 4.1.0 means gpg4win - this version is too old. The user should update and re-open the bug with more details if it persists.

Dec 18 2023, 6:04 PM · gpd5x, gpgol, Bug Report
werner triaged T6838: keyboxd hangs on stale locks after changing hostname as Normal priority.

I'd say we should not do anything about this. Stale lock files are a general problem but can be solved using admin tasks. We may provide a tool to cleanup things on request.

Dec 18 2023, 6:00 PM · gnupg24 (gnupg-2.4.4), Bug Report
werner added a comment to T6838: keyboxd hangs on stale locks after changing hostname.

Okay, now we have pass the warnings down to gpg and gpgsm so the problem will be easier to analyze. We also stop trying after 10 seconds. Sample error messages:

Dec 18 2023, 4:31 PM · gnupg24 (gnupg-2.4.4), Bug Report
werner committed rGbd8346f7abdd: keyboxd: Pass lock info back to gpg and gpgsm. (authored by werner).
keyboxd: Pass lock info back to gpg and gpgsm.
Dec 18 2023, 4:23 PM
werner committed rGc99282fc7838: keyboxd: Timeout on failure to get the database lock. (authored by werner).
keyboxd: Timeout on failure to get the database lock.
Dec 18 2023, 4:23 PM
werner committed rG937aeb1904eb: common: Add an info callback to dotlock. (authored by werner).
common: Add an info callback to dotlock.
Dec 18 2023, 4:23 PM
werner committed rGf57717bf2314: common: Improve error return for dotlock. (authored by werner).
common: Improve error return for dotlock.
Dec 18 2023, 4:23 PM
werner triaged T6892: libgcrypt-1.10.3 build failure on x86 with -Og as Normal priority.
Dec 18 2023, 11:42 AM · libgcrypt, Bug Report
werner created gpgol2.
Dec 18 2023, 11:40 AM

Dec 14 2023

werner added a comment to T6618: Check that code signing chain is properly included in our signatures.

I don't think that it is a good idea to include the chain. Sometimes certificates are re-issued - they are still valid but signed by another top level cert. The certificate also has the URL from where to fetch the intermediates. Let's close this.

Dec 14 2023, 2:32 PM · Bug Report, gpg4win

Dec 13 2023

werner added a comment to T6889: gpgme: QGpgMEQuickJob creates keys with wrong expiry.

FWIW, when updating the expiration time gpg does this:

Dec 13 2023, 7:19 PM · Feature Request, gpgme
werner added a comment to T6889: gpgme: QGpgMEQuickJob creates keys with wrong expiry.

That's both not correct. gpg takes the expiration time in seconds since creation time. For a new key this is close to the corrent time but not really. For an prolonging an expiration, this is of course different - the creation time of the key needs to be taken in account. I recall that we once had a discussion and agreed to keep it at time after the creation of the key. This avoids problems with the expiration going negative.

Dec 13 2023, 7:06 PM · Feature Request, gpgme
werner added projects to T6889: gpgme: QGpgMEQuickJob creates keys with wrong expiry: gpgme, Feature Request.
Dec 13 2023, 6:52 PM · Feature Request, gpgme
werner added a comment to T6889: gpgme: QGpgMEQuickJob creates keys with wrong expiry.

In gpg you may also specify the 4xpiarion date in ISO format. afaic, gpgme supports this.

Dec 13 2023, 6:52 PM · Feature Request, gpgme

Dec 12 2023

werner closed T6871: SmartCard stopped working in 2.4 as Resolved.
Dec 12 2023, 3:31 PM · gnupg, scd, Support, Documentation

Dec 11 2023

werner added a comment to T6859: S/MIME keys are not deleted.

Searching by keygrip is actually fast with keyboxd.

Dec 11 2023, 5:04 PM · gpd5x, S/MIME, kleopatra, gnupg
werner committed rE1491cf868c42: po: For German change "Passphrase" to "Passwort" (authored by werner).
po: For German change "Passphrase" to "Passwort"
Dec 11 2023, 9:59 AM
werner closed T6850: dirmngr fails `gpg --recv-key` in very non-obious way if local TOR node in SafeSocks mode is running as Wontfix.

For various reasons dirmngr requires and implements a full resolver and implements that. This way all DNS queries are passed through Tor. Thus this is a feature and not a bug. The error message could be better but we can only return what SOCKS tells us.

Dec 11 2023, 8:37 AM · gnupg, Tor, Not A Bug, dirmngr

Dec 8 2023

werner committed rC5415003b445d: Update AUTHORS (authored by werner).
Update AUTHORS
Dec 8 2023, 9:13 AM