Page MenuHome GnuPG
Feed Advanced Search

Jun 3 2021

werner committed rC1ceac721abb5: cipher: Extend convenience OID mapping table for AES. (authored by werner).
cipher: Extend convenience OID mapping table for AES.
Jun 3 2021, 7:08 PM
werner committed rC15e9f82fb4b2: Silence compiler warning. (authored by werner).
Silence compiler warning.
Jun 3 2021, 7:08 PM
werner committed rC2fd203e198c5: Minor tweak to gcry_free. (authored by werner).
Minor tweak to gcry_free.
Jun 3 2021, 7:08 PM
werner committed rC3283a2958bbe: hwf-arm: fix incorrect HWCAP2 for SHA1 and SHA2 on AArch32 (authored by jukivili).
hwf-arm: fix incorrect HWCAP2 for SHA1 and SHA2 on AArch32
Jun 3 2021, 7:08 PM
werner committed rCd3d4803ca1b1: Release 1.8.8 (authored by werner).
Release 1.8.8
Jun 3 2021, 7:08 PM
werner committed rC522e3eec5dba: Post release updates (authored by werner).
Post release updates
Jun 3 2021, 7:08 PM

Jun 2 2021

werner added a comment to T3972: 100% CPU usage endles loop of gpg --list-keys.

It is a different trust model. The man page has some information but we meanwhile doubt that it will ever be of great use. It is over designed to be actually useful. Just don't care. For further questions, please use the mailing lists.

Jun 2 2021, 7:18 PM · gnupg (gpg22)
werner committed rGc17dac5ac3cc: common: Allow for GCM decryption in de-vs mode. (authored by werner).
common: Allow for GCM decryption in de-vs mode.
Jun 2 2021, 7:15 PM
werner committed rGb722fd755c77: sm: Support AES-GCM decryption. (authored by werner).
sm: Support AES-GCM decryption.
Jun 2 2021, 7:12 PM
werner added a comment to T3972: 100% CPU usage endles loop of gpg --list-keys.

TOFU is not used by default and thus the tofu.db does only matter if you have enabled TOFU. Its purpose is to track the use of keys and it also stored information which you explictly gave in response to TOFU related questions.

Jun 2 2021, 5:46 PM · gnupg (gpg22)
werner removed a project from T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG.: OpenPGP.

Right. However, the SOS thing should then also be used for secret keys. (FWIW, I wrote my last comment while you were writing yours).

Jun 2 2021, 5:14 PM · Support, gnupg, OpenPGP
werner updated subscribers of T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG..

We invented the 0x40 compression flag to declare that as native curve point format. With the introduction of 448 things got more complicated due to the new IETF statdards for this curev. This is the reason for @gniibe's proposal for a Simple Octet String (SOS) as a new data type in OpenPGP.

Jun 2 2021, 5:06 PM · Support, gnupg, OpenPGP
werner triaged T5463: gpgconf: Options that gpgconf won't change should be flagged as read-only as Normal priority.

There is also the issue that options flagged as ignore or forced in the global config file won't have an effect either. But indeed we could mark them as non-change.

Jun 2 2021, 5:00 PM · gnupg24, gnupg (gpg23), Feature Request
werner updated the task description for T5466: Release Libgcrypt 1.8.8.
Jun 2 2021, 4:41 PM · libgcrypt, Release Info
werner committed rDdb46d178c38a: swdb: Libgcrypt 1.8.8 (authored by werner).
swdb: Libgcrypt 1.8.8
Jun 2 2021, 3:28 PM
werner placed T5424: GnuPG w32: Expand environment variables when reading registry paths up for grabs.

Well, we have always expanded envvars in registry values. You need to create the value as an REG_EXPAND_SZ type, though.

Jun 2 2021, 3:04 PM · gnupg (gpg22), Restricted Project
werner closed T5466: Release Libgcrypt 1.8.8 as Resolved.
Jun 2 2021, 2:40 PM · libgcrypt, Release Info
werner triaged T5467: Release libgcrypt 1.8.9 as Low priority.
Jun 2 2021, 2:24 PM · libgcrypt, Release Info
werner updated the task description for T5113: Release Libgcrypt 1.8.7.
Jun 2 2021, 1:01 PM · Release Info, libgcrypt
werner triaged T5466: Release Libgcrypt 1.8.8 as Normal priority.
Jun 2 2021, 1:01 PM · libgcrypt, Release Info
werner closed T5423: libgcrypt 1.8 ECDH as Resolved.
Jun 2 2021, 12:57 PM · Debian, libgcrypt
werner moved T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L" from For 1.9 to Backlog on the libgcrypt board.
Jun 2 2021, 12:57 PM · MacOS, libgcrypt, Bug Report
werner moved T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L" from For 1.8 to For 1.9 on the libgcrypt board.
Jun 2 2021, 12:56 PM · MacOS, libgcrypt, Bug Report
werner moved T5440: _DARWIN_C_SOURCE kind of "must" be 1, not "900000L" from Backlog to For 1.8 on the libgcrypt board.
Jun 2 2021, 12:56 PM · MacOS, libgcrypt, Bug Report
werner closed T5195: Incorrect HWCAP2 check for AArch32 as Resolved.

