Page MenuHome GnuPG
Feed Advanced Search

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
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
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

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
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
xandox added a comment to T5380: Tools needed during a build lack of CFLAGS was passed durring configure time.

Ok.
But`CFLAGS_FOR_BUILD` not mentioned in build rule for mkheader

Apr 13 2021, 1:15 PM · MacOS, Bug Report
gniibe added a comment to T5393: gnupg coverity static analysis reports.

Thank you.

Apr 13 2021, 8:02 AM · gnupg (gpg23), Bug Report
gniibe claimed T5393: gnupg coverity static analysis reports.
Apr 13 2021, 7:12 AM · gnupg (gpg23), Bug Report
gniibe closed T5389: gnupg 2.3 missing libassuan include directory in CFLAGS for several targets as Resolved.

Thank you. Applied and pushed.

Apr 13 2021, 6:59 AM · gnupg (gpg23), Bug Report
gniibe changed the status of T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9 from Open to Testing.
Apr 13 2021, 3:16 AM · !assert, Bug Report, libgcrypt
gniibe claimed T5384: pinentry coverity static analysis reports.

Thank you. I'll take care of this.

Apr 13 2021, 3:01 AM · pinentry, Bug Report
orbea added a comment to T5394: scute: Build failure with slibtool.

Regarding your patch, I am personally not opposed to it, but apparently Debian’s policy says the library/module should be called scute while Gentoo’s policy says it should be called libscute… What should an upstream developer do?

Apr 13 2021, 1:49 AM · toolchain, Feature Request, scute

Apr 12 2021

werner 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 12 2021, 11:25 PM · toolchain, Feature Request, scute
gouttegd added a project to T5394: scute: Build failure with slibtool: scute.
Apr 12 2021, 10:59 PM · toolchain, Feature Request, scute
gouttegd added a comment to T5394: scute: Build failure with slibtool.

The built file is called scute instead of libscute because it is considered to be a *module*, not a *library*. That’s apparently a Debian thing, see commit dc2211179ea7f63434d726eefbc425390c4c6427.

Apr 12 2021, 10:57 PM · toolchain, Feature Request, scute
Jakuje added a comment to T5389: gnupg 2.3 missing libassuan include directory in CFLAGS for several targets.

(FYI I did not notice any other errors with 2.3 so far)

Apr 12 2021, 6:25 PM · gnupg (gpg23), Bug Report
orbea added a project to T5394: scute: Build failure with slibtool: patch.
Apr 12 2021, 6:23 PM · toolchain, Feature Request, scute
orbea added a comment to T5394: scute: Build failure with slibtool.

This is a patch that fixes the build, I am not sure why -module is not used when HAVE_DARWIN_SYSTEM is defined, but I preserved that behavior. If its not intentional it could be added directly to libscute_la_LDFLAGS instead.

Apr 12 2021, 6:07 PM · toolchain, Feature Request, scute
orbea created T5394: scute: Build failure with slibtool.
Apr 12 2021, 6:05 PM · toolchain, Feature Request, scute
Jakuje created T5393: gnupg coverity static analysis reports.
Apr 12 2021, 5:59 PM · gnupg (gpg23), Bug Report
gniibe claimed T5380: Tools needed during a build lack of CFLAGS was passed durring configure time.
Apr 12 2021, 7:51 AM · MacOS, Bug Report
gniibe claimed T5389: gnupg 2.3 missing libassuan include directory in CFLAGS for several targets.
Apr 12 2021, 7:05 AM · gnupg (gpg23), Bug Report
gniibe closed T5381: libgpg-error coverity static analysis reports as Resolved.

Thank you for your publishing your key of CB6BE1D0D7D1594A.
I applied and pushed your changes.

Apr 12 2021, 6:08 AM · gpgrt, Bug Report

Apr 11 2021

vlato0 added a comment to T4197: Can't change language of Kleopatra.

still actual problem (Gpg4win-3.1.15, Windows 10)

Apr 11 2021, 10:04 PM · kleopatra, Bug Report, gpg4win

Apr 9 2021

Jakuje created T5389: gnupg 2.3 missing libassuan include directory in CFLAGS for several targets.
Apr 9 2021, 2:39 PM · gnupg (gpg23), Bug Report
gniibe added a comment to T5381: libgpg-error coverity static analysis reports.

Thanks. Note, that the same code is in gnupg2 in common/exechelp-posix.c:736

Apr 9 2021, 1:45 AM · gpgrt, Bug Report

Apr 8 2021

Jakuje added a comment to T5381: libgpg-error coverity static analysis reports.

For gpgrt_wait_processes, I modified it to skip invalid PID.
The change is: rE956c40f106ea: core: Fix gpgrt_wait_processes, by skipping invalid PID.

Apr 8 2021, 9:33 AM · gpgrt, Bug Report
gniibe claimed T5297: SCM SPR332 smartcard reader support broken.

