Page MenuHome GnuPG
Feed All Stories

Feb 17 2022

werner created RHEL.
Feb 17 2022, 1:18 PM
werner added a comment to T5838: gpg card not getting detected.

It seems you have replaced the scdaemon module from GnuPG by a 3rd party module (which exhibits a version number 0.10.0) - this is not supported and you will of course run into errors.

Feb 17 2022, 1:17 PM · Not A Bug, scd, gnupg, RHEL
werner triaged T5839: GNUPGEX Explorer File Encryption Tar Archive long Filename Bug as Normal priority.

What you uploaded are files with a length of zero bytes. That is not valid data. The hang should not happen of course.

Feb 17 2022, 1:12 PM · kleopatra, gpgtar, Bug Report, gpg4win
Klausi1239 created T5839: GNUPGEX Explorer File Encryption Tar Archive long Filename Bug.
Feb 17 2022, 12:21 PM · kleopatra, gpgtar, Bug Report, gpg4win
mohann created T5838: gpg card not getting detected.
Feb 17 2022, 11:33 AM · Not A Bug, scd, gnupg, RHEL
irl added a comment to T5837: gpg-card: Authenticate to PIV applet with non-3DES card management key.

Setting the management key has been implemented only for Yubikeys. So for Gemalto this won't work.

Feb 17 2022, 11:20 AM · gnupg24, scd, Feature Request
werner claimed T5837: gpg-card: Authenticate to PIV applet with non-3DES card management key.
Feb 17 2022, 10:49 AM · gnupg24, scd, Feature Request
werner added a comment to T5837: gpg-card: Authenticate to PIV applet with non-3DES card management key.

Setting the management key has been implemented only for Yubikeys. So for Gemalto this won't work.

Feb 17 2022, 10:48 AM · gnupg24, scd, Feature Request
ikloecker committed rMad3aabdd8a64: qt: Fix ABI compatibility with 1.16.0 (authored by ikloecker).
qt: Fix ABI compatibility with 1.16.0
Feb 17 2022, 10:29 AM
aheinecke closed T5805: Kleopatra or GnuPG: Auto retrieve signers key as Resolved.

I have tested it. When I try it with public keyserver it has of course problematic results when vandalized keys like werners are hit but its great that even if I abort at that point I nicely see the results of the other imports.

Feb 17 2022, 10:26 AM · gnupg, kleopatra, Restricted Project
aheinecke added a comment to T5836: Kleopatra: Optionally, delete private key locally after moving a key to a smartcard.

It should not really hurt to query the scdaemon again after an import. We can do this in the background and users wont have to notice it in the general case where imports from others happen.

Feb 17 2022, 10:24 AM · Bug Report, kleopatra, Restricted Project
irl created T5837: gpg-card: Authenticate to PIV applet with non-3DES card management key.
Feb 17 2022, 10:10 AM · gnupg24, scd, Feature Request
bernhard added a comment to T5760: Kleopatra hangs loading certificate cache on Windows 11.

In https://wald.intevation.org/forum/forum.php?thread_id=2395&forum_id=21&group_id=11 "Kim Nilsson on 2022-02-15 16:48" reports that

Feb 17 2022, 8:59 AM · Bug Report, gpg4win
werner added a comment to rC3c8b6c4a9cad: fips: Fix gen-note-integrity.sh script not to use cmp utility..

I wonder why a platform has no cmp but comes with printf, which is a modern POSIX extension to Unix.

Feb 17 2022, 8:49 AM
werner triaged T5809: Expire subkey violates assertion "! sig->hashed" as High priority.
Feb 17 2022, 8:43 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe committed rGf064d972e388: tests: Remove a test case with "quiet" option with gpgconf. (authored by gniibe).
tests: Remove a test case with "quiet" option with gpgconf.
Feb 17 2022, 6:19 AM
gniibe committed rG3c3765405de0: scd: Use lock_slot for apdu_send_direct. (authored by gniibe).
scd: Use lock_slot for apdu_send_direct.
Feb 17 2022, 6:08 AM
gniibe added a project to T5831: Backport (f808012a) scd: Use lock_slot for apdu_send_direct. to GnuPG 2.2: Restricted Project.

