Page MenuHome GnuPG
Feed Advanced Search

Mar 25 2020

werner added a comment to T4860: Release GnuPG 2.2.20 .

If you run into build problems on OpenBSD for gpg-wks-server, see T4886 for a required minor fix.

Mar 25 2020, 8:48 AM · gnupg (gpg22), Release Info

Mar 24 2020

werner closed T4885: gpg4win-3.1.11.exe installs malwares as Invalid.

No info received; either really malware downloaded from a fraudster site without proper checking on bare coincidence with other updates.

Mar 24 2020, 10:51 AM · gpg4win
werner closed T4887: GPG is throwing error while doing (encryption+sign) or Decryption as Invalid.

@sarman: Your question is actually a support question and not a bug report. Please read the documentation, use the public help channels (so that other can also learn from the issue), or get in touch with a commercial support provider.

Mar 24 2020, 10:48 AM · Not A Bug, Solaris, gnupg, Documentation

Mar 20 2020

werner committed rDceaa09f5e3d3: swdb: GnuPG 2.2.20 (authored by werner).
swdb: GnuPG 2.2.20
Mar 20 2020, 6:27 PM
werner added a comment to T4885: gpg4win-3.1.11.exe installs malwares.

From where did you downloaded it? Did it show a valid issuer for the software (Intevation GmbH)?

Mar 20 2020, 6:02 PM · gpg4win
werner closed T4536: dirmngr fails to find OCSP signer certificate when responder is identified with key ID as Resolved.
Mar 20 2020, 5:59 PM · S/MIME, gnupg (gpg22), Bug Report
werner closed T4810: A key with only "C" capability cannot be selected as default key. as Resolved.
Mar 20 2020, 5:59 PM · Restricted Project, gnupg (gpg22)
werner closed T4832: card: when KDF is enabled, use of pinpad input should be disabled as Resolved.
Mar 20 2020, 5:59 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner closed T4847: "gpgsm: invalid radix64 character 2d skipped" when trying to import a PEM file with DOS line endings (CR+LF) as Resolved.
Mar 20 2020, 5:59 PM · gnupg (gpg22), S/MIME, Bug Report
werner closed T4831: gnupg-2.2.19 fails to build on latest Fedora Rawhide as Resolved.
Mar 20 2020, 5:59 PM · gnupg (gpg22), toolchain, Bug Report
werner closed T4860: Release GnuPG 2.2.20 as Resolved.
Mar 20 2020, 5:59 PM · gnupg (gpg22), Release Info
werner closed T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed as Resolved.
Mar 20 2020, 5:59 PM · Restricted Project, gnupg (gpg22)
werner set External Link to https://lists.gnupg.org/pipermail/gnupg-announce/2020q1/000444.html on T4860: Release GnuPG 2.2.20 .
Mar 20 2020, 5:57 PM · gnupg (gpg22), Release Info
werner committed rGbc7e56d9dcf5: Post release updates (authored by werner).
Post release updates
Mar 20 2020, 5:35 PM
werner committed rGdae1e384c4ec: po: Auto-update (authored by werner).
po: Auto-update
Mar 20 2020, 5:35 PM
werner committed rG5094bb08edd4: Release 2.2.20 (authored by werner).
Release 2.2.20
Mar 20 2020, 5:35 PM
werner committed rGb27d30df62ac: Copyright notice updates et al. (authored by werner).
Copyright notice updates et al.
Mar 20 2020, 5:35 PM
werner committed rC3441f4c94c49: tests/basic: add GOST 28147 keymeshing testcase from LibreSSL testsuite (authored by lumag).
tests/basic: add GOST 28147 keymeshing testcase from LibreSSL testsuite
Mar 20 2020, 1:59 PM
werner committed rC18cd3f0c473a: gost: add keymeshing support per RFC 4357 (authored by lumag).
gost: add keymeshing support per RFC 4357
Mar 20 2020, 1:59 PM
werner committed rCdcee00adbd1c: gost28147: add support for CryptoPro key meshing per RFC 4357 (authored by lumag).
gost28147: add support for CryptoPro key meshing per RFC 4357
Mar 20 2020, 1:59 PM
werner committed rC15cba1515c56: doc: Map contributions to new surname (authored by lumag).
doc: Map contributions to new surname
Mar 20 2020, 9:09 AM
werner added a comment to T4883: gpgme X.509 certificates have unknown validity in offline mode unless `disable-crl-checks` is set.