Fixed for 1.8.8

Jun 2 2021, 12:56 PM · libgcrypt, backport, Bug Report
werner committed rC585f153e1f74: cipher: Extend convenience OID mapping table for AES. (authored by werner).
cipher: Extend convenience OID mapping table for AES.
Jun 2 2021, 11:21 AM
werner committed rCb6de4080a973: Minor tweak to gcry_free. (authored by werner).
Minor tweak to gcry_free.
Jun 2 2021, 11:21 AM
werner committed rG4980fb3c6dde: sm: Support AES-GCM decryption. (authored by werner).
sm: Support AES-GCM decryption.
Jun 2 2021, 11:12 AM
werner edited projects for T5424: GnuPG w32: Expand environment variables when reading registry paths, added: gnupg (gpg22); removed gnupg.
Jun 2 2021, 11:08 AM · gnupg (gpg22), Restricted Project
werner closed T3714: Failing to decrypt due to missing MDC as Resolved.
Jun 2 2021, 11:05 AM · FAQ, kleopatra
werner committed rK81fdcd680c12: Support Authenticated-Enveloped-Data Content Type. (authored by werner).
Support Authenticated-Enveloped-Data Content Type.
Jun 2 2021, 10:59 AM
werner reopened T5462: gpgconf: Make gpg/keyserver option available again, a subtask of T5461: Kleopatra: Does not change OpenPGP keyserver configured in gpg.conf, as Open.
Jun 2 2021, 7:59 AM · Restricted Project, kleopatra, Bug Report
werner reopened T5462: gpgconf: Make gpg/keyserver option available again as "Open".
Jun 2 2021, 7:59 AM · gnupg (gpg23), Restricted Project
werner closed T5462: gpgconf: Make gpg/keyserver option available again, a subtask of T5461: Kleopatra: Does not change OpenPGP keyserver configured in gpg.conf, as Resolved.
Jun 2 2021, 7:59 AM · Restricted Project, kleopatra, Bug Report
werner closed T5462: gpgconf: Make gpg/keyserver option available again as Resolved.

Because an existing setting in gpg.conf overrides the keyserver set in dirmngr.conf

Jun 2 2021, 7:59 AM · gnupg (gpg23), Restricted Project

Jun 1 2021

werner triaged T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG. as High priority.
Jun 1 2021, 3:46 PM · Support, gnupg, OpenPGP
werner committed rGa8209b001cda: tests: Rename subdir gpgsm to cms and move sample dirs. (authored by werner).
tests: Rename subdir gpgsm to cms and move sample dirs.
Jun 1 2021, 9:12 AM
werner added a project to T5460: Migration for ABI change (newer mingw): gpg4win.

We use libgcc_s_sjlj-1.dll only for for gpg4win's C++ code which is gpgme's c++ binding and the Qt stuff.

Jun 1 2021, 8:48 AM · gpg4win, Windows
werner reopened T5369: GnuPG build on Apple with Clang as "Open".

I don't think that it is a good idea to silence this warning. The pragma is esssential for proper random numbers and if clang hijacks a GCC's name space but implements something different it is better to have a warning than to fall into the pit full of dragons.

Jun 1 2021, 8:40 AM · libgcrypt, MacOS, Bug Report

May 31 2021

werner added a comment to T5404: Kleopatra: OpenPGP LDAP keyserver configuration impossible for at least 2.3.

Now, it is still time to change the name of the new option "--ldapserver". "--x509server" maybe?

May 31 2021, 2:56 PM · kleopatra, Restricted Project
werner added a comment to T5454: Failed to sign with subkey with a signature function using gpgme_op_keysign.

Take care: It is not clear whether you may use a [C} subkey for certification. GnuPG currently accepts this but the RFC can also be read as primary keys needs to to do the certification.