Thank you.
Applied both to STABLE-BRANCH-2-2 and master (changing new function name).

Apr 8 2021, 6:50 AM · gnupg (gpg22), scd, Bug Report
gniibe added a comment to T5380: Tools needed during a build lack of CFLAGS was passed durring configure time.

CC_FOR_BUILD is used for building executables for the build machine.
CC_FOR_BUILD may be different to CC (for target).

Apr 8 2021, 6:09 AM · MacOS, Bug Report
gniibe added a comment to T5381: libgpg-error coverity static analysis reports.

For gpgrt_wait_processes, I modified it to skip invalid PID.
The change is: rE956c40f106ea: core: Fix gpgrt_wait_processes, by skipping invalid PID.

Apr 8 2021, 4:26 AM · gpgrt, Bug Report

Apr 7 2021

werner triaged T5385: libgcrypt coverity static analysis reports as Low priority.

Yes, will be fixed but it has no severity because the fault is actually by the caller.

Apr 7 2021, 6:22 PM · libgcrypt, Bug Report
Jakuje created T5385: libgcrypt coverity static analysis reports.
Apr 7 2021, 5:15 PM · libgcrypt, Bug Report
Jakuje created T5384: pinentry coverity static analysis reports.
Apr 7 2021, 3:00 PM · pinentry, Bug Report
xandox added a comment to T5380: Tools needed during a build lack of CFLAGS was passed durring configure time.

Referencing external patches is not sufficient

Apr 7 2021, 1:06 PM · MacOS, Bug Report
xandox added a comment to T5380: Tools needed during a build lack of CFLAGS was passed durring configure time.

What is vcpkg?

Apr 7 2021, 1:03 PM · MacOS, Bug Report
werner added a project to T5380: Tools needed during a build lack of CFLAGS was passed durring configure time: MacOS.

Sorry, I can't parse your message. Please describe the problem or feature requests. Referencing external patches is not sufficient. What is vcpkg?

Apr 7 2021, 12:23 PM · MacOS, Bug Report
Jakuje added a comment to T5381: libgpg-error coverity static analysis reports.

Thanks. I understand that this is no big issue in the test code, but half of the code paths have proper cleaning already so fixing it once should save anyone in the future going through the same issues over and over again during our releases or anyone else who would run your code through static analyzer.

Apr 7 2021, 11:56 AM · gpgrt, Bug Report
gniibe added a comment to T5381: libgpg-error coverity static analysis reports.

Thank you.
For get_attr_l, I pushed a fix as rE89a353f418f5: build: Fix gpgrt-config for handling 'Requires' field.

Apr 7 2021, 10:25 AM · gpgrt, Bug Report

Apr 6 2021

werner added a project to T5381: libgpg-error coverity static analysis reports: gpgrt.

Actually I don't care about releasing resources for regression test failures.
The other missing free is for code which is commented out (#if 0) but should eventually be fixed.

Apr 6 2021, 11:29 PM · gpgrt, Bug Report
jukivili added a comment to T5369: GnuPG build on Apple with Clang.

Note that rndjent.c is already build with -O0 as can be seen in example above. That warning could be silenced by surrounding pragma with #ifdef __OPTIMIZE__ (with should be supported by GCC and Clang).

Apr 6 2021, 10:20 PM · libgcrypt, MacOS, Bug Report
Jakuje added a comment to T5381: libgpg-error coverity static analysis reports.

FYI, I sent DCO to gnupg-devel@gnupg.org some moments ago, so I hope it arrived correctly.

Apr 6 2021, 5:57 PM · gpgrt, Bug Report
Jakuje created T5381: libgpg-error coverity static analysis reports.
Apr 6 2021, 5:56 PM · gpgrt, Bug Report
xandox changed External Link from https://github.com/microsoft/vcpkg/pull/15605 https://github.com/microsoft/vcpkg/pull/17020 https://github.com/microsoft/vcpkg/pull/17023 https://github.com/microsoft/vcpkg/pull/17021 to https://github.com/microsoft/vcpkg/pull/15605 on T5380: Tools needed during a build lack of CFLAGS was passed durring configure time.
Apr 6 2021, 1:36 PM · MacOS, Bug Report
xandox created T5380: Tools needed during a build lack of CFLAGS was passed durring configure time.
Apr 6 2021, 1:35 PM · MacOS, Bug Report
werner triaged T5369: GnuPG build on Apple with Clang as Low priority.
Apr 6 2021, 12:10 PM · libgcrypt, MacOS, Bug Report
werner triaged T5377: pinentry-qt dialog cannot be raised under Linux/Wayland as Normal priority.
Apr 6 2021, 9:56 AM · pinentry, Bug Report

Apr 4 2021

gpatel-fr added a comment to T4278: Signed mails not visible in Exchange web interface (owa).

This feature does not use Outlook per se.. It's a problem with Exchange really. An Exchange Add-in would be needed to solve it, an Outlook add-in such as Gpgol can't do anything about it..

Apr 4 2021, 4:57 PM · Not A Bug, gpgol, Bug Report, gpg4win

Apr 1 2021

werner added a comment to T5377: pinentry-qt dialog cannot be raised under Linux/Wayland.

Seems that it is not a coincidence that Wayland starts with a W like Windows. ;-)

