Page MenuHome GnuPG
Feed All Stories

Apr 15 2021

xandox added a comment to T5380: Tools needed during a build lack of CFLAGS was passed durring configure time.

Ok, thank you. I think task can be closed.

Apr 15 2021, 5:14 PM · MacOS, Bug Report
ikloecker committed rGTO1e443bb4fdb0: Some minor cosmetic code changes (authored by ikloecker).
Some minor cosmetic code changes
Apr 15 2021, 1:45 PM
ikloecker committed rGTO344149824426: Require same version of gpgme as libkleo (authored by ikloecker).
Require same version of gpgme as libkleo
Apr 15 2021, 1:45 PM
ikloecker committed rGTOc3d63768121c: Adapt to new result type of KeyResolver (authored by ikloecker).
Adapt to new result type of KeyResolver
Apr 15 2021, 1:45 PM
ikloecker committed rGTO0feec2a911de: Improve debug output (authored by ikloecker).
Improve debug output
Apr 15 2021, 1:45 PM
ikloecker committed rGTO39e9b67ba48b: Remove obsolete workingDirectory parameter (authored by ikloecker).
Remove obsolete workingDirectory parameter
Apr 15 2021, 1:45 PM
ikloecker triaged T5398: GpgOL: In mixed mode disable or hide not needed signing and encrypt-to-self keys as Normal priority.
Apr 15 2021, 12:37 PM · kleopatra, Restricted Project, gpgol
ikloecker triaged T5397: GpgOL: Add support for groups with S/MIME keys as Normal priority.
Apr 15 2021, 12:33 PM · kleopatra, Restricted Project, gpgol
ikloecker committed rLIBKLEO2c3e7b4cc7ad: Simplify/change result type of KeyResolver and its internal helpers (authored by ikloecker).
Simplify/change result type of KeyResolver and its internal helpers
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEOb31b915a6acf: Abort resolution if mandatory overrides conflict with protocol requirement (authored by ikloecker).
Abort resolution if mandatory overrides conflict with protocol requirement
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEO36633c0190ee: Bump library version (authored by ikloecker).
Bump library version
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEO62f126bd9403: Correctly handle mixed protocol mode everywhere (authored by ikloecker).
Correctly handle mixed protocol mode everywhere
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEO3d119f5de8fc: Fix result of resolution if mixed protocols are needed but not allowed (authored by ikloecker).
Fix result of resolution if mixed protocols are needed but not allowed
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEO6d3f3aa09761: Remove unused and incomplete member function (authored by ikloecker).
Remove unused and incomplete member function
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEO589dd7f6a555: Add a few tests for failed resolution (authored by ikloecker).
Add a few tests for failed resolution
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEOff7dbb417c40: Common overrides override protocol-specific resolution (authored by ikloecker).
Common overrides override protocol-specific resolution
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEO900995e43048: Ignore protocol-specific overrides if common overrides are given (authored by ikloecker).
Ignore protocol-specific overrides if common overrides are given
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEO7455e56a016f: Add tests verifying that common overrides are used for OpenPGP and S/MIME (authored by ikloecker).
Add tests verifying that common overrides are used for OpenPGP and S/MIME
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEO63285e198b8b: Add some tests for protocol-specific overrides (authored by ikloecker).
Add some tests for protocol-specific overrides
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEOee2a8036cfb3: Ignore S/MIME certificates given as OpenPGP overrides and vice versa (authored by ikloecker).
Ignore S/MIME certificates given as OpenPGP overrides and vice versa
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEO6e5b353f093e: Add and update some test keys and certificates (authored by ikloecker).
Add and update some test keys and certificates
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEOa02a75711ee5: Add template specialization of qCompare for GpgME::UserID::Validity (authored by ikloecker).
Add template specialization of qCompare for GpgME::UserID::Validity
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEO2b9b5ed2cdf9: Clean up header includes (authored by ikloecker).
Clean up header includes
Apr 15 2021, 12:25 PM
ikloecker committed rLIBKLEOfebebf344aca: Remove bogus doxygen group start marker (authored by ikloecker).
Remove bogus doxygen group start marker
Apr 15 2021, 12:25 PM
Jakuje added a comment to T5384: pinentry coverity static analysis reports.

I hope last amendment is the following, which can happen if the tty can be opened only for reading but not for writing:

--- a/tty/pinentry-tty.c
+++ b/tty/pinentry-tty.c
@@ -583,7 +583,8 @@ tty_cmd_handler (pinentry_t pinentry)
   if (pinentry->ttyname)
     {
       fclose (ttyfi);
-      fclose (ttyfo);
+      if (ttyfo)
+        fclose (ttyfo);
     }
Apr 15 2021, 11:43 AM · pinentry, Bug Report
gniibe committed rGPA77a069390073: build: Update m4/gpg-error.m4 (authored by gniibe).
build: Update m4/gpg-error.m4
Apr 15 2021, 10:35 AM
gniibe committed rGPA240fb98c6e6b: Let autogen.sh create the VERSION file. (authored by gniibe).
Let autogen.sh create the VERSION file.
Apr 15 2021, 10:35 AM
gniibe committed rGPAfe623eab3d20: po: Update Japanese Translations. (authored by gniibe).
po: Update Japanese Translations.
Apr 15 2021, 10:35 AM
werner raised the priority of T5292: regression: no longer possible to get signatures from decrypt from unknown keys from Low to Normal.
Apr 15 2021, 9:16 AM · patch, Python, gpgme, Bug Report
werner triaged T5292: regression: no longer possible to get signatures from decrypt from unknown keys as Low priority.
Apr 15 2021, 9:16 AM · patch, Python, gpgme, Bug Report
werner assigned T5294: Displaying the date and time at which you've replied to an email when using GPgOL to aheinecke.
Apr 15 2021, 9:15 AM · gpgol, Feature Request
gniibe committed rCa8d6c6c1b258: cipher: Fix memory leaks for EdDSA. (authored by gniibe).
cipher: Fix memory leaks for EdDSA.
Apr 15 2021, 9:14 AM
werner triaged T5364: Kleopatra won't start as Normal priority.

gpg4win 3.1 has no full Unicode support. You may try to install the new GnuPG 2.3 version on top of gpg4win to fix this problem or wait until we have releases gpg4win 4 which will come with GnuPG 2.3.

Apr 15 2021, 9:14 AM · workaround, gnupg, Windows, kleopatra, Bug Report, gpg4win
gniibe closed T5385: libgcrypt coverity static analysis reports as Resolved.

Thank you.
We also need to release memory for points.

Apr 15 2021, 9:13 AM · libgcrypt, Bug Report
werner triaged T5324: Kleopatra: Add recursive folder decryption as Normal priority.

Please tell us more details on how we can replicate your problem. Which Windows version, any non-standard software installed, non-standard installation direcories etc. You may also provide the output of

Apr 15 2021, 9:10 AM · kleopatra, Feature Request, gpg4win
werner triaged T5356: gnupg2 test failure on s390x as Normal priority.
Apr 15 2021, 9:03 AM · libgcrypt, Bug Report
werner reassigned T5371: Handle invalid compliance settings from werner to aheinecke.
Apr 15 2021, 9:02 AM · Feature Request, Restricted Project, kleopatra
werner triaged T5373: Using GCRY_THREAD_OPTION_PTHREAD_IMPL in a file compiled with Clang generates deprecation warning as Low priority.
Apr 15 2021, 9:01 AM · clang, libgcrypt, Bug Report
gniibe closed T5380: Tools needed during a build lack of CFLAGS was passed durring configure time as Resolved.

mkheader has CFLAGS_FOR_BUILD since libassuan 2.5.4.
gost-s-box has so since libgcrypt 1.9.0.

Apr 15 2021, 8:41 AM · MacOS, Bug Report
werner added a project to T4673: 2.3-only: Don't fallback to PC/SC on failure by the internal CCID driver, only use PC/SC when --disable-ccid is specified: gnupg (gpg23).
Apr 15 2021, 8:39 AM · gnupg (gpg23), Restricted Project, scd, Feature Request
gniibe committed rP6b697bd3e9f8: build: Update m4/gpg-error.m4 (authored by gniibe).
build: Update m4/gpg-error.m4
Apr 15 2021, 7:33 AM
gniibe raised the priority of T4673: 2.3-only: Don't fallback to PC/SC on failure by the internal CCID driver, only use PC/SC when --disable-ccid is specified from Normal to High.

Making this task up to HIGH priority, so that people can easily find this change in 2.3.0.