Thank you for your suggestion.

Feb 17 2022, 6:08 AM · gnupg (gpg22), Bug Report, scd
gniibe claimed T5831: Backport (f808012a) scd: Use lock_slot for apdu_send_direct. to GnuPG 2.2.
Feb 17 2022, 6:01 AM · gnupg (gpg22), Bug Report, scd
gniibe closed T5393: gnupg coverity static analysis reports as Resolved.
Feb 17 2022, 5:50 AM · gnupg (gpg23), Bug Report
gniibe closed T5730: During make, compile error under Ubuntu 21.10 as Resolved.
Feb 17 2022, 5:49 AM · gpgme, Bug Report
gniibe added a project to T5811: libgcrypt: Remove random-daemon (server side): Restricted Project.
Feb 17 2022, 5:48 AM · libgcrypt
gniibe closed T2385: support more than 1024 fds. as Resolved.
Feb 17 2022, 5:47 AM · gpgrt, Feature Request, gpgme
gniibe closed T5742: Apparent regressions between 2.2.32 and 2.2.33 of GnuPG as Resolved.
Feb 17 2022, 5:46 AM · Restricted Project, Bug Report, gnupg (gpg23)
gniibe added a comment to T5835: libgcrypt: More robust/portable integrity check.

I simplified the script not to use cmp: rC3c8b6c4a9cad: fips: Fix gen-note-integrity.sh script not to use cmp utility.
And I clarified the semantics of the integrity check.

Feb 17 2022, 3:48 AM · Bug Report, libgcrypt, FIPS
gniibe committed rC052c5ef4cea5: fips: Clarify what to be hashed for the integrity check. (authored by gniibe).
fips: Clarify what to be hashed for the integrity check.
Feb 17 2022, 3:29 AM
gniibe committed rE666d64d2bc65: gpg-error.m4: Fix use with older gpgrt-config (< 1.33). (authored by gniibe).
gpg-error.m4: Fix use with older gpgrt-config (< 1.33).
Feb 17 2022, 2:35 AM
gniibe committed rC3c8b6c4a9cad: fips: Fix gen-note-integrity.sh script not to use cmp utility. (authored by gniibe).
fips: Fix gen-note-integrity.sh script not to use cmp utility.
Feb 17 2022, 2:29 AM
gniibe committed rC5420cbbd3ec7: Silence compiler warnings for possible alignment problem. (authored by gniibe).
Silence compiler warnings for possible alignment problem.
Feb 17 2022, 1:44 AM
neverpanic added a comment to T5835: libgcrypt: More robust/portable integrity check.

Ah, right, I can get that added to the containers tomorrow.

Feb 17 2022, 1:39 AM · Bug Report, libgcrypt, FIPS
gniibe added a comment to T5835: libgcrypt: More robust/portable integrity check.

I located the cause:

../../src/gen-note-integrity.sh: line 78: cmp: command not found
Feb 17 2022, 1:36 AM · Bug Report, libgcrypt, FIPS
thesamesam added a comment to T5834: C++ ABI breakage in gpgme-1.17.0?.

Yeah, please do issue a new release as soon as possible if you can, as otherwise downstream we're in an awkward position where we have to rebuild everything without a SONAME bump, then do it again once the release is out.

Feb 17 2022, 12:33 AM · Bug Report

Feb 16 2022

ikloecker triaged T5834: C++ ABI breakage in gpgme-1.17.0? as High priority.
Feb 16 2022, 7:26 PM · Bug Report
ikloecker added a comment to T5834: C++ ABI breakage in gpgme-1.17.0?.

@werner Please release a gpgme-1.17.1 with

diff --git a/configure.ac b/configure.ac
index f6d4b50e..57e6ea2e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,8 +64,8 @@ LIBGPGMEPP_LT_CURRENT=20
 LIBGPGMEPP_LT_AGE=14
 LIBGPGMEPP_LT_REVISION=0
Feb 16 2022, 7:25 PM · Bug Report
neverpanic added a comment to T5835: libgcrypt: More robust/portable integrity check.