After disabling the CRL check again in gpgsm.conf

Mar 20 2020, 8:56 AM · Not A Bug, S/MIME, gpgme

Mar 19 2020

werner added a comment to T4881: "User ID" (Subject, subjectAltName) validity is inaccurate in gpgsm with sample certs..

OCSP can't be the default because it enables a web bug. The responder immediately sees when a signature is verified or a data is encrypted to a certificate.

Mar 19 2020, 7:00 PM · Not A Bug, gnupg (gpg22), S/MIME
werner added a comment to T4883: gpgme X.509 certificates have unknown validity in offline mode unless `disable-crl-checks` is set.

That option does the same as --disable-dirmngr which in trun has the same effect as disable-crl-checks; see gnupg/sm/server.c#option_handler. If you want to check the validity of the cert you check the TRUST status lines. This is what gpgme does for you. An example is gpgme.tests/gpgsm/t-verify. You can run the tests also manually, I do this as follows:

Mar 19 2020, 6:25 PM · Not A Bug, S/MIME, gpgme
werner committed rG67556218c0d4: po: Update German translation (authored by werner).
po: Update German translation
Mar 19 2020, 2:28 PM
werner edited projects for T4881: "User ID" (Subject, subjectAltName) validity is inaccurate in gpgsm with sample certs., added: Not A Bug; removed Bug Report.
Mar 19 2020, 1:07 PM · Not A Bug, gnupg (gpg22), S/MIME
werner edited projects for T4883: gpgme X.509 certificates have unknown validity in offline mode unless `disable-crl-checks` is set, added: Not A Bug; removed Bug Report.

I can see no bug here. See my comment over at T4881.

Mar 19 2020, 1:06 PM · Not A Bug, S/MIME, gpgme
werner closed T4882: gpgconf --homedir is ignored when setting options as Resolved.

Fixed.

Mar 19 2020, 1:02 PM · gnupg (gpg22), Bug Report
werner committed rGb92860a8b9d2: gpgconf: Take care of --homedir when reading/updating options. (authored by werner).
gpgconf: Take care of --homedir when reading/updating options.
Mar 19 2020, 1:02 PM
werner committed rGc1844ca7520f: gpgconf: Take care of --homedir when reading/updating options. (authored by werner).
gpgconf: Take care of --homedir when reading/updating options.
Mar 19 2020, 12:54 PM
werner claimed T4882: gpgconf --homedir is ignored when setting options.

Arggh, this code is a whole mess (e.g. it uses its own logging code). I spent the last week to rework large parts of it for master. I am going to look into this case now.

Mar 19 2020, 12:00 PM · gnupg (gpg22), Bug Report
werner added a comment to T4881: "User ID" (Subject, subjectAltName) validity is inaccurate in gpgsm with sample certs..

If you want OCSP you need to enable it. CRLs or OCSP are a MUST under the profile we developed gpgsm. This is why --disable-crl-checks by default is not possible. There are lot of interesting things you will come across if you start to use S/MIME. For example you also need to care about the algorithms used for intermediate certificates used to sign CRLs - they need to comply to the policy as well. Or the rarely used PSS padding we encounter sometimes and which is not supported and will probably not be supported

Mar 19 2020, 11:56 AM · Not A Bug, gnupg (gpg22), S/MIME
werner closed T4573: Files encrypted on another platform using password based encryption (-c) intermittently fail to decrypt on Kleopatra as Resolved.

Okay. Thanks.

Mar 19 2020, 11:51 AM · gnupg (gpg22), Bug Report

Mar 18 2020