Apr 1 2021, 12:28 PM · pinentry, Bug Report
holi0317 created T5377: pinentry-qt dialog cannot be raised under Linux/Wayland.
Apr 1 2021, 12:11 PM · pinentry, Bug Report
werner added a project to T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1: arm.
Apr 1 2021, 11:07 AM · arm, MacOS, gnupg, Bug Report
werner triaged T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1 as Normal priority.
Apr 1 2021, 11:02 AM · arm, MacOS, gnupg, Bug Report
gniibe closed T5289: gen-lock-obj.sh uses echo -n from /bin/sh, which echos "-n" as Resolved.

Fixed in 1.42.

Apr 1 2021, 5:58 AM · MacOS, gpgrt, Bug Report

Mar 30 2021

werner triaged T5376: gpg --fetch-keys no longer returns non 0 exit status on failure as Normal priority.

You are coming pretty late to the party ;-). Since 2.1.0 we don't use the ancient keyserver helpers anymore but reworked the entire network access. I even doubt that I can still test with a 2.0 version.

Mar 30 2021, 8:16 PM · gnupg (gpg22), Bug Report
vStone created T5376: gpg --fetch-keys no longer returns non 0 exit status on failure.
Mar 30 2021, 6:45 PM · gnupg (gpg22), Bug Report
werner changed the status of T5356: gnupg2 test failure on s390x from Open to Testing.
Mar 30 2021, 5:41 PM · libgcrypt, Bug Report
werner added a comment to T5356: gnupg2 test failure on s390x.

We have two or three other open issue which I would like to address before a release. FWIW, release ticket is T5305.

Mar 30 2021, 5:41 PM · libgcrypt, Bug Report
werner added a comment to T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.

Do what ever you want with _gcry prefixed functions - this is never considered an API or ABI break. There are some exceptions for internal functions used by macros but those are clearly marked.

Mar 30 2021, 5:38 PM · arm, MacOS, gnupg, Bug Report
ikloecker closed T5357: Kleopatra fails to load as Resolved.

Good to hear that it works now.

Mar 30 2021, 5:36 PM · gpg4win, Bug Report
Jakuje added a comment to T5356: gnupg2 test failure on s390x.

I already backported the above for Fedora so I am not in hurry now. But I believe others might hit the same issue.

Mar 30 2021, 4:52 PM · libgcrypt, Bug Report
jukivili updated subscribers of T5356: gnupg2 test failure on s390x.

@werner Can you comment about bugfix release?

Mar 30 2021, 4:50 PM · libgcrypt, Bug Report
jukivili added a comment to T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.

These functions are internal to library and, for example, on linux/windows builds are not externally available.

Mar 30 2021, 4:48 PM · arm, MacOS, gnupg, Bug Report
cbiedl added a comment to T5357: Kleopatra fails to load.

Admin here. I'm sorry your replies did not make it to this site but somewhere got stuck. So copying them for completeness:

Mar 30 2021, 3:35 PM · gpg4win, Bug Report
aheinecke added a comment to T5374: GpgOL: Can't move a signed mail in Outlook from In-Mail folder to any other folder.

Very strange. Both logs show no error.

Mar 30 2021, 11:06 AM · gpgol, Bug Report, gpg4win
EnricoH added a comment to T5374: GpgOL: Can't move a signed mail in Outlook from In-Mail folder to any other folder.

Sorry, first log was without API.
This log includes API calls.

Mar 30 2021, 10:58 AM · gpgol, Bug Report, gpg4win
EnricoH added a comment to T5374: GpgOL: Can't move a signed mail in Outlook from In-Mail folder to any other folder.

Here we go. ;-)

Mar 30 2021, 10:53 AM · gpgol, Bug Report, gpg4win
aheinecke added a comment to T5374: GpgOL: Can't move a signed mail in Outlook from In-Mail folder to any other folder.

Just drag and drop it into the input field. There is also a little cloud icon that makes this explicit.

Mar 30 2021, 10:50 AM · gpgol, Bug Report, gpg4win
EnricoH added a comment to T5374: GpgOL: Can't move a signed mail in Outlook from In-Mail folder to any other folder.

Thanks for this very quick reply.

Mar 30 2021, 10:49 AM · gpgol, Bug Report, gpg4win
aheinecke triaged T5374: GpgOL: Can't move a signed mail in Outlook from In-Mail folder to any other folder as Normal priority.