May 31 2021, 2:54 PM · FAQ, Support, gpgme

May 28 2021

werner committed rGc8f0b02936c7: gpgconf: Make runtime changes with different homedir work. (authored by werner).
gpgconf: Make runtime changes with different homedir work.
May 28 2021, 7:50 PM
werner committed rG31c0aa2ff37f: gpgconf: Make runtime changes with different homedir work. (authored by werner).
gpgconf: Make runtime changes with different homedir work.
May 28 2021, 7:49 PM
werner edited projects for T5454: Failed to sign with subkey with a signature function using gpgme_op_keysign, added: Support, FAQ; removed Bug Report.

Yes, you need the secret part of the primary key. gpgme has this info but it is easy to miss. Even our gpgme/tests/run-keylist.c debug tool did not show it directly. I modified it to make this more clear, see the latest gpgme commit. Here is an example for my key:

$ ./run-keylist --verbose --with-secret  63113AE866587D0A
keyid   : 63113AE866587D0A
caps    : esc
flags   : secret
upd     : 0 (0)
fpr    0: AEA84EDCF01AD86C4701C85C63113AE866587D0A
grip   0: CE5C1F1B8C96F1A078A2D1932EEE738A854ED976
curve  0: ed25519
caps   0: sc
flags  0:
fpr    1: E05BA20ED4F17768613B03C53CD7B3A055039224
grip   1: 7A1E3130C9CBDBF203A0AD8E186D9C511D5019FF
curve  1: cv25519
caps   1: e
flags  1: secret
fpr    2: 8777461F2A074EBC480D359419CC1C9E085B107A
grip   2: FF35C6E765F440145095750DC97D43D496C5ABEA
curve  2: ed25519
caps   2: s
flags  2: secret
May 28 2021, 7:32 PM · FAQ, Support, gpgme
werner committed rM31eb45f01620: tests: Improve the output of the run-keylist helper. (authored by werner).
tests: Improve the output of the run-keylist helper.
May 28 2021, 7:28 PM
werner committed rG1ca4df446f4e: doc: Add notes on how to enable TLS in openldap. (authored by werner).
doc: Add notes on how to enable TLS in openldap.
May 28 2021, 5:48 PM
werner added a project to T5454: Failed to sign with subkey with a signature function using gpgme_op_keysign: gpgme.
May 28 2021, 4:36 PM · FAQ, Support, gpgme
werner committed rG7c4b0eda7462: doc: Update description of LDAP keyservers (authored by werner).
doc: Update description of LDAP keyservers
May 28 2021, 3:51 PM
werner committed rG8de9d54ac83f: dirmngr: Fix default port for our redefinition of ldaps. (authored by werner).
dirmngr: Fix default port for our redefinition of ldaps.
May 28 2021, 3:23 PM
werner added a comment to T5454: Failed to sign with subkey with a signature function using gpgme_op_keysign.

By " without a master key" do you mean a keypair where the private key for the primary key is missing?

May 28 2021, 8:59 AM · FAQ, Support, gpgme

May 27 2021

werner added a comment to T5452: Kleopatra: Provide an option to test the LDAP keyserver connection.

Just search for something.

May 27 2021, 7:34 PM · kleopatra
werner committed rWccdffb6f8ab6: Update copyright list (authored by werner).
Update copyright list
May 27 2021, 11:20 AM
werner triaged T5453: gpgme docs unclear about gpgme_user_id_t.email and gpgme_user_id_t.address as Wishlist priority.
May 27 2021, 7:53 AM · Documentation, gpgme, Bug Report

May 26 2021

werner committed rG317d5947b84a: dirmngr: Use --ldaptimeout for OpenPGP LDAP keyservers. (authored by werner).
dirmngr: Use --ldaptimeout for OpenPGP LDAP keyservers.
May 26 2021, 7:07 PM
werner added a comment to T5452: Kleopatra: Provide an option to test the LDAP keyserver connection.

You can easily do this with gpg-connect-agent

May 26 2021, 6:24 PM · kleopatra
werner added inline comments to rGff17aee5d10c: dirmngr: New option --ldapserver.
May 26 2021, 6:07 PM
werner closed T5450: gpgsm --with-colons --list-keys misreports uid: lines where cert subject DN contains an emailAddress component as Resolved.

We translate only those OIDs from RFC-2253 to have a stable set of names in the libksba interface. If you need anything else, you need to do this yourself. For example gpgsm does this in in parse_dn_part, gpa has the code in format-dn.

