Page MenuHome GnuPG
Feed All Stories

Oct 20 2021

Jakuje added a comment to T5665: libgcrypt : Restrict message digest use for FIPS 140-3.

At this moment, we agreed on keeping the current behavior and not allowing the SHA1 for verification either. But we might need to revisit that in the future if this will cause issues. Or we might go the way of switching the service to non-fips if needed, rather than creating some more middle ground.

Oct 20 2021, 4:20 PM · FIPS, Bug Report, libgcrypt
ikloecker committed rW4d3a8bd39322: Fix deletion of qttranslations folder (authored by ikloecker).
Fix deletion of qttranslations folder
Oct 20 2021, 4:16 PM
ikloecker committed rW4d5f686ded1e: Add stampdir variable to replace hardcoded stamps directory (authored by ikloecker).
Add stampdir variable to replace hardcoded stamps directory
Oct 20 2021, 4:16 PM
ikloecker committed rWb9f6bce218a8: Use variables everywhere instead of hardcoded directory names (authored by ikloecker).
Use variables everywhere instead of hardcoded directory names
Oct 20 2021, 4:16 PM
ikloecker committed rW61057c806b34: Do not fail clean-* targets if nothing was stowed (authored by ikloecker).
Do not fail clean-* targets if nothing was stowed
Oct 20 2021, 4:16 PM
ikloecker committed rWec23aa679c16: Create temporary folder with recognizable name (authored by ikloecker).
Create temporary folder with recognizable name
Oct 20 2021, 4:16 PM
ikloecker committed rWe78d85ae06f5: Add kdbusaddons to the list of frameworks (authored by ikloecker).
Add kdbusaddons to the list of frameworks
Oct 20 2021, 4:16 PM
ikloecker committed rW817f5de39337: Add cmake as necessary tool (authored by ikloecker).
Add cmake as necessary tool
Oct 20 2021, 4:16 PM
ikloecker committed rW4b6b022e9c6d: Handle errors when downloading the tarballs (authored by ikloecker).
Handle errors when downloading the tarballs
Oct 20 2021, 4:16 PM
ikloecker committed rWc113d8d554c4: Add support for version number without trailing ".0" (authored by ikloecker).
Add support for version number without trailing ".0"
Oct 20 2021, 4:16 PM
ikloecker committed rW364b83ee4c0d: Add script for KDE Gears packages and update KDE release keys (authored by ikloecker).
Add script for KDE Gears packages and update KDE release keys
Oct 20 2021, 4:16 PM
ikloecker committed rWaf8af8f4b867: Update distsigkey with GnuPG's version (authored by aheinecke).
Update distsigkey with GnuPG's version
Oct 20 2021, 4:16 PM
ikloecker committed rW2455c0411f1c: Add pinentry and gpgme to the list of GnuPG packages (authored by ikloecker).
Add pinentry and gpgme to the list of GnuPG packages
Oct 20 2021, 4:16 PM
ikloecker committed rW21603019a416: Add/update some packages to download (authored by ikloecker).
Add/update some packages to download
Oct 20 2021, 4:16 PM
ikloecker committed rW53fe2f63fffd: Use --status option of sha256sum instead of trashing its output (authored by ikloecker).
Use --status option of sha256sum instead of trashing its output
Oct 20 2021, 4:16 PM
ikloecker committed rW803e1b012acf: Add all existing patches to the distribution archive (authored by ikloecker).
Add all existing patches to the distribution archive
Oct 20 2021, 4:16 PM
ikloecker committed rW9ed5894b9418: Update translation (authored by ikloecker).
Update translation
Oct 20 2021, 4:16 PM
ikloecker committed rWd5d4e8043dc7: Add patches needed to build the packages for the AppImage (authored by ikloecker).
Add patches needed to build the packages for the AppImage
Oct 20 2021, 4:16 PM
ikloecker committed rW5aa9c21c67d5: Add possibility to build everything needed for an AppImage of Kleopatra (authored by ikloecker).
Add possibility to build everything needed for an AppImage of Kleopatra
Oct 20 2021, 4:16 PM
ikloecker committed rW3712156ff267: Add files for building AppImage of Kleopatra with Docker (authored by ikloecker).
Add files for building AppImage of Kleopatra with Docker
Oct 20 2021, 4:16 PM
ikloecker committed rW8ea6f7b32d7a: Use a custom AppRun script (authored by ikloecker).
Use a custom AppRun script
Oct 20 2021, 4:16 PM
ikloecker committed rW2e05fe9c4443: appimage: Add only necessary files to the AppImage (authored by ikloecker).
appimage: Add only necessary files to the AppImage
Oct 20 2021, 4:16 PM
ikloecker committed rW9530adb58bd8: Fix EXTRA_DIST (authored by ikloecker).
Fix EXTRA_DIST
Oct 20 2021, 4:16 PM
ikloecker committed rWc24d588f3c5d: Copy the KDE plugins to the AppDir (authored by ikloecker).
Copy the KDE plugins to the AppDir
Oct 20 2021, 4:16 PM
ikloecker committed rW44a5022f76dd: Copy Qt translation files to the folder expected by Qt/Kleopatra (authored by ikloecker).
Copy Qt translation files to the folder expected by Qt/Kleopatra
Oct 20 2021, 4:16 PM
ikloecker committed rW00a39e16f23c: Make "make clean" work if building gpg4win is disabled (authored by ikloecker).
Make "make clean" work if building gpg4win is disabled
Oct 20 2021, 4:16 PM
ikloecker committed rW97a39a552ceb: appimage: Improve build of Breeze icons (authored by ikloecker).
appimage: Improve build of Breeze icons
Oct 20 2021, 4:16 PM
ikloecker committed rWdc3d262d6793: Add patch which makes gpg use translations included in the AppImage (authored by ikloecker).
Add patch which makes gpg use translations included in the AppImage
Oct 20 2021, 4:16 PM
ikloecker committed rW1659573b9d3c: Point XDG_DATA_DIRS and XDG_CONFIG_DIRS to AppImage mount directory (authored by ikloecker).
Point XDG_DATA_DIRS and XDG_CONFIG_DIRS to AppImage mount directory
Oct 20 2021, 4:16 PM
ikloecker committed rW9f667e00776f: Fix non-working Qt translations (authored by ikloecker).
Fix non-working Qt translations
Oct 20 2021, 4:16 PM
ikloecker committed rW83217b209416: Disable building of plugins for Qt Designer (authored by ikloecker).
Disable building of plugins for Qt Designer
Oct 20 2021, 4:16 PM
ikloecker committed rWb2470af6b920: Remove unused variable (authored by ikloecker).
Remove unused variable
Oct 20 2021, 4:16 PM
ikloecker committed rW8e79c387d66e: git: Ignore some more files (authored by ikloecker).
git: Ignore some more files
Oct 20 2021, 4:16 PM
ikloecker committed rWda463eb783a2: Use "AppImage" for RELEASE_SERVICE_VERSION (authored by ikloecker).
Use "AppImage" for RELEASE_SERVICE_VERSION
Oct 20 2021, 4:16 PM
ikloecker committed rWc03f54e829c8: Remove dependency on obsolete all_src target (authored by ikloecker).
Remove dependency on obsolete all_src target
Oct 20 2021, 4:16 PM
ikloecker committed rW214f87164cdd: Improve success message of "make all" (authored by ikloecker).
Improve success message of "make all"
Oct 20 2021, 4:16 PM
ikloecker committed rWd5386ab5737c: Print "Gpg4win successfully build" only if Gpg4win is actually built (authored by ikloecker).
Print "Gpg4win successfully build" only if Gpg4win is actually built
Oct 20 2021, 4:16 PM
ikloecker committed rWe74498938ea4: Do not include unneeded Qt translations in the AppImage (authored by ikloecker).
Do not include unneeded Qt translations in the AppImage
Oct 20 2021, 4:16 PM
ikloecker committed rW4ed8d8118ea8: Fail target if running configure or cmake fails (authored by ikloecker).
Fail target if running configure or cmake fails
Oct 20 2021, 4:16 PM
ikloecker committed rW0a30565a2c2c: Add a few more libraries used by Qt (authored by ikloecker).
Add a few more libraries used by Qt
Oct 20 2021, 4:16 PM
ikloecker committed rW43f1a99ad1b5: Do not include translations of kwatchgnupg in the AppImage (authored by ikloecker).
Do not include translations of kwatchgnupg in the AppImage
Oct 20 2021, 4:16 PM
ikloecker committed rW98dfd88b93f4: Improve indentation (authored by ikloecker).
Improve indentation
Oct 20 2021, 4:16 PM
ikloecker committed rW601c36a1be73: Enable building of scdaemon with internal CCID driver (authored by ikloecker).
Enable building of scdaemon with internal CCID driver
Oct 20 2021, 4:16 PM
ikloecker committed rWe23446f1f7fd: Make wget less verbose (authored by ikloecker).
Make wget less verbose
Oct 20 2021, 4:16 PM
ikloecker committed rW9c58d7e7e4f5: Reduce differences in comments to Gpg4win 3.1.x (authored by ikloecker).
Reduce differences in comments to Gpg4win 3.1.x
Oct 20 2021, 4:16 PM
ikloecker committed rWc21edc676d7d: Print where to find the AppImage that was built (authored by ikloecker).
Print where to find the AppImage that was built
Oct 20 2021, 4:16 PM
ikloecker committed rW5511cc831663: Update gnupg to 2.3.3 (authored by ikloecker).
Update gnupg to 2.3.3
Oct 20 2021, 4:16 PM
ikloecker committed rWae041a5fcf7f: Use same package snapshots as in Gpg4win 3.1.x (authored by ikloecker).
Use same package snapshots as in Gpg4win 3.1.x
Oct 20 2021, 4:16 PM
ikloecker committed rW2d22c9f8c6ac: Add version number of Kleopatra to filename of AppImage (authored by ikloecker).
Add version number of Kleopatra to filename of AppImage
Oct 20 2021, 4:16 PM
ikloecker committed rW53650d2b0db6: Update Kleopatra (authored by aheinecke).
Update Kleopatra
Oct 20 2021, 4:16 PM
ikloecker committed rW82c7045a61da: Update patches for libkleo and kleopatra as in Gpg4win 3.1.x (authored by ikloecker).
Update patches for libkleo and kleopatra as in Gpg4win 3.1.x
Oct 20 2021, 4:16 PM
ikloecker committed rWc5f7f899ec87: Fix gettext lib name (authored by aheinecke).
Fix gettext lib name
Oct 20 2021, 4:16 PM
ikloecker committed rW09b4ba3a5a9a: Disable async encryption in GpgOL again (authored by ikloecker).
Disable async encryption in GpgOL again
Oct 20 2021, 4:16 PM
ikloecker committed rW4d294b62005e: Remove obsolete gpgol patch (authored by aheinecke).
Remove obsolete gpgol patch
Oct 20 2021, 4:16 PM
ikloecker committed rWaf01ddf90146: Make the patches executable before running them (authored by ikloecker).
Make the patches executable before running them
Oct 20 2021, 4:16 PM
ikloecker committed rW2d383330cf40: Use variables instead of hardcoded directory names (authored by ikloecker).
Use variables instead of hardcoded directory names
Oct 20 2021, 4:16 PM
ikloecker committed rW6cb15136e998: Configure for building gpg4win when running with --build-w32 (authored by ikloecker).
Configure for building gpg4win when running with --build-w32
Oct 20 2021, 4:16 PM
mfe added a comment to T5664: npth-1.6: error: unknown type name ‘pthread_rwlock_t’.