That only seems to work in some configurations: https://gitlab.com/redhat-crypto/libgcrypt/libgcrypt-mirror/-/pipelines/472626834

Feb 16 2022, 7:24 PM · Bug Report, libgcrypt, FIPS
ikloecker added a comment to T5834: C++ ABI breakage in gpgme-1.17.0?.

The actual problem isn't the removed internal symbols, but

'method virtual QGpgME::KeyForMailboxJob* QGpgME::Protocol::keyForMailboxJob() const' has some sub-type changes:
  the vtable offset of method virtual QGpgME::KeyForMailboxJob* QGpgME::Protocol::keyForMailboxJob() const changed from 28 to 31
    note that this is an ABI incompatible change to the vtable of class QGpgME::Protocol

KMail calls keyForMailboxJob(), but because of the changed index in the vtable it called addUserIDJob() which ultimately caused the crash.

Feb 16 2022, 7:05 PM · Bug Report
jukivili renamed T5828: Improvements for gnupg data operation performance (enc/dec/sign/verify/enarmor/dearmor/etc) from Revisit gnupg data operations (encryption/decryption, signing/verifying) for additional performance tunings to Improvements for gnupg data operation performance (enc/dec/sign/verify/enarmor/dearmor/etc).
Feb 16 2022, 6:53 PM · gnupg
jukivili renamed T5826: Improve detached signing and verification speed from Detached signing and verification unexpectly slow to Improve detached signing and verification speed.
Feb 16 2022, 6:52 PM · gnupg
ikloecker committed rKLEOPATRA5798bc1d5507: GIT_SILENT: Remove superfluous quotes from debug message (authored by ikloecker).
GIT_SILENT: Remove superfluous quotes from debug message
Feb 16 2022, 6:06 PM
ikloecker committed rKLEOPATRA9404d06dd58f: Show nicely formatted fingerprint on result page (authored by ikloecker).
Show nicely formatted fingerprint on result page
Feb 16 2022, 6:06 PM
ikloecker committed rKLEOPATRAdcccf2e3239c: Ensure update of the result label after updating the form (authored by ikloecker).
Ensure update of the result label after updating the form
Feb 16 2022, 6:06 PM
ikloecker committed rKLEOPATRAd3d69b535ed0: Fix starting over to create second CSR for different usage (authored by ikloecker).
Fix starting over to create second CSR for different usage
Feb 16 2022, 6:06 PM
ikloecker committed rKLEOPATRA41f1f4c6469b: Restart at Enter Details page on restart after failure (authored by ikloecker).
Restart at Enter Details page on restart after failure
Feb 16 2022, 6:06 PM
ikloecker committed rKLEOPATRAb9e85f1f6471: Fix hiding of Cancel button on result page (authored by ikloecker).
Fix hiding of Cancel button on result page
Feb 16 2022, 6:06 PM
ikloecker committed rKLEOPATRA1a8a734bcf9b: Do not show (disabled) Back button on start page (authored by ikloecker).
Do not show (disabled) Back button on start page
Feb 16 2022, 6:06 PM
ikloecker committed rKLEOPATRAdd1afa8b6c29: Disable input focus for UI element showing resulting user id/DN (authored by ikloecker).
Disable input focus for UI element showing resulting user id/DN
Feb 16 2022, 6:06 PM
ikloecker committed rKLEOPATRAeffae89a3c6a: Reset protocol when going back to "Choose Protocol" page (authored by ikloecker).
Reset protocol when going back to "Choose Protocol" page
Feb 16 2022, 6:06 PM
ikloecker committed rKLEOPATRA51d3611ccbe9: Do not show hint about Advanced Settings if they are not available (authored by ikloecker).
Do not show hint about Advanced Settings if they are not available
Feb 16 2022, 6:06 PM
werner triaged T5836: Kleopatra: Optionally, delete private key locally after moving a key to a smartcard as Normal priority.
Feb 16 2022, 5:29 PM · Bug Report, kleopatra, Restricted Project
werner added a comment to T5834: C++ ABI breakage in gpgme-1.17.0?.

