Page MenuHome GnuPG
Feed All Stories

Aug 25 2022

gniibe committed rG6df8608c3ebe: scd: Add npth_unprotect/npth_protect for blocking operations. (authored by gniibe).
scd: Add npth_unprotect/npth_protect for blocking operations.
Aug 25 2022, 6:15 AM
gniibe added a comment to T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired.

Thank you @dkg for the analysis. Unfortunately, the certificate cache is hashed by SHA-1 FPR, so, I think that it is a bit difficult to implement moving certs "front" / "back".

Aug 25 2022, 6:11 AM · workaround, gnupg, Keyserver, Bug Report
gniibe added a comment to T6151: limit-card-insert-tries is not doing anything, "insert card" is still shown.

I think that for GnuPG 2.3.7 or later, you can add "Prompt: no" in your private key, which helps your interactions.
https://dev.gnupg.org/source/gnupg/browse/master/agent/keyformat.txt$138?as=source&blame=off

Aug 25 2022, 3:30 AM · Bug Report
gniibe closed T5631: pinentry-curses on OpenIndiana (Illumos distro) doesn't display correctly as Resolved.

Fixed in 1.2.1.

Aug 25 2022, 3:12 AM · pinentry
gniibe closed T5893: Patches to compile pinentry-1.2.0 cleanly with mingw.org's MinGW as Resolved.

Fixed in 1.2.1.

Aug 25 2022, 3:11 AM · Windows, pinentry, Bug Report
gniibe closed T6007: coverity issues in pinentry as Resolved.

Fixed in 1.2.1.

Aug 25 2022, 3:09 AM · pinentry, Bug Report
dkg reopened T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired as "Open".

Thanks for the followup about R3, @mpilgrem! Looking at your logs in more details, and the source code for find_cert_bysubject in dirmngr/certcache.c, i think i see what the issue is. It's slightly more subtle than not terminating early if a known trusted root can validate a truncated chain.

Aug 25 2022, 12:46 AM · workaround, gnupg, Keyserver, Bug Report

Aug 24 2022

dkg added a comment to T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired.

@mpilgrem, i'm glad that removing the DST Root CA X3 from your windows control panel worked for you, but it still doesn't seem to be a reasonable fix from a GnuPG user perspective

Aug 24 2022, 10:59 PM · workaround, gnupg, Keyserver, Bug Report
choener added a comment to T6151: limit-card-insert-tries is not doing anything, "insert card" is still shown.

Thanks for the information.
As a follow-up: Is it possible to tell gpg-agent to

  • not ask to insert a missing smartcard (and behave as if cancel had been clicked; after which the next private key is used)
  • but to ask for the pin, if the smartcard happens to be inserted?
Aug 24 2022, 9:45 PM · Bug Report
ikloecker closed T4405: Pinentry: Offer to generate a password as Resolved.
Aug 24 2022, 9:23 PM · pinentry
ikloecker added a comment to T4405: Pinentry: Offer to generate a password.

At least, pinentry-qt offers this functionality since 1.2.0 (see T5517: Improvements for symmetric encryption).

Aug 24 2022, 9:23 PM · pinentry
ikloecker added a project to T4950: pinentry: Add warning when capslock is on: Restricted Project.
Aug 24 2022, 9:17 PM · Restricted Project, Restricted Project, pinentry
ikloecker added a comment to T5160: Pinentry: Improved generate support.

Isn't this (mostly?) done? See T5517: Improvements for symmetric encryption.

Aug 24 2022, 9:14 PM · gpgagent, pinentry
ikloecker closed T5307: pinentry-qt unilaterally enables rpath, even when configured with `--disable-rpath` as Resolved.
Aug 24 2022, 9:08 PM · qt, pinentry, Bug Report
ikloecker added a project to T5543: pinentry-qt: Accessibility switch to repeat on enter: Restricted Project.
Aug 24 2022, 9:05 PM · pinentry, Restricted Project
ikloecker closed T6041: pinentry-qt dialog window no longer floats under Sway (fixed after 1.2.0) as Resolved.