Thanks! I was able to compile the current source code of npth (1.7) (with gcc 7.1. and ldd (GNU libc) 2.3.2 ). The error error: unknown type name ‘pthread_rwlock_t’ didn't occour.

Oct 20 2021, 4:03 PM · npth, Bug Report
ikloecker closed T5663: Kleopatra's "Check for updates" does not work as Resolved.

Okay. So the product prefix has been added intentionally to the version.

Oct 20 2021, 3:50 PM · Restricted Project, gpg4win, kleopatra
ikloecker moved T5663: Kleopatra's "Check for updates" does not work from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 20 2021, 3:49 PM · Restricted Project, gpg4win, kleopatra
ikloecker added a project to T5663: Kleopatra's "Check for updates" does not work: Restricted Project.
Oct 20 2021, 3:48 PM · Restricted Project, gpg4win, kleopatra
ikloecker added a comment to T5668: gpgme: gpgme_op_query_swdb() does not report error from gpgconf.

The below change makes the function report a general error if gpgconf didn't write any output on stdout:

diff --git a/src/engine-gpgconf.c b/src/engine-gpgconf.c
index 28f91158..21211366 100644
--- a/src/engine-gpgconf.c
+++ b/src/engine-gpgconf.c
@@ -1245,6 +1245,13 @@ gpgconf_query_swdb (void *engine,
         }
     }