May 26 2021, 6:00 PM · libksba, S/MIME, Bug Report
werner added projects to T5451: disable-ccid breaks gpg-agent caching on MacOS (gpg 2.3.1): MacOS, gnupg (gpg23), scd.
May 26 2021, 5:48 PM · scd, gnupg (gpg23), MacOS, Bug Report
werner added a comment to T5404: Kleopatra: OpenPGP LDAP keyserver configuration impossible for at least 2.3.

I implemented the new format in 2.2 but we need to discuss how to handle this in gpgconf.

May 26 2021, 4:50 PM · kleopatra, Restricted Project
werner committed rG72124fadafde: dirmngr: Support pseudo URI scheme "opaque". (authored by werner).
dirmngr: Support pseudo URI scheme "opaque".
May 26 2021, 4:22 PM
werner committed rG2b4cddf9086f: dirmngr: Allow for non-URL specified ldap keyservers. (authored by werner).
dirmngr: Allow for non-URL specified ldap keyservers.
May 26 2021, 4:22 PM
werner committed rG9f586700ec4c: gpg,sm: Simplify keyserver spec parsing. (authored by werner).
gpg,sm: Simplify keyserver spec parsing.
May 26 2021, 4:22 PM
werner committed rGff17aee5d10c: dirmngr: New option --ldapserver (authored by werner).
dirmngr: New option --ldapserver
May 26 2021, 4:22 PM

May 25 2021

werner committed rG30563ea29705: gpg: Partial fix for Unicode problem in output files. (authored by werner).
gpg: Partial fix for Unicode problem in output files.
May 25 2021, 1:47 PM
werner edited projects for T5449: gnupg: Do not use SHA1 by default, added: gnupg (gpg23); removed gnupg.
May 25 2021, 12:49 PM · gnupg24, gnupg (gpg23), Bug Report
werner triaged T5445: gpgsm fails to find path to valid X.509 root when cross-signed intermediate certificate is present as Normal priority.

I do not have the time to analyse this in the context of our approved versions and to compare it to the NIST test suite. We also do not yet have support for ed25519 certificates.

May 25 2021, 9:45 AM · S/MIME, Bug Report
werner triaged T5444: "gpg: key generation failed: Unknown elliptic curve" from "Key-Type: default" as Normal priority.

You should anyway use --quick-gen-key.

May 25 2021, 8:37 AM · gnupg24, gnupg (gpg23)
werner added a comment to T5446: Don't show LDAP credentials in error messages, at least not by default.

So what do you think is the threat here?

May 25 2021, 8:34 AM · dirmngr, gnupg

May 23 2021

werner closed T5448: GPG_ERR_EOF didn't return by gpgme_op_keylist_next after the last key in the list had already been returned as Resolved.
May 23 2021, 9:32 PM · Support, gpgme
werner added a comment to T5448: GPG_ERR_EOF didn't return by gpgme_op_keylist_next after the last key in the list had already been returned.

The error codes we use are a combination of code and location.

May 23 2021, 10:54 AM · Support, gpgme

May 21 2021

werner triaged T5446: Don't show LDAP credentials in error messages, at least not by default as Low priority.

I give this a low priority because all those infos are easily retrievable from config files.

May 21 2021, 11:46 AM · dirmngr, gnupg
werner triaged T5447: Add feature to delete a key from an LDAP server as Normal priority.
May 21 2021, 11:44 AM · vsd33, Restricted Project, gnupg24, LDAP
werner committed rG260bbb4ab27e: common: Annotate leaked memory in homedir.c (authored by werner).
common: Annotate leaked memory in homedir.c
May 21 2021, 9:24 AM

May 20 2021

werner committed rG52bbdc731fd5: sm: Let --dump-cert --show-cert also print an OpenPGP fingerprint. (authored by werner).
sm: Let --dump-cert --show-cert also print an OpenPGP fingerprint.
May 20 2021, 7:11 PM
werner added a comment to T5393: gnupg coverity static analysis reports.

The first two patch sets are now applied with the exception of
the gpgsplit fix; I did not applied that patch to add a free() in case of write errors.