pinentry 1.2.1 has been released today

Aug 24 2022, 9:00 PM · Restricted Project, pinentry, Bug Report
ikloecker added a project to T6085: pinentry-qt: Earlier passphrase hint when creating new key: Installer.
Aug 24 2022, 8:57 PM · gnupg, Restricted Project, pinentry
werner closed T6151: limit-card-insert-tries is not doing anything, "insert card" is still shown as Wontfix.

I added this option on 2005-07-19 and iirc this was planned for the FSFE's rig to produce their membership cards. I kept that option in 2.0 for backward compatibility but it does not make any sense because its gpg-agent's duty to ask for cards - gpg does not known about it.

Aug 24 2022, 6:40 PM · Bug Report
werner added a project to T6158: GpgOL assumes an email is empty: gpgol.
Aug 24 2022, 6:31 PM · gpgol, Bug Report
werner triaged T6127: FIPS 140-3 final review comments as Normal priority.
Aug 24 2022, 6:27 PM · FIPS, libgcrypt, Bug Report
werner closed T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired as Resolved.
Aug 24 2022, 6:26 PM · workaround, gnupg, Keyserver, Bug Report
werner triaged T6152: Text for Import of S/MIME certificates as Normal priority.

The PKCS#12 import was a late add-on because I consider P#12 to be a nasty and insecure format. Unfortunately it survived and is now the mainly used interchange format. Eventually we need to improve things here. However, ppl should use smartcards for S/MIME.

Aug 24 2022, 6:25 PM · Feature Request, S/MIME, gnupg, Restricted Project
werner added a comment to T6151: limit-card-insert-tries is not doing anything, "insert card" is still shown.

We have a cancel button and an cancel-all button (Window close button). The former skips the current key the latter should cancel the entire decryption process.

Aug 24 2022, 6:20 PM · Bug Report
werner committed rW3037d03480e3: Update to Gnupg 2.2.27 (authored by werner).
Update to Gnupg 2.2.27
Aug 24 2022, 5:34 PM
werner closed T5935: scd: SSH emulation of gpg-agent doesn't work well with sntrup761x25519-sha512@openssh.com as Resolved.
Aug 24 2022, 5:28 PM · workaround, gnupg (gpg23), ssh, Bug Report, scd
werner closed T6070: Yubikey 5C 'not available: card error' regression as Resolved.
Aug 24 2022, 5:27 PM · gnupg (gpg23), scd, Bug Report
werner added projects to T6135: Agent, P15: Insert Smartcard query uses serial number instead of $DISPSERIALNO: backport, gnupg (gpg23).

Needs to be forward ported to master