Oct 20 2021, 3:45 PM · Restricted Project, gpgme, Bug Report
ikloecker created T5668: gpgme: gpgme_op_query_swdb() does not report error from gpgconf.
Oct 20 2021, 3:42 PM · Restricted Project, gpgme, Bug Report
ikloecker committed rLIBKLEO3a04f6a635c9: Add helper returning the version number of the Gpg4win release (authored by ikloecker).
Add helper returning the version number of the Gpg4win release
Oct 20 2021, 1:54 PM
ikloecker committed rLIBKLEOb72f5db872bd: Bump library version (authored by ikloecker).
Bump library version
Oct 20 2021, 1:54 PM
ikloecker committed rKLEOPATRAebf19c3f859c: Use the version _number_ for the check for updates (authored by ikloecker).
Use the version _number_ for the check for updates
Oct 20 2021, 1:30 PM
bernhard added a comment to T5663: Kleopatra's "Check for updates" does not work.

This commit changed the behaviour:
https://invent.kde.org/pim/libkleo/-/commit/bf7af017d84747d83ec16e0f8ab03b656899bfcd#c50ded182b9e04dd8e8c34c84c3bfd32ec2c5b46_149_214

Oct 20 2021, 1:17 PM · Restricted Project, gpg4win, kleopatra
bernhard added a comment to T5663: Kleopatra's "Check for updates" does not work.