werner added a comment to T4881: "User ID" (Subject, subjectAltName) validity is inaccurate in gpgsm with sample certs..

Add --with-validation to check the validity of a certificate in a listing.

Mar 18 2020, 9:07 PM · Not A Bug, gnupg (gpg22), S/MIME
werner moved T4810: A key with only "C" capability cannot be selected as default key. from Backlog to For next release on the gnupg (gpg22) board.
Mar 18 2020, 4:08 PM · Restricted Project, gnupg (gpg22)
werner moved T4832: card: when KDF is enabled, use of pinpad input should be disabled from Backlog to For next release on the gnupg (gpg22) board.
Mar 18 2020, 4:06 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner committed rG133248b297a1: scd: Fix pinpad handling when KDF enabled. (authored by gniibe).
scd: Fix pinpad handling when KDF enabled.
Mar 18 2020, 4:06 PM
werner committed rGb27e20a95cb7: scd: Disable pinpad if it's impossible by KDF DO. (authored by gniibe).
scd: Disable pinpad if it's impossible by KDF DO.
Mar 18 2020, 4:06 PM
werner added a comment to T4832: card: when KDF is enabled, use of pinpad input should be disabled.

Backported to 2.2

Mar 18 2020, 4:06 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner moved T4847: "gpgsm: invalid radix64 character 2d skipped" when trying to import a PEM file with DOS line endings (CR+LF) from Backlog to For next release on the gnupg (gpg22) board.
Mar 18 2020, 3:50 PM · gnupg (gpg22), S/MIME, Bug Report
werner moved T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed from Backlog to For next release on the gnupg (gpg22) board.
Mar 18 2020, 3:50 PM · Restricted Project, gnupg (gpg22)
werner moved T4536: dirmngr fails to find OCSP signer certificate when responder is identified with key ID from Backlog to For next release on the gnupg (gpg22) board.
Mar 18 2020, 3:49 PM · S/MIME, gnupg (gpg22), Bug Report
werner moved T4831: gnupg-2.2.19 fails to build on latest Fedora Rawhide from Backlog to For next release on the gnupg (gpg22) board.
Mar 18 2020, 3:49 PM · gnupg (gpg22), toolchain, Bug Report
werner moved T4860: Release GnuPG 2.2.20 from Backlog to For next release on the gnupg (gpg22) board.
Mar 18 2020, 3:48 PM · gnupg (gpg22), Release Info
werner edited projects for T4667: "gpg: deleting secret key failed: No pinentry" when in --batch mode with --pinentry=loopback, added: gnupg (gpg23); removed gnupg (gpg22).

Okay, in 2.2 the output now looks like this:

Mar 18 2020, 3:32 PM · gnupg24, gnupg (gpg23), Bug Report
werner committed rGfbe318475236: gpg: Print a hint for --batch mode and --delete-secret-key. (authored by werner).
gpg: Print a hint for --batch mode and --delete-secret-key.
Mar 18 2020, 3:27 PM
werner claimed T4667: "gpg: deleting secret key failed: No pinentry" when in --batch mode with --pinentry=loopback.
Mar 18 2020, 3:02 PM · gnupg24, gnupg (gpg23), Bug Report
werner added a comment to T4667: "gpg: deleting secret key failed: No pinentry" when in --batch mode with --pinentry=loopback.

This is closely related to T3465 which was fixed in master. Running a gpg-agent 2.3 agent and using gpg 2.2 it works; however, using a gpg 2.3 bails out with an error message that we are in batch mode. I will look at this.

Mar 18 2020, 3:02 PM · gnupg24, gnupg (gpg23), Bug Report
werner edited projects for T4612: Add spare space to the keybox to always allow the import of revocations., added: gnupg (gpg23); removed gnupg (gpg22).

Won't happen for 2.2

Mar 18 2020, 2:23 PM · gnupg24, gnupg (gpg23), Bug Report
werner edited projects for T4605: automatically upgrade from `pubring.gpg` to `pubring.kbx`, added: gnupg (gpg23); removed gnupg (gpg22).

