Page MenuHome GnuPG
Feed All Stories

Mar 19 2020

gniibe added a subtask for T4068: libgcrypt 1.8.3 make check errors: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:18 AM · Documentation, libgcrypt
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T4068: libgcrypt 1.8.3 make check errors.
Mar 19 2020, 5:18 AM · Release Info, libgcrypt
gniibe removed a parent task for T4068: libgcrypt 1.8.3 make check errors: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:18 AM · Documentation, libgcrypt
gniibe removed a subtask for T4294: Release Libgcrypt 1.9.0: T4068: libgcrypt 1.8.3 make check errors.
Mar 19 2020, 5:18 AM · Release Info, libgcrypt
gniibe added a subtask for T4294: Release Libgcrypt 1.9.0: T4293: Add dedicated X25519 function to Libcgrypt .
Mar 19 2020, 5:14 AM · Release Info, libgcrypt
gniibe added a parent task for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:14 AM · Restricted Project, libgcrypt
gniibe removed subtasks for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0, T4702: Deadline for the GnuPG 2.3.0 release.
Mar 19 2020, 5:13 AM · Restricted Project, libgcrypt
gniibe removed a parent task for T4294: Release Libgcrypt 1.9.0: T4293: Add dedicated X25519 function to Libcgrypt .
Mar 19 2020, 5:13 AM · Release Info, libgcrypt
gniibe removed a parent task for T4702: Deadline for the GnuPG 2.3.0 release: T4293: Add dedicated X25519 function to Libcgrypt .
Mar 19 2020, 5:13 AM · Restricted Project, gpg4win, gnupg
gniibe changed the status of T4869: constant-time mpi_invm from Open to Testing.
Mar 19 2020, 5:10 AM · libgcrypt
dkg created T4883: gpgme X.509 certificates have unknown validity in offline mode unless `disable-crl-checks` is set.
Mar 19 2020, 2:25 AM · Not A Bug, S/MIME, gpgme
dkg created T4882: gpgconf --homedir is ignored when setting options.
Mar 19 2020, 1:35 AM · gnupg (gpg22), Bug Report
gniibe committed rG8aec6d6fd8f6: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Mar 19 2020, 1:29 AM

Mar 18 2020

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

I thought i'd try with other certificates. I started with the one from this website. It also fails to validate unless i supply --disable-crl-checks, apparently because the immediate issuer (the Let's Encrypt CA) doesn't offer CRLs, only OCSP responders. Perhaps --disable-crl-checks should be the default, or at least if there is no CRL available there shouldn't be a failure by default:

Mar 18 2020, 10:38 PM · Not A Bug, gnupg (gpg22), S/MIME
dkg added a comment to T4881: "User ID" (Subject, subjectAltName) validity is inaccurate in gpgsm with sample certs..

Aha, i can get it to say f if i use --disable-crl-checks:

Mar 18 2020, 10:30 PM · Not A Bug, gnupg (gpg22), S/MIME
dkg added a comment to T4881: "User ID" (Subject, subjectAltName) validity is inaccurate in gpgsm with sample certs..

i didn't know that, thanks. i'm now seeing i (which i think means "invalid") in the same configuration:

Mar 18 2020, 9:36 PM · Not A Bug, gnupg (gpg22), S/MIME
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
dkg created T4881: "User ID" (Subject, subjectAltName) validity is inaccurate in gpgsm with sample certs..
Mar 18 2020, 8:55 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)
gniibe committed rC3a16c19d4d63: DSA,ECDSA: Fix use of mpi_invm. (authored by gniibe).
DSA,ECDSA: Fix use of mpi_invm.
Mar 18 2020, 7:28 AM
gniibe committed rCada758e3019c: DSA,ECDSA: Fix use of mpi_invm. (authored by gniibe).
DSA,ECDSA: Fix use of mpi_invm.
Mar 18 2020, 7:28 AM
gniibe committed rC90b7339b0654: mpi: Constant time mpi_inv with some conditions. (authored by gniibe).
mpi: Constant time mpi_inv with some conditions.
Mar 18 2020, 7:28 AM
gniibe committed rC20082ca965ea: mpi: Constant time mpi_inv with some conditions. (authored by gniibe).
mpi: Constant time mpi_inv with some conditions.
Mar 18 2020, 7:28 AM

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
gniibe added a comment to T4869: constant-time mpi_invm.

Related the changes, before we did the changes, we received two independent reports.

Mar 17 2020, 6:32 AM · libgcrypt
gniibe closed T4880: npth: Add functions to wake up condition variable, a subtask of T4864: New scdaemon command to watch device removal, as Invalid.
Mar 17 2020, 2:59 AM · Restricted Project, Feature Request, scd, Bug Report
gniibe closed T4880: npth: Add functions to wake up condition variable as Invalid.