Why can't we hide internal symbols in c++ as we are doing in other libs for ages? Were the internal symbols only accidentally exposed?

Feb 16 2022, 5:20 PM · Bug Report
gniibe added a comment to T5835: libgcrypt: More robust/portable integrity check.

I pushed the change: rCa340e9803882: fips: More portable integrity check.
It uses .note.fdo.integrity section, not loaded onto memory.
It simplifies the logic, and switches to dladdr (from dladdr1).

Feb 16 2022, 12:36 PM · Bug Report, libgcrypt, FIPS
gniibe committed rCa340e9803882: fips: More portable integrity check. (authored by gniibe).
fips: More portable integrity check.
Feb 16 2022, 12:33 PM
ikloecker committed rGda04811fe708: po: Fix gender of pronoun in German translation (authored by ikloecker).
po: Fix gender of pronoun in German translation
Feb 16 2022, 10:59 AM
gniibe added a comment to T5835: libgcrypt: More robust/portable integrity check.

Pushed the change which fixes the build with ld.gold.
rC9dcf9305962b: fips: Integrity check improvement, with only loadable segments.

Feb 16 2022, 6:29 AM · Bug Report, libgcrypt, FIPS
gniibe committed rC9dcf9305962b: fips: Integrity check improvement, with only loadable segments. (authored by gniibe).
fips: Integrity check improvement, with only loadable segments.
Feb 16 2022, 6:16 AM
gniibe committed rCb2f110f99626: build: Clean up acinclude.m4. (authored by gniibe).
build: Clean up acinclude.m4.
Feb 16 2022, 3:15 AM
gniibe committed rCd98a78f0eb77: build: Remove checking Pth library. (authored by gniibe).
build: Remove checking Pth library.
Feb 16 2022, 3:15 AM
gniibe added a comment to T5835: libgcrypt: More robust/portable integrity check.

Thank you for your suggestions, @werner.
I agree that we should not put much effort to develop our own methodology here; Too much effort may introduce possibility of unmaintainable code, which should be avoided for the particular purpose of "integrity".

Feb 16 2022, 3:07 AM · Bug Report, libgcrypt, FIPS

Feb 15 2022

ikloecker reopened T5834: C++ ABI breakage in gpgme-1.17.0? as "Open".

Sure. We'll bump the SONAME.

Feb 15 2022, 5:08 PM · Bug Report
thesamesam added a comment to T5834: C++ ABI breakage in gpgme-1.17.0?.

I assumed that changes to internal classes wouldn't break the ABI, but apparently the symbols were still exported. I'll keep this in mind for the next release.

FWIW, the internal class in question was completely rewritten. Since the damage has been done already, I'll close this report. We won't readd symbols to dead code. Sorry, for the inconvenience.

Feb 15 2022, 5:02 PM · Bug Report
ikloecker committed rKLEOPATRA5a884b791663: Improve initial focus in Advanced Settings dialog (authored by ikloecker).
Improve initial focus in Advanced Settings dialog
Feb 15 2022, 4:58 PM
ikloecker committed rKLEOPATRAe3634a32f5ea: Ensure correct tab order of UI elements on Details page (authored by ikloecker).
Ensure correct tab order of UI elements on Details page
Feb 15 2022, 4:58 PM
ikloecker committed rKLEOPATRA4e979d5b54cc: Disable all key strength combo boxes by default (authored by ikloecker).
Disable all key strength combo boxes by default
Feb 15 2022, 4:58 PM
ikloecker committed rKLEOPATRA8c74a572cc02: Fix hiding of "Protect key with passphrase" check box for X.509 (authored by ikloecker).
Fix hiding of "Protect key with passphrase" check box for X.509
Feb 15 2022, 4:58 PM
ikloecker committed rKLEOPATRAf7a94db9da7c: Fix tab order in Advanced Settings dialog (authored by ikloecker).
Fix tab order in Advanced Settings dialog
Feb 15 2022, 4:58 PM
gniibe committed rCbeb5d6df5c57: fips: Use ELF header to find hmac file offset (authored by Clemens Lang via Gcrypt-devel <gcrypt-devel@lists.gnupg.org>).
fips: Use ELF header to find hmac file offset
Feb 15 2022, 2:24 PM
gniibe committed rC521500624b4b: fips: Fix previous commit. (authored by gniibe).
fips: Fix previous commit.
Feb 15 2022, 2:24 PM
werner added a comment to T5835: libgcrypt: More robust/portable integrity check.