When changing the filel contents of C:\Program Files (x86)\Gpg4win\VERSION from

Gpg4win-3.1.15

to

3.1.15

the update check works again.

Oct 20 2021, 1:09 PM · Restricted Project, gpg4win, kleopatra
bernhard added a comment to T5663: Kleopatra's "Check for updates" does not work.

rW4dcba538b74e2ad2d64adb4273176a4e4f85e599 changes the contents of the VERSION file as part of T5056 both on 2020-09-20.

Oct 20 2021, 12:57 PM · Restricted Project, gpg4win, kleopatra
bernhard added a comment to T5663: Kleopatra's "Check for updates" does not work.

Well spotted @ikloecker !

Oct 20 2021, 12:39 PM · Restricted Project, gpg4win, kleopatra
werner lowered the priority of T5546: Kleopatra: After importing the first pubkey for a card from LDAP the keylistview is not refreshed from Normal to Low.

Lets downgrade the priority and keep it open in case we get reports from customers. The other option would be to replicate this here using our AD demo network. But that is a bit time consuming.

Oct 20 2021, 12:26 PM · scd, Info Needed, Restricted Project, kleopatra
gniibe updated the task description for T5665: libgcrypt : Restrict message digest use for FIPS 140-3.
Oct 20 2021, 12:21 PM · FIPS, Bug Report, libgcrypt
werner closed T5655: In -de-vs mode it is not possible so verify sigs with Ed25519 release keys. as Resolved.

Yes, but it is more complicated to do because you need to download a binary version of the keys and check that they are authentic. Most users don't known it. Anyway, I meanwhile created a Brainpool release sign key and new VSD releases are signed with that. The override option does not really harm, but we can close this bug due to the new release key.

Oct 20 2021, 12:21 PM · gnupg (gpg22), Restricted Project
gniibe added a comment to T5665: libgcrypt : Restrict message digest use for FIPS 140-3.

Perhaps, as a library (considering the benefit of users), it would be better to allow signature verification with SHA-1, to defer the decision to application.