Aug 24 2022, 5:26 PM · gnupg24 (gnupg-2.4.3), scd
werner closed T6138: gpgconf: List auto-key-import and include-key-block again as Resolved.
Aug 24 2022, 5:24 PM · gnupg (gpg22), Restricted Project
werner closed T6122: GnuPG: misleading error message keytocard as Resolved.
Aug 24 2022, 5:24 PM · Bug Report, gnupg (gpg22)
werner closed T6119: GnuPG: Compliance mode status omitted when decrypting combined symmetric and asymmetric data as Resolved.
Aug 24 2022, 5:23 PM · gnupg, Restricted Project
werner closed T5936: gpg: Support specifiying user ID to revoke as UID hash for --quick-revoke-uid, a subtask of T4087: Kleopatra: Revoke User-ID, as Resolved.
Aug 24 2022, 5:22 PM · Restricted Project, Restricted Project, gpg4win, kleopatra, Feature Request
werner closed T5936: gpg: Support specifiying user ID to revoke as UID hash for --quick-revoke-uid as Resolved.
Aug 24 2022, 5:22 PM · gnupg (gpg23), Restricted Project, Feature Request
werner closed T6105: Release GnuPG 2.2.37 as Resolved.
Aug 24 2022, 5:22 PM · gnupg (gpg22), Release Info
werner committed rDcc2c086925bc: swdb: GnuPG 2.2.37 (authored by werner).
swdb: GnuPG 2.2.37
Aug 24 2022, 5:20 PM
werner committed rGafa64aceab2a: Post release updates (authored by werner).
Post release updates
Aug 24 2022, 5:19 PM
werner committed rG8e60f885713b: Release 2.2.37 (authored by werner).
Release 2.2.37
Aug 24 2022, 5:19 PM
werner triaged T6159: Release GnuPG 2.2.38 as Low priority.
Aug 24 2022, 5:04 PM · Release Info, gnupg (gpg22)
SPYazdani updated the task description for T6158: GpgOL assumes an email is empty.
Aug 24 2022, 3:49 PM · gpgol, Bug Report
SPYazdani created T6158: GpgOL assumes an email is empty.
Aug 24 2022, 3:47 PM · gpgol, Bug Report
ikloecker committed rP0f8e361f4331: qt: Do not set accessible description of text labels (authored by ikloecker).
qt: Do not set accessible description of text labels
Aug 24 2022, 3:26 PM
ikloecker committed rP1b60a7e5a39e: qt: Do not set accessible name and description of dialog (authored by ikloecker).
qt: Do not set accessible name and description of dialog
Aug 24 2022, 3:26 PM
ikloecker committed rPb2208048be77: qt: Do not set accessible description of buttons (authored by ikloecker).
qt: Do not set accessible description of buttons
Aug 24 2022, 3:26 PM
ikloecker changed the status of T6156: Kleopatra: Aborting password entry on certify leads to broken error message from Open to Testing.

I'll flag it for re-testing with the next version.

Aug 24 2022, 2:52 PM · kleopatra, Restricted Project
ikloecker added a comment to T6156: Kleopatra: Aborting password entry on certify leads to broken error message.

The (): is the result of Formatting::formatForComboBox(d->key()) which has just been changed to Formatting::formatForComboBox(target) to fix T6154: Kleopatra: Assert in CertifyCertificateCommand after setting ownertrust of key. I think this issue here is just another symptom of the same bug as in T6154: Kleopatra: Assert in CertifyCertificateCommand after setting ownertrust of key. You were just quick enough to avoid the assert.

Aug 24 2022, 2:52 PM · kleopatra, Restricted Project
ikloecker added a project to T6152: Text for Import of S/MIME certificates: gnupg.
Aug 24 2022, 2:44 PM · Feature Request, S/MIME, gnupg, Restricted Project
ikloecker added a comment to T6151: limit-card-insert-tries is not doing anything, "insert card" is still shown.

Looks like this option has been merged 16 years ago from gpg 1.4.3. My guess is that it was never used in gpg 2.x.

Aug 24 2022, 2:42 PM · Bug Report
ikloecker added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

For the original issue I'd prefer to silence the error/warning with -Wno-narrowing because I think it's a non-issue. Or does changing the enum declarations to enum : unsigned int make clang happy?

Aug 24 2022, 2:34 PM · C++, gpgme, Bug Report
aheinecke committed rO8e47c6de9ba7: Update german translation and fix öschl wording (authored by aheinecke).
Update german translation and fix öschl wording
Aug 24 2022, 2:24 PM
werner added a comment to T6153: Kleopatra: No error when import from Keyserver fails.

If you use an IP address there is no server name and thus a) TLS can't check the name and b) virtual servers won't work. But as you stated this is not the problem: With rGb231959728a0056 (T2924) https is handled in another way than hkps.
Now, that change was only applied to KS_GET and not to KS_SEARCH. This is kind of correct but shows this surprising behaviour: For the preferred keyserver we really want to do a plain fetch and don't have all the hkp ip/name mapping we do.