Folks, you are opening a can of worms. The only secure why to sign a file is to have a detached signature. That is often non-practical and thus putting the signature/MAC at one certain position and exempt just this one position from hashing is the next best alternative. Any more complicated rules will inevitably introduce security flaws. If a binary is stripped, it is a different binary than a non-stripped one, if it is linked with another linker, it is a different one. And that binary will even be able to figure this out and change behavior. Please keep it simple.

Feb 15 2022, 1:51 PM · Bug Report, libgcrypt, FIPS
neverpanic added a comment to T5835: libgcrypt: More robust/portable integrity check.

Thanks! Maybe it would be simpler to use dl_iterate_phdr(3) for this. I wasn't aware of the function, but a colleague just implemented a proof-of-concept of what you're proposing in https://gitlab.com/dueno/integrity-notes.

Feb 15 2022, 11:58 AM · Bug Report, libgcrypt, FIPS
gniibe committed rCbff9f1b02464: build: Fix m4/gpg-error.m4. (authored by gniibe).
build: Fix m4/gpg-error.m4.
Feb 15 2022, 9:26 AM
ikloecker closed T5834: C++ ABI breakage in gpgme-1.17.0? as Wontfix.

I assumed that changes to internal classes wouldn't break the ABI, but apparently the symbols were still exported. I'll keep this in mind for the next release.