Oct 20 2021, 12:20 PM · FIPS, Bug Report, libgcrypt
werner added a parent task for T5653: de-vs and GnuPG 2.3.3 error: T5362: Kleopatra: Add warning in compliance mode if gnupg version is not compliant.
Oct 20 2021, 12:18 PM · Restricted Project, gnupg (gpg23), kleopatra
werner added a subtask for T5362: Kleopatra: Add warning in compliance mode if gnupg version is not compliant: T5653: de-vs and GnuPG 2.3.3 error.
Oct 20 2021, 12:18 PM · Restricted Project, kleopatra
werner reassigned T5362: Kleopatra: Add warning in compliance mode if gnupg version is not compliant from aheinecke to ikloecker.
Oct 20 2021, 12:16 PM · Restricted Project, kleopatra
ikloecker added a comment to T5663: Kleopatra's "Check for updates" does not work.

Well, the debug output

org.kde.pim.kleopatra: No update for: "Gpg4win-3.1.15"

and, even more clearly,

GPGME 20211019T134123 07DC        _gpgme_io_spawn: check: path=0x031deff0 argv[ 0] = C:\Program Files (x86)\GnuPG\bin\gpgconf.exe
GPGME 20211019T134123 07DC        _gpgme_io_spawn: check: path=0x031deff0 argv[ 1] = --query-swdb
GPGME 20211019T134123 07DC        _gpgme_io_spawn: check: path=0x031deff0 argv[ 2] = gpg4win
GPGME 20211019T134123 07DC        _gpgme_io_spawn: check: path=0x031deff0 argv[ 3] = Gpg4win-3.1.15

reveals that Kleopatra via gpgme ran the command

gpgconf --query-swdb gpg4win Gpg4win-3.1.15

i.e. that current is "Gpg4win-3.1.15".

Oct 20 2021, 11:53 AM · Restricted Project, gpg4win, kleopatra
justus created T5667: gpg(v) prints the human-readable form of notations to the status-fd.
Oct 20 2021, 11:48 AM · Bug Report
ikloecker reassigned T5546: Kleopatra: After importing the first pubkey for a card from LDAP the keylistview is not refreshed from ikloecker to aheinecke.

I tried to reproduce this. Experimentally, I added P15CardWidget::searchPGPFpr() to OpenPGPKeyCardWidget, commented out the code that checks for an LDAP keyserver and called the function with a fixed fingerprint.

Oct 20 2021, 11:20 AM · scd, Info Needed, Restricted Project, kleopatra
werner triaged T5666: Create dropdown box for the reader-port option. as Normal priority.
Oct 20 2021, 11:05 AM · Restricted Project, kleopatra, Feature Request
bernhard added a comment to T5663: Kleopatra's "Check for updates" does not work.

@ikloecker Note you can easily setup a test instance using one of Microsoft'S test VMs, see https://lists.wald.intevation.org/pipermail/gpg4win-devel/2021-October/001769.html

Oct 20 2021, 10:52 AM · Restricted Project, gpg4win, kleopatra
Alexander Lohnau <alexander.lohnau@gmx.de> committed rKLEOPATRA753d7796c199: Install service meus as executables (authored by Alexander Lohnau <alexander.lohnau@gmx.de>).
Install service meus as executables
Oct 20 2021, 10:49 AM
Jakuje added a comment to T5665: libgcrypt : Restrict message digest use for FIPS 140-3.

Thank you for having a look into that. The change looks fine, but I need to get some clarification about what "Legacy use" means for "Digital signature verification" in the Table 8 of https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar2.pdf

Oct 20 2021, 10:34 AM · FIPS, Bug Report, libgcrypt
ikloecker claimed T5546: Kleopatra: After importing the first pubkey for a card from LDAP the keylistview is not refreshed.
Oct 20 2021, 10:32 AM · scd, Info Needed, Restricted Project, kleopatra
ikloecker moved T5546: Kleopatra: After importing the first pubkey for a card from LDAP the keylistview is not refreshed from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 20 2021, 10:32 AM · scd, Info Needed, Restricted Project, kleopatra
bernhard added a comment to T5663: Kleopatra's "Check for updates" does not work.