Aug 24 2022, 2:23 PM · gnupg, kleopatra
ikloecker added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

For gpgme (as for the other GnuPG libraries) we use the good old mailing list based process for contributing patches. See doc/HACKING for details. In particular, we'll need a signed DCO from you.

Aug 24 2022, 2:20 PM · C++, gpgme, Bug Report
ikloecker triaged T6157: Kleopatra: Fix potential invalidation of the keys a command works on when the key cache is refreshed as Normal priority.
Aug 24 2022, 2:07 PM · Restricted Project, kleopatra
ikloecker changed the status of T6154: Kleopatra: Assert in CertifyCertificateCommand after setting ownertrust of key from Open to Testing.

Should be fixed.

Aug 24 2022, 2:01 PM · Restricted Project, kleopatra
ikloecker committed rKLEOPATRA800c22f7f4a2: Keep a reference to the key to certify (authored by ikloecker).
Keep a reference to the key to certify
Aug 24 2022, 2:00 PM
ikloecker committed rKLEOPATRA91702e1a46ec: Fix tool tip for S/MIME CSR and set accessible description (authored by ikloecker).
Fix tool tip for S/MIME CSR and set accessible description
Aug 24 2022, 2:00 PM
ebo added a comment to T5957: Kleopatra: Usability improvement for Notepad.

also, in the recipient tab the "encrypt with passphrase" option is at the very bottom and so far away from the other options that it is easily overlooked, if the window is fullsized.

Aug 24 2022, 1:16 PM · kleopatra, Restricted Project
werner committed rD0b76d435931b: swdb: Pinentry 1.2.1 (authored by werner).
swdb: Pinentry 1.2.1
Aug 24 2022, 1:14 PM
werner committed rP338961541fa9: Release 1.2.1 (authored by werner).
Release 1.2.1
Aug 24 2022, 1:01 PM
werner committed rW3f76a0819c9f: Update pinentry to 1.2.1 (authored by werner).
Update pinentry to 1.2.1
Aug 24 2022, 12:59 PM
aheinecke renamed T6153: Kleopatra: No error when import from Keyserver fails from Kleopatra: Import from keyserver does not work to Kleopatra: No error when import from Keyserver fails.
Aug 24 2022, 12:27 PM · gnupg, kleopatra
aheinecke added a comment to T6153: Kleopatra: No error when import from Keyserver fails.

Turns out the error happened because on Windows I tested with the IP address and not the name. With gpg-connect-agent --dirmngr I get:

Aug 24 2022, 12:25 PM · gnupg, kleopatra
aheinecke triaged T6156: Kleopatra: Aborting password entry on certify leads to broken error message as Normal priority.
Aug 24 2022, 11:38 AM · kleopatra, Restricted Project
aheinecke triaged T6155: Kleopatra: Certify expired userids offered but leads to General Error as Normal priority.
Aug 24 2022, 11:36 AM · kleopatra, Restricted Project
aheinecke added a comment to T6153: Kleopatra: No error when import from Keyserver fails.

Oh, more testing shows that this works on Linux. strange.

Aug 24 2022, 11:34 AM · gnupg, kleopatra
mpilgrem placed T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired up for grabs.
Aug 24 2022, 11:33 AM · workaround, gnupg, Keyserver, Bug Report
mpilgrem added a comment to T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired.

Doing the same thing on my second PC, I can be more precise:

Aug 24 2022, 11:31 AM · workaround, gnupg, Keyserver, Bug Report
aheinecke triaged T6154: Kleopatra: Assert in CertifyCertificateCommand after setting ownertrust of key as High priority.
Aug 24 2022, 11:30 AM · Restricted Project, kleopatra
aheinecke triaged T6153: Kleopatra: No error when import from Keyserver fails as High priority.
Aug 24 2022, 11:26 AM · gnupg, kleopatra
ebo created T6152: Text for Import of S/MIME certificates.
Aug 24 2022, 11:15 AM · Feature Request, S/MIME, gnupg, Restricted Project
werner lowered the priority of T6145: USB device detection by scdaemon from High to Low.