Given that we may move to yet another format in 2.3 I now doubt that we should add such a feature to 2.2.

Mar 18 2020, 2:22 PM · gnupg24, gnupg (gpg23), Feature Request
werner added a comment to T4573: Files encrypted on another platform using password based encryption (-c) intermittently fail to decrypt on Kleopatra.

@gniibe: I am not sure we really continued by mail - do you have any updates on the status?

Mar 18 2020, 2:19 PM · gnupg (gpg22), Bug Report
werner changed the status of T4536: dirmngr fails to find OCSP signer certificate when responder is identified with key ID from Open to Testing.

Sorry, I have not yet followed you test plan but given that we have the patch in master for a long time now I think it is okay to port it to 2.2.

Mar 18 2020, 2:15 PM · S/MIME, gnupg (gpg22), Bug Report
werner committed rG25dc0e5b1eb0: dirmngr: Improve finding OCSP cert. (authored by werner).
dirmngr: Improve finding OCSP cert.
Mar 18 2020, 2:14 PM
werner closed T4855: The trusted-key option requires a long key ID and won't take a fingerprint as Resolved.

Thanks. I applied your patch to 2.2 and master. I had to do a minor fix because the function does not return anything. Also extended on master with another patch for v5 keys.

Mar 18 2020, 2:04 PM · gnupg (gpg22), Feature Request
werner committed rGb6d89d1944c5: gpg: Update --trusted-key to accept fingerprint as well as long key id. (authored by dkg).
gpg: Update --trusted-key to accept fingerprint as well as long key id.
Mar 18 2020, 2:02 PM
werner committed rG4287f89557b3: gpg: Also allow a v5 fingerprint for --trusted-key. (authored by werner).
gpg: Also allow a v5 fingerprint for --trusted-key.
Mar 18 2020, 1:58 PM
werner committed rG810ea2cc6844: gpg: Update --trusted-key to accept fingerprint as well as long key id. (authored by dkg).
gpg: Update --trusted-key to accept fingerprint as well as long key id.
Mar 18 2020, 1:58 PM
werner added a comment to T4867: with non-existent homedir, `gpgconf --check-programs` produces surprising output..

The newlines are not percent escaped because that could lead to very long lines and thus break parsers. Another reason is that the error messages are easier to read this way. An empty first field is anyway not valid and parsers should skip that.

Mar 18 2020, 1:42 PM · gnupg (gpg22), Bug Report
werner added a comment to T4825: gpg --weak-digest SHA1 incurs a serious performance cost for `--check-trustdb`.

I tried to replicate that with my ~3000 keys on master and I don't see any difference. Did you tried it several times? It might be due to the signature verification cache.

Mar 18 2020, 1:33 PM · gnupg (gpg22), Bug Report
werner closed T4670: Key expiration time ignored for zero creation date keys as Resolved.
Mar 18 2020, 12:45 PM · patch, gnupg (gpg22), Bug Report
werner committed rGe77f332b01f1: gpg: Fix key expiration and usage for keys created at the Epoch. (authored by werner).
gpg: Fix key expiration and usage for keys created at the Epoch.
Mar 18 2020, 12:44 PM
werner committed rG161a098be6f9: gpg: Fix key expiration and usage for keys created at the Epoch. (authored by werner).
gpg: Fix key expiration and usage for keys created at the Epoch.
Mar 18 2020, 12:34 PM
werner added a comment to T4670: Key expiration time ignored for zero creation date keys.

I checked the code and your patch looks right. I am going to apply it.

Mar 18 2020, 12:18 PM · patch, gnupg (gpg22), Bug Report
werner closed T4811: --locate-key should try to fetch a key if the local copy is expired. as Invalid.

I am not able to replicate my own bug. At least since the introduction of --locate-external-keys the code paths are identical. I am nut sure why I filed this bug.

Mar 18 2020, 11:41 AM · Bug Report, gnupg (gpg22)

Mar 17 2020