Apr 15 2021, 7:20 AM · gnupg (gpg23), Restricted Project, scd, Feature Request
gniibe closed T3152: KDF DO support in OpenPGP card as Resolved.
Apr 15 2021, 7:10 AM · scd
gniibe closed T3300: scd: Support multiple readers by PC/SC driver as Resolved.
Apr 15 2021, 7:10 AM · Restricted Project, gnupg (gpg23), scd
gniibe changed the status of T4848: Usage of git in configure.ac for pinentry/gpa finds incorrect repositories from Open to Testing.

Done for gpa.
Please test.

Apr 15 2021, 7:08 AM · pinentry, gpa, toolchain, Bug Report
gniibe added a comment to T4848: Usage of git in configure.ac for pinentry/gpa finds incorrect repositories.

Done for pinentry.

Apr 15 2021, 6:36 AM · pinentry, gpa, toolchain, Bug Report
gniibe committed rP1c0c177fa5ae: Let autogen.sh create the VERSION file. (authored by gniibe).
Let autogen.sh create the VERSION file.
Apr 15 2021, 6:35 AM
gniibe closed T5100: OpenPGP app overwrites Yubikey serial number as Resolved.
Apr 15 2021, 4:42 AM · Restricted Project, gnupg, scd, yubikey, kleopatra
gniibe closed T5100: OpenPGP app overwrites Yubikey serial number, a subtask of T5130: Kleopatra: Generating OpenPGP keys on Yubikey (with PIV enabled) fails with "General error", as Resolved.
Apr 15 2021, 4:42 AM · kleopatra, Bug Report
gniibe closed T5296: libgpg-error: build failure without threads as Resolved.
Apr 15 2021, 4:18 AM · gpgrt, Bug Report
gniibe closed T5062: gpg: error getting version from 'scdaemon': Forbidden as Resolved.

This task includes multiple issues: two sub-tasks and how-to-use remotely.
Two tasks had been fixed already.
The last one was documented here.
So, closing.

Apr 15 2021, 4:15 AM · Bug Report
gniibe closed T4158: UIF (User Interaction Flag) DO support as Resolved.
Apr 15 2021, 4:09 AM · Restricted Project, Feature Request, scd, gnupg
gniibe triaged T5396: Remove USE_RANDOM_DAEMON support from libgcrypt as Wishlist priority.
Apr 15 2021, 3:57 AM · libgcrypt
l10n daemon script <scripty@kde.org> committed rLIBKLEO3ae432981859: 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
Apr 15 2021, 3:16 AM
gniibe committed rG283ccbc824d8: po: Update Italian Translation. (authored by Denis).
po: Update Italian Translation.
Apr 15 2021, 3:16 AM
gniibe closed T5390: Italian translation GnuPG 2.3 as Resolved.

Thank you. Merged and pushed.

Apr 15 2021, 3:15 AM · i18n, gnupg (gpg23)

Apr 14 2021

werner triaged T5395: libksba coverity static analysis reports as Normal priority.
Apr 14 2021, 8:59 PM · libksba, Bug Report
Jakuje reopened T5384: pinentry coverity static analysis reports as "Open".

Thank you for applying the provided changes!