The delays are due to /usr/sbin/laptop_mode from the laptop-mode-tools package.

Aug 24 2022, 10:52 AM · gnupg24, scd
choener updated the task description for T6151: limit-card-insert-tries is not doing anything, "insert card" is still shown.
Aug 24 2022, 10:52 AM · Bug Report
choener created T6151: limit-card-insert-tries is not doing anything, "insert card" is still shown.
Aug 24 2022, 10:51 AM · Bug Report
werner added a comment to T6145: USB device detection by scdaemon.

Inserting as well as removal is detected on my machine always only after 25 seconds

Aug 24 2022, 10:33 AM · gnupg24, scd
werner added a comment to T4429: Kleopatra: Offer to generate ECC keys on Smartcards which support it.

Right, this is only for the OPENPGP cards. Meanwhile we have
a way to get information on the supported algorithms. For example:

Aug 24 2022, 10:21 AM · Restricted Project, kleopatra
wrobelda added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

Yes, this is with Clang. I am working on getting it to compile on Windows with clang-cl, using vcpkg, with success. I have several patches to fix the issues that clang detected, and so I wonder if I should create a Task to discuss them all?

Aug 24 2022, 10:08 AM · C++, gpgme, Bug Report
ikloecker added a comment to T4429: Kleopatra: Offer to generate ECC keys on Smartcards which support it.

This (old) task only concerns OpenPGP smart cards resp. the OpenPGP card app, right? Because for PIV ECC has always been offered since PIV is supported. And for other card apps we do not even support generating keys AFAIK.

Aug 24 2022, 9:45 AM · Restricted Project, kleopatra
Valodim reopened T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired as "Open".

I'll reopen this ticket here, since the underlying issue is not quite resolved yet as @dkg helpfully outlined above.

Aug 24 2022, 9:41 AM · workaround, gnupg, Keyserver, Bug Report
ikloecker added a comment to T4429: Kleopatra: Offer to generate ECC keys on Smartcards which support it.

scdaemon should return this information together with other information about the smart card or the key slot.

Aug 24 2022, 9:40 AM · Restricted Project, kleopatra
aheinecke changed the status of T5967: GpgOL: Use kleopatra groups in keyresolver from Open to Testing.
Aug 24 2022, 9:38 AM · gpgol, Restricted Project
aheinecke changed the status of T5827: GpgOL: Allow setting HKLM values as override from Open to Testing.
Aug 24 2022, 9:38 AM · gpgol, Restricted Project
aheinecke reassigned T4429: Kleopatra: Offer to generate ECC keys on Smartcards which support it from aheinecke to werner.

@werner please write a list for which manufacturer and version kleopatra should offer which curves.

Aug 24 2022, 9:33 AM · Restricted Project, kleopatra
ikloecker triaged T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing] as Low priority.
Aug 24 2022, 9:32 AM · C++, gpgme, Bug Report
ikloecker added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

g++: error: unrecognized command-line option '-Wc++11-narrowing'; did you mean '-Wno-narrowing'?

Aug 24 2022, 9:23 AM · C++, gpgme, Bug Report
ikloecker added a comment to T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].

How did you get this error? I don't even see a warning for this when building gpgme with g++ (SUSE Linux) 12.1.1 20220812.

Aug 24 2022, 9:20 AM · C++, gpgme, Bug Report
gniibe added a comment to T6145: USB device detection by scdaemon.

I wrote a simple testusb.c if monitoring USB devices works:

#include <stdlib.h>
#include <libusb.h>
#include <poll.h>
#include <stdio.h>
Aug 24 2022, 4:16 AM · gnupg24, scd
mpilgrem closed T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired as Resolved.
Aug 24 2022, 2:04 AM · workaround, gnupg, Keyserver, Bug Report
mpilgrem added a comment to T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired.