werner committed rM3afa534645e3: core: New context flags "include-key-block" and "auto-key-import". (authored by werner).
core: New context flags "include-key-block" and "auto-key-import".
Mar 17 2020, 5:57 PM

Mar 16 2020

werner lowered the priority of T4879: GnuPG treats reordered OpenPGP certificates differently from High to Low.

It is easy to explain:

Mar 16 2020, 1:04 PM · gnupg24, gnupg (gpg23), OpenPGP, Bug Report

Mar 14 2020

werner added a comment to T4856: GPG: Key Exchange Put public OpenPGP key into signature.

I think that this chnage is useful enough to be backported to 2.2. Done that.

Mar 14 2020, 8:14 PM · Feature Request, gpgol, Keyserver, gnupg
werner committed rG95b42278cafe: gpg: New option --auto-key-import (authored by werner).
gpg: New option --auto-key-import
Mar 14 2020, 8:13 PM
werner committed rG2baa00ea1863: gpg: Add property "fpr" for use by --export-filter. (authored by werner).
gpg: Add property "fpr" for use by --export-filter.
Mar 14 2020, 8:13 PM
werner committed rGd79ebee64ea5: gpg: New option --include-key-block. (authored by werner).
gpg: New option --include-key-block.
Mar 14 2020, 8:13 PM
werner committed rGb42d9f540c74: gpg: Make use of the included key block in a signature. (authored by werner).
gpg: Make use of the included key block in a signature.
Mar 14 2020, 8:13 PM
werner committed rG111ba901f5cf: gpg: Add a new OpenPGP card vendor. (authored by werner).
gpg: Add a new OpenPGP card vendor.
Mar 14 2020, 8:13 PM
werner committed rG8c0323a75841: doc: Remove duplicate description of --include-key-block. (authored by werner).
doc: Remove duplicate description of --include-key-block.
Mar 14 2020, 7:34 PM
werner committed rG451cd1b39281: gpgconf: Further simplify the gpgconf option processing. (authored by werner).
gpgconf: Further simplify the gpgconf option processing.
Mar 14 2020, 7:13 PM
werner committed rG6b306f45f4fb: gpg: New option --auto-key-import (authored by werner).
gpg: New option --auto-key-import
Mar 14 2020, 6:07 PM

Mar 13 2020

werner claimed T4879: GnuPG treats reordered OpenPGP certificates differently.
Mar 13 2020, 5:33 PM · gnupg24, gnupg (gpg23), OpenPGP, Bug Report
werner changed the status of T4856: GPG: Key Exchange Put public OpenPGP key into signature from Open to Testing.
Mar 13 2020, 5:29 PM · Feature Request, gpgol, Keyserver, gnupg
werner added a comment to T4856: GPG: Key Exchange Put public OpenPGP key into signature.

You can test it now out using GnuPG master: Just add --include-key-block and you can then verify using an empty keyring. Currently --auto-key-retrieve is not needed but we need to think on how we can enable or disable this during verification.

Mar 13 2020, 5:28 PM · Feature Request, gpgol, Keyserver, gnupg
werner added a comment to T4872: Support opaque MPI with gcry_mpi_print.

I am not sure whether this is related but when using Libgcrypt master and verifying a signature created with an ed25519 key, I get the error below with valgrind. Both with 2.2. current and 2.3. It does not happen with the current Libgcrypt 1.8.

Mar 13 2020, 5:25 PM · Restricted Project, Feature Request, libgcrypt
werner committed rG6a4443c8425f: gpg: Make use of the included key block in a signature. (authored by werner).
gpg: Make use of the included key block in a signature.
Mar 13 2020, 5:18 PM
werner committed rG865d48518024: gpg: New option --include-key-block. (authored by werner).
gpg: New option --include-key-block.
Mar 13 2020, 5:18 PM
werner committed rG32493ce50ad8: gpg: Add property "fpr" for use by --export-filter. (authored by werner).
gpg: Add property "fpr" for use by --export-filter.
Mar 13 2020, 1:20 PM
werner added a project to T4856: GPG: Key Exchange Put public OpenPGP key into signature: Feature Request.
Mar 13 2020, 1:17 PM · Feature Request, gpgol, Keyserver, gnupg

