Page MenuHome GnuPG
Feed Advanced Search

Jun 3 2021

werner committed rC60885655756d: random: Make sure to re-open /dev/random after a fork (authored by werner).
random: Make sure to re-open /dev/random after a fork
Jun 3 2021, 7:08 PM
werner committed rC99a5babfd1e7: build: Add release make target (authored by werner).
build: Add release make target
Jun 3 2021, 7:08 PM
werner committed rC5b1d022293c5: primes: Avoid leaking bits of the prime test to pageable memory. (authored by werner).
primes: Avoid leaking bits of the prime test to pageable memory.
Jun 3 2021, 7:08 PM
werner committed rC0973c3f9ee7a: random: use getrandom() on Linux where available (authored by dkg).
random: use getrandom() on Linux where available
Jun 3 2021, 7:08 PM
werner committed rCb3f4e39b2a29: Post release updates (authored by werner).
Post release updates
Jun 3 2021, 7:08 PM
werner committed rC93775172713c: Release 1.8.4 (authored by werner).
Release 1.8.4
Jun 3 2021, 7:08 PM
werner committed rC6faeca72b455: doc: Fix library initialization examples (authored by ametzler).
doc: Fix library initialization examples
Jun 3 2021, 7:08 PM
werner committed rC35e002d4b842: random: Initialize variable as requested by valgrind (authored by werner).
random: Initialize variable as requested by valgrind
Jun 3 2021, 7:08 PM
werner committed rCbc05e16bb494: doc: Minor typo fix (authored by werner).
doc: Minor typo fix
Jun 3 2021, 7:08 PM
werner committed rC56606331bc2a: Release 1.8.5 (authored by werner).
Release 1.8.5
Jun 3 2021, 7:08 PM
werner committed rC3de8991c8543: ecc: Add a keygrip testcase for cv25519. (authored by werner).
ecc: Add a keygrip testcase for cv25519.
Jun 3 2021, 7:08 PM
werner committed rC853027569ce3: Post release updates (authored by werner).
Post release updates
Jun 3 2021, 7:08 PM
werner committed rCca121256b146: Prepare NEWS for upcoming release (authored by werner).
Prepare NEWS for upcoming release
Jun 3 2021, 7:08 PM
werner committed rCffbc5702ab16: mpi: Abort on division by zero also in _gcry_mpi_tdiv_qr. (authored by werner).
mpi: Abort on division by zero also in _gcry_mpi_tdiv_qr.
Jun 3 2021, 7:08 PM
werner committed rCda8623bd6dbf: doc: Fix description of hash algorithms (authored by Sébastien Helleu <flashcode@flashtux.org>).
doc: Fix description of hash algorithms
Jun 3 2021, 7:08 PM
werner committed rC534a74401810: oops: I meant RFC-8410 (authored by werner).
oops: I meant RFC-8410
Jun 3 2021, 7:08 PM
werner committed rC9fa1f1527abf: ecc: Add OIDs from RFC-4880 as aliases for Ed25519 and Curve25519. (authored by werner).
ecc: Add OIDs from RFC-4880 as aliases for Ed25519 and Curve25519.
Jun 3 2021, 7:08 PM
werner committed rC47e8977d24e5: mpi: Fix flags in mpi_copy for opaque MPI. (authored by gniibe).
mpi: Fix flags in mpi_copy for opaque MPI.
Jun 3 2021, 7:08 PM
werner committed rCcfdc44bf08a3: Release 1.8.6 (authored by werner).
Release 1.8.6
Jun 3 2021, 7:08 PM
werner committed rC31bb4f3210df: mpi: Consider +0 and -0 the same in mpi_cmp. (authored by werner).
mpi: Consider +0 and -0 the same in mpi_cmp.
Jun 3 2021, 7:08 PM
werner committed rCc917ebb48d1b: Post release updates (authored by werner).
Post release updates
Jun 3 2021, 7:08 PM
werner committed rCd9103048d11b: mpi: Support opaque MPI with gcry_mpi_print. (authored by gniibe).
mpi: Support opaque MPI with gcry_mpi_print.
Jun 3 2021, 7:08 PM
werner committed rC9c42c068c374: build: Allow customization of the signing key (authored by werner).
build: Allow customization of the signing key
Jun 3 2021, 7:08 PM
werner committed rC01b441308838: random/jitterentropy: fix USE_JENT == JENT_USES_GETTIME code path (authored by jukivili).
random/jitterentropy: fix USE_JENT == JENT_USES_GETTIME code path
Jun 3 2021, 7:08 PM
werner committed rC6b79963f3f09: random: Allow for a Unicode random seed file on Windows. (authored by werner).
random: Allow for a Unicode random seed file on Windows.
Jun 3 2021, 7:08 PM
werner committed rCe5eb3eca3c7a: Post release updates (authored by werner).
Post release updates
Jun 3 2021, 7:08 PM
werner committed rC04c156a48b35: Release 1.8.7 (authored by werner).
Release 1.8.7
Jun 3 2021, 7:08 PM
werner committed rC1d312bc65846: ecc: Add checking key for ECDSA. (authored by gniibe).
ecc: Add checking key for ECDSA.
Jun 3 2021, 7:08 PM
werner committed rC205d841e3ae1: Fix ubsan warnings for i386 build (authored by jukivili).
Fix ubsan warnings for i386 build
Jun 3 2021, 7:08 PM
werner committed rC370e44127287: Add handling for -Og with O-flag munging (authored by jukivili).
Add handling for -Og with O-flag munging
Jun 3 2021, 7:08 PM
werner committed rCa5799f1618aa: Fix previous commit (authored by werner).
Fix previous commit
Jun 3 2021, 7:08 PM
werner committed rC3f42f727a069: Make sure the grcy_get_config string is always null-terminated. (authored by jukivili).
Make sure the grcy_get_config string is always null-terminated.
Jun 3 2021, 7:08 PM
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