It is my confusion. The API is available. I only looked for symbols in the library.
It is #define-d macro to pthread_cond_*.

Mar 17 2020, 2:59 AM · Feature Request, npth
gniibe added a comment to T4880: npth: Add functions to wake up condition variable.

For Windows, it is available. I don't know the reason why it has not been available for POSIX.

Mar 17 2020, 1:51 AM · Feature Request, npth

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
gniibe added a subtask for T4864: New scdaemon command to watch device removal: T4880: npth: Add functions to wake up condition variable.
Mar 16 2020, 6:03 AM · Restricted Project, Feature Request, scd, Bug Report
gniibe added a parent task for T4880: npth: Add functions to wake up condition variable: T4864: New scdaemon command to watch device removal.
Mar 16 2020, 6:03 AM · Feature Request, npth
gniibe created T4880: npth: Add functions to wake up condition variable.
Mar 16 2020, 6:02 AM · Feature Request, npth

Mar 15 2020

Laurent Montel <montel@kde.org> committed rLIBKLEO0afacd623587: GIT_SILENT: Prepare 5.14.0 beta1. (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.14.0 beta1.
Mar 15 2020, 10:05 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA3087de1ac279: GIT_SILENT: Prepare 5.14.0 beta1. (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.14.0 beta1.
Mar 15 2020, 10:00 AM

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
l10n daemon script <scripty@kde.org> committed rKLEOPATRA80202d30dca5: SVN_SILENT made messages (.desktop file) - always resolve ours (authored by l10n daemon script <scripty@kde.org>).
SVN_SILENT made messages (.desktop file) - always resolve ours
Mar 14 2020, 6:00 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA173a3d4e3006: GIT_SILENT made messages (after extraction) (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT made messages (after extraction)
Mar 14 2020, 3:32 AM

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

dkg updated the task description for T4879: GnuPG treats reordered OpenPGP certificates differently.
Mar 12 2020, 8:29 PM · gnupg24, gnupg (gpg23), OpenPGP, Bug Report
dkg created T4879: GnuPG treats reordered OpenPGP certificates differently.
Mar 12 2020, 8:01 PM · gnupg24, gnupg (gpg23), OpenPGP, Bug Report
dkg added a comment to T4878: gpgsm's default for include-certs should include the signing cert if it is self-signed.

For reference, here's an error message from openssl smime when it is trying to verify an e-mail message with no embedded certificate at all (despite it knowing about the relevant certificate):

Mar 12 2020, 2:01 PM · gnupg24, gnupg (gpg23), S/MIME, Feature Request
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
Laurent Montel <montel@kde.org> committed rLIBKLEO04efafdcfb6c: GIT_SILENT: Reduce deprecated version in release (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Reduce deprecated version in release
Mar 12 2020, 10:46 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA1b2b354071ba: GIT_SILENT: Reduce deprecated version in release (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Reduce deprecated version in release
Mar 12 2020, 10:44 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
dkg created T4878: gpgsm's default for include-certs should include the signing cert if it is self-signed.
Mar 12 2020, 7:51 AM · gnupg24, gnupg (gpg23), S/MIME, Feature Request
Laurent Montel <montel@kde.org> committed rKLEOPATRA9549881b2445: GIT_SILENT: it's autogenerated now (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: it's autogenerated now
Mar 12 2020, 6:57 AM
gniibe claimed T4869: constant-time mpi_invm.
Mar 12 2020, 6:50 AM · libgcrypt
gniibe added a project to T4624: libassuan-config and libassuan.pc both put -lws2_32 before -lgpg-error, which fails during static linking: Restricted Project.
Mar 12 2020, 6:46 AM · Restricted Project, Windows, libassuan, Bug Report
gniibe added a project to T4623: pkg-config for mingw needs to emit -lws2_32: Restricted Project.
Mar 12 2020, 6:46 AM · Restricted Project, Windows, gpgrt, Bug Report
gniibe added a project to T4301: Handling multiple subkeys on two SmartCards: Restricted Project.
Mar 12 2020, 6:45 AM · Restricted Project, gnupg, scd, Bug Report
gniibe changed the status of T4810: A key with only "C" capability cannot be selected as default key. from Open to Testing.
Mar 12 2020, 6:43 AM · Restricted Project, gnupg (gpg22)
gniibe changed the status of T4244: Better enum_secret_keys by asking gpg-agent KEYINFO --list from Open to Testing.
Mar 12 2020, 6:40 AM · Restricted Project, gnupg