May 20 2021, 5:37 PM · gnupg (gpg23), Bug Report
werner committed rG98c52aeb31f4: card: Intialize pointer to avoid double free (authored by Jakuje).
card: Intialize pointer to avoid double free
May 20 2021, 3:20 PM
werner committed rG27e7bde12ee2: scd: avoid memory leaks (authored by Jakuje).
scd: avoid memory leaks
May 20 2021, 3:20 PM
werner committed rGfa0771f609b5: g10: Avoid memory leaks (authored by Jakuje).
g10: Avoid memory leaks
May 20 2021, 3:20 PM
werner committed rGfc5fac83b778: kbx: Avoid uninitialized read (authored by Jakuje).
kbx: Avoid uninitialized read
May 20 2021, 3:20 PM
werner committed rG4704d1ce4e1e: common: Avoid double-free (authored by Jakuje).
common: Avoid double-free
May 20 2021, 3:20 PM
werner committed rG25aa353bf833: dirmgr: Avoid double free (authored by Jakuje).
dirmgr: Avoid double free
May 20 2021, 3:20 PM
werner committed rG33a2362e566c: agent: Fix memory leaks (authored by Jakuje).
agent: Fix memory leaks
May 20 2021, 3:20 PM
werner committed rGe6132bc9f417: sm: Avoid memory leaks and double double-free (authored by Jakuje).
sm: Avoid memory leaks and double double-free
May 20 2021, 3:20 PM
werner committed rG0d2c1e9046fa: dirmgr: clean up memory on error code paths (authored by Jakuje).
dirmgr: clean up memory on error code paths
May 20 2021, 3:20 PM
werner committed rG2af7bb2295cd: g10: Fix memory leaks (authored by Jakuje).
g10: Fix memory leaks
May 20 2021, 3:20 PM
werner committed rG678e1b20d353: scd: avoid memory leaks (authored by Jakuje).
scd: avoid memory leaks
May 20 2021, 3:20 PM
werner committed rGa95ddffdcd58: agent: Avoid memory leaks in error code paths. (authored by Jakuje).
agent: Avoid memory leaks in error code paths.
May 20 2021, 3:20 PM
werner committed rG4dc4b025d6dd: common: Avoid double-free (authored by Jakuje).
common: Avoid double-free
May 20 2021, 3:20 PM
werner committed rGb677e2ec989c: Assorted memory leak fixes on the error code paths. (authored by werner).
Assorted memory leak fixes on the error code paths.
May 20 2021, 3:20 PM
werner committed rE448bf7b01cad: core: Make gpgrt_free robust against legacy free implementations. (authored by werner).
core: Make gpgrt_free robust against legacy free implementations.
May 20 2021, 12:31 PM
werner added a comment to T5393: gnupg coverity static analysis reports.

Please note that *_error-from_syserror accesses system's errno which may be cleared by xfree.

May 20 2021, 9:09 AM · gnupg (gpg23), Bug Report
werner committed rG9d63ba272166: po: Updated the Russian translation (authored by werner).
po: Updated the Russian translation
May 20 2021, 8:15 AM

May 19 2021

werner added a comment to T5441: Kleopatra: LDAP Search only shows one key.

Having a fallback in Kleopatra makes sense because very old HKP keyservers don't return the fingerprint and LDAP keyservers not using the modernized schema do neither.

May 19 2021, 9:31 PM · Restricted Project, LDAP, kleopatra
werner added a comment to T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.

Please read also the report T5442 which is basically the same.

May 19 2021, 9:25 PM · MacOS, yubikey, Bug Report
werner added a comment to T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1).

Thanks for the well written report. We had another already, and thus I merged it into T5415.

May 19 2021, 9:24 PM · gnupg (gpg23), yubikey
werner merged T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1) into T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.
May 19 2021, 9:23 PM · MacOS, yubikey, Bug Report
werner merged task T5442: Serial number detection of Yubikey 5 (Yubikey 5 doesn't work after updating to GnuPG 2.3.1) into T5415: YubiKey no longer recognized in GnuPG 2.3.1 on macOS 10.15.7.
May 19 2021, 9:23 PM · gnupg (gpg23), yubikey
werner committed rG17b7048732e2: po: Update Russian translation. (authored by Ineiev <ineiev@gnu.org>).
po: Update Russian translation.
May 19 2021, 7:57 PM
werner committed rGf0e538619d50: dirmngr: For KS_SEARCH return the fingerprint also with LDAP. (authored by werner).
dirmngr: For KS_SEARCH return the fingerprint also with LDAP.
May 19 2021, 6:21 PM
werner committed rGa660e1060630: dirmngr: For KS_SEARCH return the fingerprint also with LDAP. (authored by werner).
dirmngr: For KS_SEARCH return the fingerprint also with LDAP.
May 19 2021, 6:18 PM