Mmh, all these issues should be fixed with the most recent versions.

Mar 30 2021, 10:21 AM · gpgol, Bug Report, gpg4win
EnricoH created T5374: GpgOL: Can't move a signed mail in Outlook from In-Mail folder to any other folder.
Mar 30 2021, 8:34 AM · gpgol, Bug Report, gpg4win
gniibe claimed T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9.
Mar 30 2021, 5:56 AM · !assert, Bug Report, libgcrypt
gniibe added a comment to T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9.

The optimization introduced for curve 25519 and curve 448 en-bugged for usage of direct MPI.

Mar 30 2021, 3:37 AM · !assert, Bug Report, libgcrypt

Mar 29 2021

werner added projects to T5373: Using GCRY_THREAD_OPTION_PTHREAD_IMPL in a file compiled with Clang generates deprecation warning: libgcrypt, clang.

Yet another identify theft scam committed by clang.

Mar 29 2021, 10:22 PM · clang, libgcrypt, Bug Report
mikecrowe created T5373: Using GCRY_THREAD_OPTION_PTHREAD_IMPL in a file compiled with Clang generates deprecation warning.
Mar 29 2021, 6:18 PM · clang, libgcrypt, Bug Report
JW added a comment to T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.

This patch should work if configure properly detects need for extra underscore on C symbols:

Mar 29 2021, 6:12 PM · arm, MacOS, gnupg, Bug Report
jukivili added a comment to T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.

This patch should work if configure properly detects need for extra underscore on C symbols:

Mar 29 2021, 4:55 PM · arm, MacOS, gnupg, Bug Report
werner updated the task description for T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9.
Mar 29 2021, 4:01 PM · !assert, Bug Report, libgcrypt
werner updated the task description for T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9.
Mar 29 2021, 3:58 PM · !assert, Bug Report, libgcrypt
werner closed T5368: warning: variable 'zlen' is uninitialized as Invalid.

Please look at the code:

Mar 29 2021, 8:30 AM · ntbtls, Bug Report
JW added a comment to T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac.

Sorry to dig up an old report...

Mar 29 2021, 2:23 AM · Restricted Project, MacOS, libgcrypt, Bug Report
JW added a comment to T5157: libgcrypt: ARM64 Builds on macOS fail.

Sorry to dig up an old thread...

Mar 29 2021, 2:11 AM · toolchain, MacOS, libgcrypt, Bug Report
JW updated the task description for T5369: GnuPG build on Apple with Clang.
Mar 29 2021, 1:59 AM · libgcrypt, MacOS, Bug Report
JW updated the task description for T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.
Mar 29 2021, 1:59 AM · arm, MacOS, gnupg, Bug Report
JW updated the task description for T5369: GnuPG build on Apple with Clang.
Mar 29 2021, 1:58 AM · libgcrypt, MacOS, Bug Report
JW updated the task description for T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.
Mar 29 2021, 1:57 AM · arm, MacOS, gnupg, Bug Report
JW added a comment to T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.

Here's the patch I am using for the Apple M1: libgcrypt-darwin.patch. The patch is public domain so anyone is free to use it.

Mar 29 2021, 12:51 AM · arm, MacOS, gnupg, Bug Report
JW added a comment to T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.

This is kind of a hack, but this patch:

Mar 29 2021, 12:03 AM · arm, MacOS, gnupg, Bug Report

Mar 28 2021

JW updated the task description for T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.
Mar 28 2021, 10:40 PM · arm, MacOS, gnupg, Bug Report
JW created T5370: Apple M1 and Symbol not found: __gcry_mpih_mul_1.
Mar 28 2021, 10:36 PM · arm, MacOS, gnupg, Bug Report
JW updated the task description for T5369: GnuPG build on Apple with Clang.
Mar 28 2021, 10:31 PM · libgcrypt, MacOS, Bug Report
JW created T5369: GnuPG build on Apple with Clang.
Mar 28 2021, 10:10 PM · libgcrypt, MacOS, Bug Report
JW created T5368: warning: variable 'zlen' is uninitialized.
Mar 28 2021, 8:24 PM · ntbtls, Bug Report

Mar 26 2021

deragon updated the task description for T5367: PDF signed with --clearsign has image distorted..
Mar 26 2021, 7:10 PM · Not A Bug, FAQ
deragon updated the task description for T5367: PDF signed with --clearsign has image distorted..
Mar 26 2021, 7:08 PM · Not A Bug, FAQ
deragon updated the task description for T5367: PDF signed with --clearsign has image distorted..
Mar 26 2021, 6:54 PM · Not A Bug, FAQ
deragon updated the task description for T5367: PDF signed with --clearsign has image distorted..
Mar 26 2021, 6:53 PM · Not A Bug, FAQ