Page MenuHome GnuPG
Feed All Stories

Aug 26 2022

aheinecke added a comment to T6164: OpenPGP Smart Card of Yubikey 5 no more visible.

Yes, that was sadly the case with the last release. It was fixed in: https://dev.gnupg.org/T6070 but not yet released. So the next version will work again. Until then you have to stick with the older version.

Aug 26 2022, 12:03 PM · Bug Report, gpg4win
aheinecke added a comment to T5334: Kleopatra: Add more support for WKS / WKD.

WKS re-publishing was requested for Windows again in: https://wald.intevation.org/forum/message.php?msg_id=8562

Aug 26 2022, 10:53 AM · kleopatra, Restricted Project
aheinecke added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).

@SPYazdani But your log is also without the Data information. The issue is that I see the Problem that it tries to aquire a temporary file name and fails to get one. Then it runs into an unexpected state. But gpgol_string_107 is the pseudonomized debug output of the filename. Because the filename would include your username. And I need to see what GpgOL tries there and why this would fail.

Aug 26 2022, 10:48 AM · gpgol, Bug Report, gpg4win
SPYazdani added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).

@aheinecke I posted a link to the logs in T6158

Aug 26 2022, 10:10 AM · gpgol, Bug Report, gpg4win
aheinecke added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).

This was reported again in T6158. The problem is still that I have not seen a log with Data debugging enabled. @SPYazdani could you maybe create one? Please enable logging and check the box below the logging filename where it says "Include Mail contents (decrypted!) and meta information." and then you might afterward look into the log file and post here the lines above "Could not get a name out of 100 tries" I am interested in the candidate names and also please then check if those files really exist and if so try to remove them.

Aug 26 2022, 9:38 AM · gpgol, Bug Report, gpg4win
aheinecke merged task T6158: GpgOL assumes an email is empty into T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
Aug 26 2022, 9:35 AM · gpgol, Bug Report
aheinecke merged T6158: GpgOL assumes an email is empty into T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
Aug 26 2022, 9:35 AM · gpgol, Bug Report, gpg4win
aheinecke added a comment to T6158: GpgOL assumes an email is empty.

Ah right, forgot about this issue. I merge it with the other one and answer there. I need a log with data debugging enabled of this issue.

Aug 26 2022, 9:35 AM · gpgol, Bug Report
aheinecke committed rO7773cb894d0a: Fix compliance string encodings (authored by aheinecke).
Fix compliance string encodings
Aug 26 2022, 9:31 AM
gniibe added a comment to T5882: Cross signing certificate in X.509 support.

T6142 was solved by rejecting expired root certificate.