Thank you dkg. I am new to 'certificates' generally - and a little knowledge is a dangerous thing - but this is what I did:

Aug 24 2022, 1:47 AM · workaround, gnupg, Keyserver, Bug Report

Aug 23 2022

Heiko Becker <heiko.becker@kde.org> committed rLIBKLEO9c6eee098540: Merge remote-tracking branch 'origin/release/22.08' (authored by Heiko Becker <heiko.becker@kde.org>).
Merge remote-tracking branch 'origin/release/22.08'
Aug 23 2022, 10:06 PM
wrobelda created T6150: gpgadduserideditinteractor.cpp: error: case value evaluates to -1, which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing].
Aug 23 2022, 10:05 PM · C++, gpgme, Bug Report
dkg added a comment to T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired.

@mpilgrem: in the meantime, for connecting to keys.openpgp.org, which *has* cleaned up its certificate chain, you might also want to try killing your dirmngr process, and/or cleaning up the data in .gnupg/dirmngr-cache.d/.

Aug 23 2022, 9:24 PM · workaround, gnupg, Keyserver, Bug Report
dkg added a comment to T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired.

Basically, the website in question (e.g. https://openpgpkey.gnupg.org/, which exhibits this problem) serves up three certificates:

Aug 23 2022, 9:17 PM · workaround, gnupg, Keyserver, Bug Report
Heiko Becker <heiko.becker@kde.org> committed rLIBKLEO28f25d9b650b: KF5LibkleoConfig: Use QT_MAJOR_VERSION from build time (authored by Heiko Becker <heiko.becker@kde.org>).
KF5LibkleoConfig: Use QT_MAJOR_VERSION from build time
Aug 23 2022, 8:30 PM
orbea added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

This looks like a good approach, but I think stripping the standard paths needs to be deferred until later, because, if PKG_CONFIG_SYSROOT_DIR is set, then the library search paths are prefixed with $PKG_CONFIG_SYSROOT_DIR, and then the prefixed standard paths probably shouldn't be stripped.

Aug 23 2022, 6:37 PM · gpgrt, gpgme, Bug Report
aheinecke committed rGTOacf9ba291c9f: Add support for forced values in gpgolconfig (authored by aheinecke).
Add support for forced values in gpgolconfig
Aug 23 2022, 6:05 PM
aheinecke committed rGTO24a228b05e1d: Enable Kleopatra groups in Keyresolver (authored by aheinecke).
Enable Kleopatra groups in Keyresolver
Aug 23 2022, 6:05 PM
aheinecke committed rGTO95bd15088a69: Explicitly set Qt Version to avoid Qt6 pickup (authored by aheinecke).
Explicitly set Qt Version to avoid Qt6 pickup
Aug 23 2022, 6:05 PM
aheinecke committed rO459d74de93d1: Remove overly verbose debug output (authored by aheinecke).
Remove overly verbose debug output
Aug 23 2022, 5:57 PM
aheinecke added a comment to T6148: Kleopatra: Simplify Ownertrust dialog.

Sure. I think we can do this after 3.1.24. I don't want to have additional string changes now as we have translation at 100%

Aug 23 2022, 5:55 PM · kleopatra, Restricted Project
ikloecker changed the status of T5863: pinentry-qt: Further improve the accessibility from Testing to Open.

Fix issues found while testing with NVDA.

Aug 23 2022, 5:53 PM · pinentry, Restricted Project
ikloecker changed the status of T5863: pinentry-qt: Further improve the accessibility, a subtask of T5845: Kleopatra: Accessibility for file encryption, from Testing to Open.
Aug 23 2022, 5:53 PM · kleopatra, Restricted Project
ikloecker moved T6149: Kleopatra: Fix (accessibility) issues found while testing with NVDA from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Aug 23 2022, 5:52 PM · kleopatra, Restricted Project