Mar 12 2020

werner committed rG90fb4a69d2f6: doc: Add a comment to explain the signature postscript. (authored by werner).
doc: Add a comment to explain the signature postscript.
Mar 12 2020, 11:06 AM
werner changed the status of T4788: System wide configuration of the GnuPG system from Open to Testing.

There are likely some bugs in the new code and I also want to do some improvements; see rGb4f1159a5bd7. But things should basically work as before and thus I set this again to testing

Mar 12 2020, 10:36 AM · gnupg (gpg23), Feature Request, gpg4win, g10code
werner committed rGb4f1159a5bd7: gpgconf: Rewrite the gpgconf-comp module. (authored by werner).
gpgconf: Rewrite the gpgconf-comp module.
Mar 12 2020, 10:23 AM
werner triaged T4873: Enable AES GCM in FIPS mode as Low priority.
Mar 12 2020, 9:59 AM · FIPS, libgcrypt, Feature Request
werner triaged T4878: gpgsm's default for include-certs should include the signing cert if it is self-signed as Low priority.
Mar 12 2020, 9:59 AM · gnupg24, gnupg (gpg23), S/MIME, Feature Request

Mar 10 2020

werner added a comment to T4873: Enable AES GCM in FIPS mode.

This requires re-evaluation of Libgcrypt to match the current FIPS specs.

Mar 10 2020, 4:13 PM · FIPS, libgcrypt, Feature Request

Mar 9 2020

werner added a comment to T4867: with non-existent homedir, `gpgconf --check-programs` produces surprising output..

Well, I misread the output. What you see is what is expected. From the gpgconf man page:

Mar 9 2020, 12:57 PM · gnupg (gpg22), Bug Report
werner added a comment to T4868: Heap buffer overflow in _gcry_mpi_tdiv_qr().

We don't consider this a security problem because the tool you used is a debug helper which we use during development (if at all). All real code needs to verify that it does not request a division by zero. The div-by-zero checks we added 8 years agot to other code paths (e.g. mpi_pow, rC2c54c4da19d3a79e9f749740828026dd41f0521a) are failstop measurements which should never be triggered.

Mar 9 2020, 12:45 PM · Bug Report
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.
Mar 9 2020, 10:45 AM
werner closed T4868: Heap buffer overflow in _gcry_mpi_tdiv_qr() as Resolved.

You are providing invaldid data to this debug helper tools and run into a div-by-zero. I will add the usual test earlier in the code path so that a fatal error is triggered. Thanks for the report.

Mar 9 2020, 10:39 AM · Bug Report
werner committed rCafbab896fa04: 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.
Mar 9 2020, 10:37 AM

Mar 6 2020

werner committed rG9bc3e7ec037e: gpgsm: Re-group the options in the --help output. (authored by werner).
gpgsm: Re-group the options in the --help output.
Mar 6 2020, 5:05 PM
werner committed rG4762367d6649: agent: Fix todays --re-group commit. (authored by werner).
agent: Fix todays --re-group commit.
Mar 6 2020, 5:05 PM
werner committed rG4c43fabbb012: dirmngr: Re-group the options in the --help output. (authored by werner).
dirmngr: Re-group the options in the --help output.
Mar 6 2020, 5:05 PM
werner committed rG41eb5108ce59: gpg: Re-group the options in the --help output. (authored by werner).
gpg: Re-group the options in the --help output.
Mar 6 2020, 3:31 PM
werner committed rGdaf5f4355db7: scd: Re-group the options in the --help output. (authored by werner).
scd: Re-group the options in the --help output.
Mar 6 2020, 3:31 PM
werner committed rGd2425d1495f4: gpgconf: Support reading global options (part 1). (authored by werner).
gpgconf: Support reading global options (part 1).
Mar 6 2020, 3:31 PM