Feb 15 2022, 9:12 AM · Bug Report
Laurent Montel <montel@kde.org> committed rLIBKLEO1771f9eee6ff: GIT_SILENT: use ecm_set_disabled_deprecation_versions (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: use ecm_set_disabled_deprecation_versions
Feb 15 2022, 8:16 AM
Laurent Montel <montel@kde.org> committed rLIBKLEOe2cfa25a3e56: GIT_SILENT: time to increase version (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: time to increase version
Feb 15 2022, 8:16 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA99e70c5b9141: GIT_SILENT: time to increase version (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: time to increase version
Feb 15 2022, 7:57 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRAd134b7e9b333: GIT_SILENT: use ecm_set_disabled_deprecation_versions (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: use ecm_set_disabled_deprecation_versions
Feb 15 2022, 7:57 AM
gniibe added a comment to T5835: libgcrypt: More robust/portable integrity check.

I am going to apply https://gitlab.com/redhat-crypto/libgcrypt/libgcrypt-mirror/-/commit/64ccc25c4b4a2c8c4e13e7e37ff1c8c60a3d8401
And consider adding the code to limit hashing content (from start of the file to end of data section).

Feb 15 2022, 7:40 AM · Bug Report, libgcrypt, FIPS
werner added a comment to T5823: DNS srv problem with Tor transparent proxy.

Guess why GnuPG has its own Tor aware resolver ;-) To debug this kind of stuff you need to debug dirmngr, by adding for example

Feb 15 2022, 7:32 AM · Not A Bug
gniibe updated the task description for T5835: libgcrypt: More robust/portable integrity check.
Feb 15 2022, 3:39 AM · Bug Report, libgcrypt, FIPS
thesamesam added a watcher for Release Info: thesamesam.
Feb 15 2022, 3:39 AM
gniibe triaged T5835: libgcrypt: More robust/portable integrity check as High priority.
Feb 15 2022, 3:38 AM · Bug Report, libgcrypt, FIPS

Feb 14 2022

thesamesam set External Link to https://bugs.kde.org/show_bug.cgi?id=449891 on T5834: C++ ABI breakage in gpgme-1.17.0?.
Feb 14 2022, 10:14 PM · Bug Report
thesamesam created T5834: C++ ABI breakage in gpgme-1.17.0?.
Feb 14 2022, 10:13 PM · Bug Report
werner committed rD412d1d26068f: web: Add signature-key.pdf (authored by werner).
web: Add signature-key.pdf
Feb 14 2022, 4:38 PM
ikloecker closed T5830: SIGBUS with gpgme_op_interact as Resolved.
Feb 14 2022, 4:26 PM · gpgme, Bug Report
ikloecker moved T5832: Kleopatra: Make OpenPGP certificate generation (with default settings) accessible from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Feb 14 2022, 4:22 PM · kleopatra, Restricted Project
ikloecker closed T5833: Kleopatra: Shows lower case "kleopatra" in system tray menu and Really Quit? confirmation dialog as Resolved.
Feb 14 2022, 4:22 PM · kleopatra, Restricted Project, Bug Report
ikloecker committed rKLEOPATRA3296827c92c5: Use application display name in Really Quit? confirmation dialog (authored by ikloecker).
Use application display name in Really Quit? confirmation dialog
Feb 14 2022, 4:19 PM
ikloecker committed rKLEOPATRAf495f7bdc064: Add user interface markers to other system tray menu entries (authored by ikloecker).
Add user interface markers to other system tray menu entries
Feb 14 2022, 4:19 PM
ikloecker committed rKLEOPATRA1a326e18c555: Set application data before initializing KleopatraApplication (authored by ikloecker).
Set application data before initializing KleopatraApplication
Feb 14 2022, 4:19 PM
ikloecker committed rKLEOPATRAcbe887480e12: Use display name of application for the system tray menu entries (authored by ikloecker).
Use display name of application for the system tray menu entries
Feb 14 2022, 4:19 PM
ikloecker moved T5833: Kleopatra: Shows lower case "kleopatra" in system tray menu and Really Quit? confirmation dialog from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Feb 14 2022, 4:05 PM · kleopatra, Restricted Project, Bug Report
ikloecker claimed T5833: Kleopatra: Shows lower case "kleopatra" in system tray menu and Really Quit? confirmation dialog.
Feb 14 2022, 4:05 PM · kleopatra, Restricted Project, Bug Report
ikloecker created T5833: Kleopatra: Shows lower case "kleopatra" in system tray menu and Really Quit? confirmation dialog.
Feb 14 2022, 4:05 PM · kleopatra, Restricted Project, Bug Report
ilka added a comment to T5830: SIGBUS with gpgme_op_interact.

Found it: I did not initialize gpgme_op_interact's last parameter out with gpgme_data_new. The error is now gone.

Feb 14 2022, 3:55 PM · gpgme, Bug Report
ikloecker triaged T5832: Kleopatra: Make OpenPGP certificate generation (with default settings) accessible as Normal priority.
Feb 14 2022, 2:54 PM · kleopatra, Restricted Project
ZenithalHourlyRate created T5831: Backport (f808012a) scd: Use lock_slot for apdu_send_direct. to GnuPG 2.2.
Feb 14 2022, 1:10 PM · gnupg (gpg22), Bug Report, scd
werner triaged T5825: [gpgme] [python] possible dangling reference to passphrase as High priority.
Feb 14 2022, 12:51 PM · patch, gpgme, Bug Report
werner lowered the priority of T5812: GpgOL: Draft encryption after modification no longer works from Unbreak Now! to High.

As well as GnuPG VS-Desktop. 3.1.21. We should also do a new gpg4win release.

Feb 14 2022, 12:50 PM · gpgol, Restricted Project
ikloecker changed the status of T5776: Kleopatra: Add possibility to copy fingerprints without spaces from Open to Testing.

Instead of extending the context menu I have simply added a button next to the fingerprint which always copies the fingerprint without whitespace to the clipboard. Should also be better for accessibility.

Feb 14 2022, 12:19 PM · kleopatra, Restricted Project
ikloecker committed rKLEOPATRA20dce6e8a3f4: Remove LinksAccessibleByMouse flag from labels not showing links (authored by ikloecker).
Remove LinksAccessibleByMouse flag from labels not showing links
Feb 14 2022, 12:14 PM