Aug 26 2022, 7:43 AM
SPYazdani assigned T6158: GpgOL assumes an email is empty to aheinecke.
Aug 26 2022, 7:43 AM · gpgol, Bug Report
gniibe added a parent task for T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired: T5882: Cross signing certificate in X.509 support.
Aug 26 2022, 7:41 AM · workaround, gnupg, Keyserver, Bug Report
gniibe added a subtask for T5882: Cross signing certificate in X.509 support: T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired.
Aug 26 2022, 7:41 AM
SPYazdani added a parent task for T6158: GpgOL assumes an email is empty: T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
Aug 26 2022, 7:41 AM · gpgol, Bug Report
SPYazdani added a subtask for T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted): T6158: GpgOL assumes an email is empty.
Aug 26 2022, 7:41 AM · gpgol, Bug Report, gpg4win
gniibe closed T5984: gpg-agent interaction improvement (smartcard improvement #3) as Resolved.
Aug 26 2022, 7:28 AM · ssh, gpgagent, scd
gniibe removed a parent task for T5995: Better prompt with SETKEYDESC: T5984: gpg-agent interaction improvement (smartcard improvement #3).
Aug 26 2022, 7:28 AM · gnupg24, ssh, gpgagent, scd
gniibe removed a subtask for T5984: gpg-agent interaction improvement (smartcard improvement #3): T5995: Better prompt with SETKEYDESC.
Aug 26 2022, 7:28 AM · ssh, gpgagent, scd
gniibe closed T6003: card: READCERT with KEYGRIP, a subtask of T6002: scute w/ gpg23: Support multiple cards/tokens, major update with KEYGRIP, as Resolved.
Aug 26 2022, 7:27 AM · Feature Request, scute
gniibe closed T6003: card: READCERT with KEYGRIP as Resolved.
Aug 26 2022, 7:26 AM · scd, Feature Request
gniibe added a comment to T4873: Enable AES GCM in FIPS mode.

I realized that some AEAD cipher (including GCM) allows arbitrary length for IV.
But it's not good for the API of setup_geniv and geniv.

Aug 26 2022, 3:59 AM · FIPS, libgcrypt, Feature Request
gniibe committed rCc9008345c114: cipher: Check arguments for setup_geniv. (authored by gniibe).
cipher: Check arguments for setup_geniv.
Aug 26 2022, 3:55 AM
gniibe added a comment to T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired.

rejecting an intermediate certificate too.

Aug 26 2022, 2:42 AM · workaround, gnupg, Keyserver, Bug Report
gniibe added a project to T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired: Restricted Project.

Pushed the change of mine to master, since I can confirm that it results validate_cert_chain working better, because of put_cert's rejecting an intermediate certificate too.

Aug 26 2022, 2:37 AM · workaround, gnupg, Keyserver, Bug Report
gniibe committed rG0662b9444b5b: dirmngr: Reject certificate which is not valid into cache. (authored by gniibe).
dirmngr: Reject certificate which is not valid into cache.
Aug 26 2022, 2:36 AM

Aug 25 2022

jrg.sichermann created T6164: OpenPGP Smart Card of Yubikey 5 no more visible.
Aug 25 2022, 6:06 PM · Bug Report, gpg4win
aheinecke triaged T6163: Kleopatra: Fetch missing keys broken as High priority.
Aug 25 2022, 4:30 PM · Restricted Project, kleopatra
werner closed T6162: WKD entry confirmation error as Resolved.

You get this error because the key has been created in gnupg mode (and not in de-vs) and thus it has these preferences.

Aug 25 2022, 3:30 PM · Not A Bug, wkd
aheinecke committed rW8652990b50aa: MSI: Add GUIDs for new icons and breeze-dark (authored by aheinecke).
MSI: Add GUIDs for new icons and breeze-dark
Aug 25 2022, 3:09 PM
aheinecke committed rW5aac6e963a58: Update kleopatra and gpgol. Fix Pinentry download (authored by aheinecke).
Update kleopatra and gpgol. Fix Pinentry download
Aug 25 2022, 3:09 PM
aheinecke committed rO87164e9cf22c: Add another sender fallback (authored by aheinecke).
Add another sender fallback
Aug 25 2022, 2:25 PM
aheinecke committed rKLEOPATRA60de9b8cd4ee: Bump Kleopatra version to 3.1.24 (authored by aheinecke).
Bump Kleopatra version to 3.1.24
Aug 25 2022, 2:24 PM
aheinecke committed rKLEOPATRA135bd0a64eb1: Reenable decrypt button in padwidget after error (authored by aheinecke).
Reenable decrypt button in padwidget after error
Aug 25 2022, 1:10 PM
aheinecke committed rKLEOPATRAf1db18ee7dab: Remove pedantic warning (authored by aheinecke).
Remove pedantic warning
Aug 25 2022, 1:10 PM
aheinecke committed rKLEOPATRA8c4142481acc: Add branding icon and window title if set (authored by aheinecke).
Add branding icon and window title if set
Aug 25 2022, 1:10 PM
aheinecke changed the status of T5989: Kleopatra: Customization Window Title and custom Logo from VERSION file from Open to Testing.
Aug 25 2022, 1:08 PM · kleopatra, Restricted Project
aheinecke committed rLIBKLEO39bbfda2b029: Add API to read branding icon and title (authored by aheinecke).
Add API to read branding icon and title
Aug 25 2022, 1:06 PM
ebo created T6162: WKD entry confirmation error.
Aug 25 2022, 12:02 PM · Not A Bug, wkd
thesamesam added a comment to T6160: pinentry Emacs support assumes socket location at ${TMPDIR}/emacs${UID}, fails to connect (need to respect XDG_RUNTIME_DIR).

That's a fair point, cheers!

Aug 25 2022, 9:49 AM · Feature Request, pinentry, Emacs
thesamesam added a comment to T6161: pinentry doesn't allow disabling various library linkages (libX11, KF5WaylandClient, Qt5X11Extras).

I'm not sure I understand. If you don't want pinentries depending on libX11, then simply disable those pinentries with --disable-pinentry-qt5, etc. For Wayland it may make sense to allow disabling it.

Aug 25 2022, 9:43 AM · pinentry, Feature Request
ikloecker added a comment to T6161: pinentry doesn't allow disabling various library linkages (libX11, KF5WaylandClient, Qt5X11Extras).

I'm not sure I understand. If you don't want pinentries depending on libX11, then simply disable those pinentries with --disable-pinentry-qt5, etc. For Wayland it may make sense to allow disabling it.

Aug 25 2022, 9:40 AM · pinentry, Feature Request
werner triaged T6161: pinentry doesn't allow disabling various library linkages (libX11, KF5WaylandClient, Qt5X11Extras) as Normal priority.
Aug 25 2022, 9:17 AM · pinentry, Feature Request
werner triaged T6160: pinentry Emacs support assumes socket location at ${TMPDIR}/emacs${UID}, fails to connect (need to respect XDG_RUNTIME_DIR) as Normal priority.

Let's turn this into a feature request.

Aug 25 2022, 9:16 AM · Feature Request, pinentry, Emacs
werner removed a project from T6096: Kleopatra: Add "include-default" when creating a new trustlist.txt: Restricted Project.
Aug 25 2022, 9:11 AM · kleopatra, Restricted Project
werner closed T6096: Kleopatra: Add "include-default" when creating a new trustlist.txt as Resolved.

I think we can close this one. Note also that we now have --no-user-trustlist and --sys-trustlist-name. in 2.2.37 and 2.3.7 which allows to entirely ignore the user trustlist and to define a global one..

Aug 25 2022, 9:11 AM · kleopatra, Restricted Project
thesamesam created T6161: pinentry doesn't allow disabling various library linkages (libX11, KF5WaylandClient, Qt5X11Extras).
Aug 25 2022, 9:02 AM · pinentry, Feature Request
thesamesam updated the task description for T6160: pinentry Emacs support assumes socket location at ${TMPDIR}/emacs${UID}, fails to connect (need to respect XDG_RUNTIME_DIR).
Aug 25 2022, 8:54 AM · Feature Request, pinentry, Emacs
thesamesam changed External Link from https://bugs.gentoo.org/794649 to https://debbugs.gnu.org/33847 on T6160: pinentry Emacs support assumes socket location at ${TMPDIR}/emacs${UID}, fails to connect (need to respect XDG_RUNTIME_DIR).
Aug 25 2022, 8:54 AM · Feature Request, pinentry, Emacs
thesamesam changed External Link from https://bugs.gentoo.org/794649) to https://bugs.gentoo.org/794649 on T6160: pinentry Emacs support assumes socket location at ${TMPDIR}/emacs${UID}, fails to connect (need to respect XDG_RUNTIME_DIR).
Aug 25 2022, 8:53 AM · Feature Request, pinentry, Emacs
thesamesam set External Link to https://bugs.gentoo.org/794649) on T6160: pinentry Emacs support assumes socket location at ${TMPDIR}/emacs${UID}, fails to connect (need to respect XDG_RUNTIME_DIR).
Aug 25 2022, 8:53 AM · Feature Request, pinentry, Emacs
thesamesam created T6160: pinentry Emacs support assumes socket location at ${TMPDIR}/emacs${UID}, fails to connect (need to respect XDG_RUNTIME_DIR).
Aug 25 2022, 8:53 AM · Feature Request, pinentry, Emacs
gniibe committed rE4615816f71e9: gpgrt-config: Strip system paths for --cflags and --libs. (authored by gniibe).
gpgrt-config: Strip system paths for --cflags and --libs.
Aug 25 2022, 8:51 AM
gniibe added a project to T4873: Enable AES GCM in FIPS mode: Restricted Project.

I pushed the change with documentation.

Aug 25 2022, 8:49 AM · FIPS, libgcrypt, Feature Request
werner triaged T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired as Wishlist priority.
Aug 25 2022, 8:42 AM · workaround, gnupg, Keyserver, Bug Report
gniibe added projects to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject: gpgrt, Restricted Project.

I pushed the changes. It also cares about the case for --cflags.

Aug 25 2022, 8:42 AM · gpgrt, gpgme, Bug Report
werner added a comment to T6142: On Windows, gpg 2.3.7 thinks the certificates of major keyservers have expired.

@dkg: Thanks for the detailed description of the problem.

Aug 25 2022, 8:41 AM · workaround, gnupg, Keyserver, Bug Report
gniibe added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

@orbea Thank you for your suggestions.

Aug 25 2022, 8:17 AM · gpgrt, gpgme, Bug Report
gniibe committed rC373b1f6c1794: cipher: Support internal generation of IV for AEAD cipher mode. (authored by gniibe).
cipher: Support internal generation of IV for AEAD cipher mode.
Aug 25 2022, 7:46 AM
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