Apr 14 2021, 5:44 PM · pinentry, Bug Report
ikloecker committed rLIBKLEO4be125c3540b: Simplify/change result type of KeyResolver and its internal helpers (authored by ikloecker).
Simplify/change result type of KeyResolver and its internal helpers
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEOe645923e5e07: Correctly handle mixed protocol mode everywhere (authored by ikloecker).
Correctly handle mixed protocol mode everywhere
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEOf6f91597e545: Abort resolution if mandatory overrides conflict with protocol requirement (authored by ikloecker).
Abort resolution if mandatory overrides conflict with protocol requirement
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO531636d17484: Fix result of resolution if mixed protocols are needed but not allowed (authored by ikloecker).
Fix result of resolution if mixed protocols are needed but not allowed
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEOd7bbf9769fbb: Remove unused and incomplete member function (authored by ikloecker).
Remove unused and incomplete member function
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEOefd5ed706765: Add a few tests for failed resolution (authored by ikloecker).
Add a few tests for failed resolution
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEOe92fc1ee058b: Ignore protocol-specific overrides if common overrides are given (authored by ikloecker).
Ignore protocol-specific overrides if common overrides are given
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO5d8d213d62d5: Common overrides override protocol-specific resolution (authored by ikloecker).
Common overrides override protocol-specific resolution
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO610531cd93c3: Add tests verifying that common overrides are used for OpenPGP and S/MIME (authored by ikloecker).
Add tests verifying that common overrides are used for OpenPGP and S/MIME
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO2363f8ffd472: Add some tests for protocol-specific overrides (authored by ikloecker).
Add some tests for protocol-specific overrides
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO4549f8ba127c: Add template specialization of qCompare for GpgME::UserID::Validity (authored by ikloecker).
Add template specialization of qCompare for GpgME::UserID::Validity
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO2b08d0fa121f: Ignore S/MIME certificates given as OpenPGP overrides and vice versa (authored by ikloecker).
Ignore S/MIME certificates given as OpenPGP overrides and vice versa
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO1ccf13eb8f96: Add and update some test keys and certificates (authored by ikloecker).
Add and update some test keys and certificates
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO98b9991fd408: Clean up header includes (authored by ikloecker).
Clean up header includes
Apr 14 2021, 5:33 PM
ikloecker committed rLIBKLEO218d1e071b88: Remove bogus doxygen group start marker (authored by ikloecker).
Remove bogus doxygen group start marker
Apr 14 2021, 5:33 PM
Heiko Becker <heiko.becker@kde.org> committed rKLEOPATRA546b2fe25cdf: GIT_SILENT Update Appstream for new release (authored by Heiko Becker <heiko.becker@kde.org>).
GIT_SILENT Update Appstream for new release
Apr 14 2021, 5:26 PM
Heiko Becker <heiko.becker@kde.org> committed rKLEOPATRAf881116ad023: GIT_SILENT Update Appstream for new release (authored by Heiko Becker <heiko.becker@kde.org>).
GIT_SILENT Update Appstream for new release
Apr 14 2021, 5:26 PM
gniibe committed rPa87d9e8f89f9: core,emacs,tty,curses: Fix memory leaks, invalid accese, and mistake. (authored by Jakuje).
core,emacs,tty,curses: Fix memory leaks, invalid accese, and mistake.
Apr 14 2021, 12:37 PM
Jakuje created T5395: libksba coverity static analysis reports.
Apr 14 2021, 10:46 AM · libksba, Bug Report
gniibe closed T5384: pinentry coverity static analysis reports as Resolved.

Applied and pushed.

Apr 14 2021, 8:58 AM · pinentry, Bug Report
l10n daemon script <scripty@kde.org> committed rLIBKLEO1a2b5b3ff2e1: 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
Apr 14 2021, 3:15 AM
gniibe added a comment to T5393: gnupg coverity static analysis reports.

@werner No problem. Just go ahead.

Apr 14 2021, 1:45 AM · gnupg (gpg23), Bug Report

Apr 13 2021

midipix updated midipix.
Apr 13 2021, 9:27 PM
midipix added a comment to T5394: scute: Build failure with slibtool.

Regarding slibtool: I would actually like to have an easier to maintain tool than libtool (of which we use our own version) for GnuPG related software. However, its requirement "the compiler should support -std=c99" is currently a no-starter for libgcrypt and some other libs.

Apr 13 2021, 9:13 PM · toolchain, Feature Request, scute
Jakuje added a comment to T5393: gnupg coverity static analysis reports.

Regarding the identical branches thing: This is on purpose. The function works closely together with another one which will then BUG() out. @Jakuje: If you know some meta comment to attribute this, please let me know.

Apr 13 2021, 9:05 PM · gnupg (gpg23), Bug Report
werner added a comment to T5393: gnupg coverity static analysis reports.

Regarding the identical branches thing: This is on purpose. The function works closely together with another one which will then BUG() out. @Jakuje: If you know some meta comment to attribute this, please let me know.

Apr 13 2021, 7:11 PM · gnupg (gpg23), Bug Report
werner added a comment to T5393: gnupg coverity static analysis reports.

@gniibe: If you don't mind I would like to steal task this from you. I have noticed a few things which could get a little code refresh in addition to the fixes.

Apr 13 2021, 6:57 PM · gnupg (gpg23), Bug Report
Jakuje added a comment to T5393: gnupg coverity static analysis reports.

There is couple of issues that I did not want to propose a patch for, but might require some attention:

Error: IDENTICAL_BRANCHES (CWE-398): [#def28] [important]
gnupg-2.3.0/common/tlv-builder.c:353: identical_branches: The same code is executed regardless of whether "tag < 31" is true, because the 'then' and 'else' branches are identical. Should one of the branches be modified, or the entire 'if' statement replaced?
#  351|     (void)constructed;  /* Not used, but passed for uniformity of such calls.  */
#  352|   
#  353|->   if (tag < 0x1f)
#  354|       {
#  355|         buflen++;

There are also couple of reports about the function default_homedir(), which is supposed to return const char * but in reality, it sometimes allocates memory while callers do not expect it so they do not free:

Error: RESOURCE_LEAK (CWE-772): [#def11]
gnupg-2.2.27/common/homedir.c:477: alloc_fn: Storage is returned from allocation function "default_homedir".
gnupg-2.2.27/common/homedir.c:477: var_assign: Assigning: "newdir" = storage returned from "default_homedir()".
gnupg-2.2.27/common/homedir.c:488: noescape: Resource "newdir" is not freed or pointed-to in "make_absfilename".
gnupg-2.2.27/common/homedir.c:490: leaked_storage: Returning without freeing "newdir" leaks the storage that it points to.
#  488|     the_gnupg_homedir = make_absfilename (newdir, NULL);;
#  489|     xfree (tmp);
#  490|-> }
#  491|   
#  492|
Apr 13 2021, 6:47 PM · gnupg (gpg23), Bug Report
werner added a comment to T4884: PKCS #15 support in gpgsm.

The PKCS#15 support has meanwhile received a major update. Thus we need to test with the other cards again. If there is something special for to do for a certain task, a new subtask should be created.

Apr 13 2021, 6:43 PM · Feature Request, gnupg, scd, S/MIME
werner added a subtask for T4884: PKCS #15 support in gpgsm: Unknown Object (Maniphest Task).
Apr 13 2021, 6:41 PM · Feature Request, gnupg, scd, S/MIME
werner removed a parent task for T4884: PKCS #15 support in gpgsm: Unknown Object (Maniphest Task).
Apr 13 2021, 6:41 PM · Feature Request, gnupg, scd, S/MIME
werner added a parent task for T4884: PKCS #15 support in gpgsm: Unknown Object (Maniphest Task).
Apr 13 2021, 6:40 PM · Feature Request, gnupg, scd, S/MIME
ikloecker moved T5388: Kleopatra: Search shows all results as uncertified from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Apr 13 2021, 4:07 PM · kleopatra, Restricted Project
ikloecker changed the status of T5388: Kleopatra: Search shows all results as uncertified from Open to Testing.

Should be done

Apr 13 2021, 4:07 PM · kleopatra, Restricted Project
ikloecker moved T5388: Kleopatra: Search shows all results as uncertified from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Apr 13 2021, 4:05 PM · kleopatra, Restricted Project
ikloecker committed rKLEOPATRAa6e582f2f075: Only show key filters with Filtering match context in filter drop down (authored by ikloecker).
Only show key filters with Filtering match context in filter drop down
Apr 13 2021, 3:50 PM
ikloecker committed rKLEOPATRA79288cafa208: Sort the filters in the drop down menu alphabetically (authored by ikloecker).
Sort the filters in the drop down menu alphabetically
Apr 13 2021, 3:49 PM
Jakuje added a comment to T5393: gnupg coverity static analysis reports.

Thank you. The initial run was against olderer version of gnupg (and had one issue in g10/keyedit.c -- see the new patch with fixup). Now I ran it against the version 2.3 and there are couple of more issues to be fixed (rebased on top of already applied changes and the previous commits).

Apr 13 2021, 3:44 PM · gnupg (gpg23), Bug Report
werner closed T5387: Accept key signatures from LDAP servers as Resolved.

Done for 2.2. and 2.3.

Apr 13 2021, 2:56 PM · Feature Request, gnupg (gpg22)
werner committed rG1303b0ed84da: gpg: Do not use self-sigs-only for LDAP keyserver imports. (authored by werner).
gpg: Do not use self-sigs-only for LDAP keyserver imports.
Apr 13 2021, 2:51 PM
werner committed rG6c26e593df51: gpg: Do not use self-sigs-only for LDAP keyserver imports. (authored by werner).
gpg: Do not use self-sigs-only for LDAP keyserver imports.
Apr 13 2021, 2:47 PM
ikloecker committed rLIBKLEObd773449398e: Remove obsolete appearanceFilters (authored by ikloecker).
Remove obsolete appearanceFilters
Apr 13 2021, 2:11 PM