We should disable the menu button until it is fixed. I think it should be on the roadmap of 4.0 to have this working.

Oct 20 2021, 10:21 AM · Restricted Project, gpg4win, kleopatra
gniibe added a comment to T5664: npth-1.6: error: unknown type name ‘pthread_rwlock_t’.

I have a little concern for glibc 2.34 (which has dummy libpthread and all is actually in libc).

Oct 20 2021, 9:57 AM · npth, Bug Report
Alexander Lohnau <alexander.lohnau@gmx.de> committed rKLEOPATRA9459a42a5229: Port service menus to new install location (authored by Alexander Lohnau <alexander.lohnau@gmx.de>).
Port service menus to new install location
Oct 20 2021, 9:55 AM
werner added a comment to T5664: npth-1.6: error: unknown type name ‘pthread_rwlock_t’.

Okay, any thing else missing in nPth?

Oct 20 2021, 8:37 AM · npth, Bug Report
gniibe committed rCa23cf78102f3: cipher: Reject SHA-1 for hash+sign/verify when FIPS enabled. (authored by gniibe).
cipher: Reject SHA-1 for hash+sign/verify when FIPS enabled.
Oct 20 2021, 5:40 AM
gniibe added a comment to T5665: libgcrypt : Restrict message digest use for FIPS 140-3.

(3-1) is implemented: rCa23cf78102f3: cipher: Reject SHA-1 for hash+sign/verify when FIPS enabled.

Oct 20 2021, 5:13 AM · FIPS, Bug Report, libgcrypt
gniibe updated the task description for T5665: libgcrypt : Restrict message digest use for FIPS 140-3.
Oct 20 2021, 4:28 AM · FIPS, Bug Report, libgcrypt
gniibe added a comment to T5665: libgcrypt : Restrict message digest use for FIPS 140-3.

For a programmer like me, it is easier if the behavior will be:

Oct 20 2021, 4:26 AM · FIPS, Bug Report, libgcrypt
gniibe triaged T5664: npth-1.6: error: unknown type name ‘pthread_rwlock_t’ as Normal priority.

It was fixed in: rPTH223e59f992f9: build: Define _NPTH_NO_RWLOCK when we can't find pthread_rwlock_t. and rPTH09a12a679ec0: Fix how we expose rwlock API.

Oct 20 2021, 3:36 AM · npth, Bug Report
gniibe added a comment to T5433: libgcrypt: Do not use SHA1 by default.

The problem is that the SHA-1 as a digest algorithm itself is allowed in FIPS mode (for non-cryptographic digests), but using it as part of approved signature scheme is not allowed

Oct 20 2021, 3:27 AM · FIPS, libgcrypt, Bug Report
gniibe added a comment to T5665: libgcrypt : Restrict message digest use for FIPS 140-3.

The current code is inconsistent about its behavior: how non-approved digest algos are supported or not when FIPS enabled.

Oct 20 2021, 3:17 AM · FIPS, Bug Report, libgcrypt
gniibe added projects to T5665: libgcrypt : Restrict message digest use for FIPS 140-3: libgcrypt, Bug Report, FIPS.

If .fips will mean FIPS 140-3, why not the following patch?

diff --git a/cipher/sha1.c b/cipher/sha1.c
index 3bb24c7e..cb50ef66 100644
--- a/cipher/sha1.c
+++ b/cipher/sha1.c
@@ -759,7 +759,7 @@ static gcry_md_oid_spec_t oid_spec_sha1[] =
Oct 20 2021, 3:07 AM · FIPS, Bug Report, libgcrypt
gniibe renamed T5244: libgcrypt: Restrict MD5 use from libgcrypt: Restrict message digest use to libgcrypt: Restrict MD5 use.
Oct 20 2021, 3:04 AM · Bug Report, FIPS, libgcrypt
gniibe added a project to T5244: libgcrypt: Restrict MD5 use: Bug Report.

I created T5665: libgcrypt : Restrict message digest use for FIPS 140-3.

Oct 20 2021, 3:03 AM · Bug Report, FIPS, libgcrypt