Page MenuHome GnuPG
Feed Advanced Search

Dec 7 2021

ikloecker closed T5722: GpgME::Context::engineInfo() always returns engine info of first engine as Resolved.
Dec 7 2021, 12:15 PM · Restricted Project, gpgme, Bug Report
Jakuje renamed T5720: The libgpg-error is using old inet_addr() unconditionally from The libgpg-error is using old inet_pton() unconditionally to The libgpg-error is using old inet_addr() unconditionally.
Dec 7 2021, 12:12 PM · gpgrt, Bug Report
ikloecker claimed T5722: GpgME::Context::engineInfo() always returns engine info of first engine.
Dec 7 2021, 11:00 AM · Restricted Project, gpgme, Bug Report
ikloecker created T5722: GpgME::Context::engineInfo() always returns engine info of first engine.
Dec 7 2021, 11:00 AM · Restricted Project, gpgme, Bug Report
gniibe added a project to T5120: Incompatible Ed25519 secret key (no-encryption): Restricted Project.
Dec 7 2021, 7:43 AM · gnupg (gpg22), Bug Report
gniibe added a comment to T5120: Incompatible Ed25519 secret key (no-encryption).

For GnuPG 2.2, it's better to be conservative (least change of behavior, if any).

Dec 7 2021, 7:17 AM · gnupg (gpg22), Bug Report
gniibe claimed T5720: The libgpg-error is using old inet_addr() unconditionally.

Thank you, applied.

Dec 7 2021, 1:56 AM · gpgrt, Bug Report

Dec 6 2021

Jakuje created T5720: The libgpg-error is using old inet_addr() unconditionally.
Dec 6 2021, 8:54 PM · gpgrt, Bug Report
ikloecker placed T5697: Kleopatra: Crashes or hangs on circular certificate chains up for grabs.
Dec 6 2021, 4:22 PM · Restricted Project, kleopatra, Bug Report
Saturneric added a project to T5719: Notice an error of tofu_info_t introduction in gpgme document : gpgme.
Dec 6 2021, 1:38 PM · Documentation, gpgme, Bug Report
Saturneric created T5719: Notice an error of tofu_info_t introduction in gpgme document .
Dec 6 2021, 1:37 PM · Documentation, gpgme, Bug Report
Jakuje added a comment to T5636: Run integrity checks + selftests from library constructor in FIPS.

Thank you. My local tests (in emulated fips mode and normal mode) do not show any errors with current master branch.

Dec 6 2021, 11:03 AM · FIPS, libgcrypt, Bug Report
piec added a comment to T5657: dirmngr: libdns sends malformed dns requests.

Hi guys, I just tested the git version (426d82fcf1c133bfc1d5c931109d71db3f3815a9) and it works well thank you.

Dec 6 2021, 11:02 AM · Info Needed, Bug Report, dns, dirmngr
gniibe added a comment to T5636: Run integrity checks + selftests from library constructor in FIPS.

And please let me know the change rC751fcadd34ed: random: Release memory in DRBG. affects t-secmem failure.

Dec 6 2021, 7:08 AM · FIPS, libgcrypt, Bug Report
gniibe added a comment to T5636: Run integrity checks + selftests from library constructor in FIPS.

IIUC, one of the causes for the failure of secmem was resource release of DRBG memory.

Dec 6 2021, 3:34 AM · FIPS, libgcrypt, Bug Report
gniibe added a comment to T5636: Run integrity checks + selftests from library constructor in FIPS.

Thank you for testing.

Dec 6 2021, 3:23 AM · FIPS, libgcrypt, Bug Report
gniibe claimed T5714: tests: Do not run tests for algorithms that are not built-in.

Applied. Thank you.

Dec 6 2021, 1:54 AM · libgcrypt, Bug Report
gniibe closed T5657: dirmngr: libdns sends malformed dns requests as Resolved.

Fixed in 2.2.33.

Dec 6 2021, 1:01 AM · Info Needed, Bug Report, dns, dirmngr
gniibe changed the status of T5393: gnupg coverity static analysis reports from Open to Testing.
Dec 6 2021, 12:59 AM · gnupg (gpg23), Bug Report

Dec 3 2021

Jakuje added a comment to T5645: RSA/DSA keygen modification for FIPS/ACVP testing.

Thanks. I did some git archeology and found the first mention of this in the following commit in 2011 without much details:

Dec 3 2021, 10:21 AM · libgcrypt, FIPS, Bug Report
gniibe added a comment to T5645: RSA/DSA keygen modification for FIPS/ACVP testing.

Adding the case for == 0 only might be problematic, because I don't think it's an alias for a secure value; I think that == 0 means that it's up to libgcrypt to select the value (just like other generate_* functions).

Dec 3 2021, 9:14 AM · libgcrypt, FIPS, Bug Report
werner added a comment to T5712: Yubikey 5 NFC only recognized immediately after it is inserted.

There is a "sharing violatation", error which means another process got access to the card. You can try to put

Dec 3 2021, 8:15 AM · Documentation, Bug Report

Dec 2 2021

Jakuje added a comment to T5645: RSA/DSA keygen modification for FIPS/ACVP testing.

Let me get back to this once more as one of the parts for RSA was initially missed:

diff -up libgcrypt-1.8.4/cipher/rsa.c.fips-keygen libgcrypt-1.8.4/cipher/rsa.c
--- libgcrypt-1.8.4/cipher/rsa.c.fips-keygen	2017-11-23 19:16:58.000000000 +0100
+++ libgcrypt-1.8.4/cipher/rsa.c	2019-02-12 14:29:25.630513971 +0100
@@ -696,7 +696,7 @@ generate_x931 (RSA_secret_key *sk, unsig
Dec 2 2021, 4:34 PM · libgcrypt, FIPS, Bug Report
Jakuje created T5714: tests: Do not run tests for algorithms that are not built-in.
Dec 2 2021, 2:21 PM · libgcrypt, Bug Report
Jakuje added a comment to T5636: Run integrity checks + selftests from library constructor in FIPS.

I did go through a bit more testing too and the selftests still initialize and use the secure memory (and the t-secmem fails in FIPS mode if we invoke selftests from constructor). Now from run_random_selftests() -> _gcry_random_selftest() -> drbg_healthcheck() -> _gcry_rngdrbg_healthcheck_one(). So this means that we either need to de-initialize secure memory after the constructor selftests or prevent its initialization as I suggested in some of the previous comments.

Dec 2 2021, 12:29 PM · FIPS, libgcrypt, Bug Report
Yenya created T5712: Yubikey 5 NFC only recognized immediately after it is inserted.
Dec 2 2021, 11:50 AM · Documentation, Bug Report
gniibe added a comment to T5693: GPG sign in corrupts larger terminal sizing.

What would be setting those? And how do I disable it?

Dec 2 2021, 8:00 AM · MacOS, pinentry, Bug Report
pzich added a comment to T5693: GPG sign in corrupts larger terminal sizing.

It does have them defined!

$ gpg-connect-agent "getinfo getenv COLUMNS" /bye
D 80
OK
$ gpg-connect-agent "getinfo getenv LINES" /bye
D 24
OK

What would be setting those? And how do I disable it?

Dec 2 2021, 7:39 AM · MacOS, pinentry, Bug Report
gniibe added a comment to T5693: GPG sign in corrupts larger terminal sizing.

A possibility is that gpg-agent which invokes pinentry happens have COLUMNS and LINES defined, then, pinentry misbehaves.

Dec 2 2021, 6:36 AM · MacOS, pinentry, Bug Report
gniibe added a comment to T5693: GPG sign in corrupts larger terminal sizing.

Thanks again for further information.

Dec 2 2021, 6:10 AM · MacOS, pinentry, Bug Report
pzich added a comment to T5693: GPG sign in corrupts larger terminal sizing.

Hmm, I added that to my formula, and see ncurses 6.3 now, however the issue still occurs.

dyld[20991]: <55AFFB3D-2011-35CC-9486-B30BC1CA12F7> /opt/homebrew/Cellar/pinentry/1.2.0/bin/pinentry-curses
dyld[20991]: <AAD35EC9-FC8A-3ED4-A829-C59E710CEA8A> /opt/homebrew/Cellar/libassuan/2.5.5/lib/libassuan.0.dylib
dyld[20991]: <59683137-0511-3681-8BA6-04A78592B197> /opt/homebrew/Cellar/libgpg-error/1.43/lib/libgpg-error.0.dylib
dyld[20991]: <A9DA1A80-D101-339B-9637-85A65285E050> /opt/homebrew/Cellar/ncurses/6.3/lib/libncursesw.6.dylib
dyld[20991]: <679CDB15-D472-38E8-8840-B38874010D51> /usr/lib/libSystem.B.dylib
dyld[20991]: <BB47A721-69A7-3EEA-9D9B-82F88FFF2641> /usr/lib/system/libcache.dylib
dyld[20991]: <E6CCD148-5E91-3111-BE37-1C19402F4637> /usr/lib/system/libcommonCrypto.dylib
dyld[20991]: <92001FF7-799E-3BA8-BF46-5FA01FFB952C> /usr/lib/system/libcompiler_rt.dylib
dyld[20991]: <6BE94DC2-F363-3D76-B056-F45D4B56E152> /usr/lib/system/libcopyfile.dylib
dyld[20991]: <881973B2-0426-325F-8D1A-17D60AE0CBFA> /usr/lib/system/libcorecrypto.dylib
dyld[20991]: <9C4116F5-B8EB-3A00-B4B5-54AF6A76F66B> /usr/lib/system/libdispatch.dylib
dyld[20991]: <96ECED73-F10C-3941-91A7-00254B907499> /usr/lib/system/libdyld.dylib
dyld[20991]: <F7CDC52B-7961-3283-A30F-B06E2E6ED6AB> /usr/lib/system/libkeymgr.dylib
dyld[20991]: <8D2BECEF-1038-3F2C-B8EF-B02C03092286> /usr/lib/system/libmacho.dylib
dyld[20991]: <3D861651-91A7-3D78-B43B-ECAA41D63D9E> /usr/lib/system/libquarantine.dylib
dyld[20991]: <FA2D8F89-D9C4-316F-9FDC-BFF1A791BD4E> /usr/lib/system/libremovefile.dylib
dyld[20991]: <61963381-E322-3D0F-855D-CE1EA31FA4E1> /usr/lib/system/libsystem_asl.dylib
dyld[20991]: <770FEB1F-FE27-3670-810F-A063D281CC8D> /usr/lib/system/libsystem_blocks.dylib
dyld[20991]: <660D7866-E2A2-3651-A0A5-806E9217736B> /usr/lib/system/libsystem_c.dylib
dyld[20991]: <1F580793-A1C3-30C6-A9BC-7789C14677AE> /usr/lib/system/libsystem_collections.dylib
dyld[20991]: <8370E8A5-EADF-3A2C-9D5B-CA148723A5CA> /usr/lib/system/libsystem_configuration.dylib
dyld[20991]: <30C492F6-C9E6-3C1D-BE52-CA4F4FC824D6> /usr/lib/system/libsystem_containermanager.dylib
dyld[20991]: <F2A34B01-C264-3B7E-B3C9-1671E9E3C185> /usr/lib/system/libsystem_coreservices.dylib
dyld[20991]: <01C0D793-E5FB-3141-95D6-32A973F9FFF8> /usr/lib/system/libsystem_darwin.dylib
dyld[20991]: <AED9DAFC-7AB1-31CF-96A1-14C87B614DD3> /usr/lib/system/libsystem_dnssd.dylib
dyld[20991]: <F0456F65-B4DF-3E14-91DC-C0C2A7954233> /usr/lib/system/libsystem_featureflags.dylib
dyld[20991]: <5E36F087-5EF7-33B7-ACDA-CAE1C4A97621> /usr/lib/system/libsystem_info.dylib
dyld[20991]: <6AB180A4-1D1E-3FA1-88B7-A7866EFACFC8> /usr/lib/system/libsystem_m.dylib
dyld[20991]: <7C9F7726-62C1-3B03-8130-03E8A2A68DDF> /usr/lib/system/libsystem_malloc.dylib
dyld[20991]: <2F331637-80F6-3208-816F-618DA9081899> /usr/lib/system/libsystem_networkextension.dylib
dyld[20991]: <3701D756-7023-30C0-9A36-852971092AA9> /usr/lib/system/libsystem_notify.dylib
dyld[20991]: <4234FAEC-7D18-30E7-AEAD-E9FB6922AFE9> /usr/lib/system/libsystem_product_info_filter.dylib
dyld[20991]: <1214F568-24BF-379F-8A86-FF947EE5F18A> /usr/lib/system/libsystem_sandbox.dylib
dyld[20991]: <49553CC1-66C3-32B1-91C6-4415DE230F58> /usr/lib/system/libsystem_secinit.dylib
dyld[20991]: <17550B77-D255-389A-B779-906AF75314B6> /usr/lib/system/libsystem_kernel.dylib
dyld[20991]: <8B28F7A3-6681-3D34-92AE-3688A74F50E6> /usr/lib/system/libsystem_platform.dylib
dyld[20991]: <AA39FF66-B3F0-3777-99BC-F4A4C5CBD566> /usr/lib/system/libsystem_pthread.dylib
dyld[20991]: <73885FA5-76B6-3AA3-8D91-60B2E0078F99> /usr/lib/system/libsystem_symptoms.dylib
dyld[20991]: <362E885B-20EA-395B-BB01-6E46B864294D> /usr/lib/system/libsystem_trace.dylib
dyld[20991]: <D0A538E3-7A75-395A-993C-A3EA7947F55A> /usr/lib/system/libunwind.dylib
dyld[20991]: <A77B4CE2-0855-3C19-B4A6-47B094CF0DDA> /usr/lib/system/libxpc.dylib
dyld[20991]: <52A50407-CD9B-3A67-A0C2-2D9D6F3043BF> /usr/lib/libc++abi.dylib
dyld[20991]: <8FCA2160-F786-398A-AEAC-2B3D5BD72BB8> /usr/lib/libobjc.A.dylib
dyld[20991]: <6B0DE0DE-0EA2-3948-8B7D-8BA309414B27> /usr/lib/liboah.dylib
dyld[20991]: <20FBE382-CC21-324E-8813-C84B94CC04EF> /usr/lib/libc++.1.dylib
dyld[20991]: <A714AC09-9E2D-3608-B8C1-D6300E852308> /usr/lib/libiconv.2.dylib
dyld[20991]: <1907D41B-6D4B-3EA0-AD3B-5770431B6327> /usr/lib/libcharset.1.dylib
Dec 2 2021, 1:32 AM · MacOS, pinentry, Bug Report

Dec 1 2021

gHensges created T5709: Embedded images are seen as attachments after encrypting and decrypting.
Dec 1 2021, 2:43 PM · Bug Report, gpg4win
gniibe added a comment to T5693: GPG sign in corrupts larger terminal sizing.

So, the solution is to build pinentry with newer ncurses. As I wrote in another comment, it's adding a single line to the formula.

Dec 1 2021, 2:41 PM · MacOS, pinentry, Bug Report

Nov 30 2021

gniibe closed T5433: libgcrypt: Do not use SHA1 by default as Wontfix.

The change for pubkey-util.c is not needed any more, because

  • T5665 handles new functions rejects use of SHA-1 as approved signature.
  • pubkey-util.c is used by gcry_pk_sign and gcry_pk_verify.
Nov 30 2021, 10:48 AM · FIPS, libgcrypt, Bug Report
gniibe added a comment to T5693: GPG sign in corrupts larger terminal sizing.

Thank you for the info.

Nov 30 2021, 10:35 AM · MacOS, pinentry, Bug Report
pzich added a comment to T5693: GPG sign in corrupts larger terminal sizing.

I ran DYLD_PRINT_LIBRARIES=1 DYLD_PRINT_LIBRARIES_POST_LAUNCH=1 DYLD_PRINT_RPATHS=1 pinentry-curses and see libncurses.5.4 (full output below).

Nov 30 2021, 8:45 AM · MacOS, pinentry, Bug Report
gniibe added a comment to T5693: GPG sign in corrupts larger terminal sizing.

Is there some other command I should run to check which curses it's using? I see there's a --debug flag but I'm not sure how to use it.

Nov 30 2021, 3:57 AM · MacOS, pinentry, Bug Report
gniibe added a comment to T5693: GPG sign in corrupts larger terminal sizing.

I think that either of following might be true:
(1) macOS has older ncurses (which doesn't support ioctl well, to get columns/lines info) in system
(2) macOS has BSD curses (with no suport for ioctl)

Nov 30 2021, 3:53 AM · MacOS, pinentry, Bug Report
pzich added a comment to T5693: GPG sign in corrupts larger terminal sizing.

I installed it with brew and didn't provide any special options. This is one of the new M1 macs though, so perhaps there is some platform check deep in the install that is getting confused?

Nov 30 2021, 3:40 AM · MacOS, pinentry, Bug Report
gniibe added a comment to T5693: GPG sign in corrupts larger terminal sizing.

Thank you for the information. So, you don't have these environment variables set.

Nov 30 2021, 2:36 AM · MacOS, pinentry, Bug Report
pzich added a comment to T5693: GPG sign in corrupts larger terminal sizing.

printenv COLUMNS LINES shows no output, however if I echo $COLUMNS $LINES I see 160 48 both before and after the password prompt.

Nov 30 2021, 2:29 AM · MacOS, pinentry, Bug Report
gniibe added a project to T5693: GPG sign in corrupts larger terminal sizing: MacOS.

Curses application (of pinentry) get information of screen size by:

  • environment variables (COLUMNS, LINES)
  • operating system using TIOCGSIZE or TIOCGWINSZ ioctl
  • tinfo data base
Nov 30 2021, 2:21 AM · MacOS, pinentry, Bug Report

Nov 27 2021

swimmerm added a comment to T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.

Caveat, Caveat (Warning, Warning) I know I've been quite busy with other activities, and ITMT my client status went really bad and even worse reached its final point and self-rebooted while I was trying to suspend it, but anyway this update is needed because I just discovered that my last choice to prepend %ProgramFiles(x86)%\Gpg4win\bin;%ProgramFiles(x86)%\GnuPG\bin;%PATH% was not very good. Why ? Simple, as I discovered today (few hours ago) using this syntax, will only be valid&useful only if you really want to restrict Gpg4win v3.1.16 usage only to accounts in Administrators group.
Ok, so now you're wondering: How I discovered this effect ? Again simple, desktop shortcut that I have for starting new 'Command Prompt' was modified to always run as Admin, so I have to specifically choose when I want to run it without Admin privileges, and so today, after I didn't notice I had launched Kleopatra before, right after closing it, I launched a new Command Prompt and so when I tried to run 'gpgconf --kill gpg-agent' I only received this answer :

'gpgconf' is not recognized as an internal or external command,
operable program or batch file.

So then I obviously opened another 'Command Prompt' as an Admin and correctly killed gpg-agent so ensuring that everything was indeed still working as expected.
So now you're asking, why in the past I had confirmed that prepending those paths I was expecting to work, really worked ?
If you remember well how I reported Iìve done my past installations and tests, I also made those changes in OS System Environment Variables really on the fly and then just re-confirmed they were valid via GUI by simply pressing [ OK ].
And so this is the test I just repeated again and so I can re-confirm you that only after by doing so, every new 'Command Prompt' started as non Admin user will have proper access to those newly prepended paths.
Otherwise, those paths will work only for any new 'Command Prompt' if run with an account in Administrators group.
So while this can still be temporarily fine for me, I'm unsure it might have been a real standard choice for Gpg4win v3.1.16 setup run without experiencing the error I'm reporting in this bug, so please just ensure to avoid using %ProgramFiles(x86)%\Gpg4win\bin;%ProgramFiles(x86)%\GnuPG\bin; syntax when changing your paths on the fly by prepending it or appending to %PATH% even if you should try to definitely solve same error I found and reported with this bug. OK ?
Thanks for your attention (for now).

Nov 27 2021, 3:27 PM · Bug Report, gpg4win

Nov 26 2021

outer added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

Thanks for the help. After running make clean / aclocal / autoconf / autoupdate … &etc, the patch worked & make check passed all eleven 11 tests, ie the new 12th test was not performed.

Nov 26 2021, 9:46 AM · gpgrt, Bug Report
gniibe added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

Thank you for your log.

Nov 26 2021, 6:31 AM · gpgrt, Bug Report
outer added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

Here is ”config.log", or did you want just the screen output?

Nov 26 2021, 5:37 AM · gpgrt, Bug Report
gniibe added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

Please show us the log of configure, not just the result of the failure.

Nov 26 2021, 3:32 AM · gpgrt, Bug Report
outer added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

I’m not that geeky anymore.

Nov 26 2021, 2:35 AM · gpgrt, Bug Report
gniibe added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

If you see wrong result for the decision of the HAVE_LOCK_OPTIMIZATION (for running the test), it's better to contribute to gnulib (https://www.gnu.org/software/gnulib/) for the detection of thread features.

Nov 26 2021, 2:01 AM · gpgrt, Bug Report
gniibe added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.
Nov 26 2021, 1:25 AM · gpgrt, Bug Report

Nov 25 2021

outer added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

I've just confirmed that the fixes in the commit "rE50e0f32b1935" above to configure.ca & tests/makefile.am do NOT fix the problem under MacOSX Catalina 10.15.7 using Xcode 12.4, gcc Apple clang-1200.0.32.28.

Nov 25 2021, 11:31 PM · gpgrt, Bug Report
outer added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

I'm getting the same error even when compiling with x86_64/glibc (from Apple clang-1200.0.32.28) :(

Nov 25 2021, 6:59 PM · gpgrt, Bug Report
gniibe added a comment to T5331: Possibly incompatible Ed25519 signature between other implementations and 2.3-bata.

To be conservative, given the situation most implementations already support zero-removal and zero-recovery, it's better to output zero-removed signature, that is, signature with well-formed MPI.

Nov 25 2021, 6:29 AM · gnupg (gpg23), Bug Report
gniibe added a comment to T5120: Incompatible Ed25519 secret key (no-encryption).

My proposal is applying SOS (MPI with leading zero octets) patches, for 2.2, because there may be existing keys with SOS already.

Nov 25 2021, 6:17 AM · gnupg (gpg22), Bug Report
gniibe reopened T5120: Incompatible Ed25519 secret key (no-encryption), a subtask of T5114: GnuPG fails to import back generated and exported EdDSA secret key., as Open.
Nov 25 2021, 6:14 AM · gnupg, Restricted Project, gpgagent, Bug Report
gniibe reopened T5120: Incompatible Ed25519 secret key (no-encryption) as "Open".

It's not yet solved.

Nov 25 2021, 6:14 AM · gnupg (gpg22), Bug Report
gniibe updated the task description for T5331: Possibly incompatible Ed25519 signature between other implementations and 2.3-bata.
Nov 25 2021, 5:52 AM · gnupg (gpg23), Bug Report
gniibe changed the status of T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS from Open to Testing.

Reading the documentation of musl, it seems that there are no equivalent feature which detects if an application is single-threaded or not.

Nov 25 2021, 4:11 AM · gpgrt, Bug Report

Nov 24 2021

gniibe triaged T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS as Normal priority.
Nov 24 2021, 3:20 AM · gpgrt, Bug Report
gniibe added a comment to T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.

In the libgpg-error implementation, it may skip synchronization when it can detect an application is single threaded. The t-lock-single-thread test checks if it really skips as intended.

Nov 24 2021, 3:20 AM · gpgrt, Bug Report
gniibe claimed T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.
Nov 24 2021, 2:55 AM · gpgrt, Bug Report
gniibe added a comment to T5393: gnupg coverity static analysis reports.

Thank you.

Nov 24 2021, 2:52 AM · gnupg (gpg23), Bug Report

Nov 23 2021

Jakuje added a comment to T5393: gnupg coverity static analysis reports.

(forgot to upload the patch to the last comment)

Nov 23 2021, 3:59 PM · gnupg (gpg23), Bug Report
Jakuje added a comment to T5393: gnupg coverity static analysis reports.

I am fine with either way. The memcmp variant is probably cleaner to make sure all works as expected in all cases.

Nov 23 2021, 3:59 PM · gnupg (gpg23), Bug Report
werner triaged T5701: Mismatch between enums and config table as High priority.

Thanks for the well written bug report and the fix.

Nov 23 2021, 1:29 PM · gnupg (gpg23), Bug Report
werner closed T5682: ed25519 internal authenticate with openpgpcard may send long data over short apdu as Resolved.
Nov 23 2021, 1:26 PM · Restricted Project, scd, ssh, Bug Report
adriaandegroot added a comment to T5701: Mismatch between enums and config table.

So that you don't need to chase the downstream bug report, the problem from a user's perspective looks like this:

Nov 23 2021, 12:21 PM · gnupg (gpg23), Bug Report
Jakuje added a comment to T5636: Run integrity checks + selftests from library constructor in FIPS.

Thank you. Extending the semantics of GCRYCTL_CLOSE_RANDOM_DEVICE sounds good to me. I think the deinit functions were created initially especially not to change the semantics of existing code using GCRYCTL_CLOSE_RANDOM_DEVICE, but I agree that it will probably not be an issue.

Nov 23 2021, 9:59 AM · FIPS, libgcrypt, Bug Report
werner closed T5076: [solved] gpg-agent respawn another process randomly and causes cached passphrase check failed / expired as Resolved.
Nov 23 2021, 9:18 AM · gnupg (gpg22), Bug Report
werner closed T5120: Incompatible Ed25519 secret key (no-encryption), a subtask of T5114: GnuPG fails to import back generated and exported EdDSA secret key., as Resolved.
Nov 23 2021, 9:15 AM · gnupg, Restricted Project, gpgagent, Bug Report
werner closed T5120: Incompatible Ed25519 secret key (no-encryption) as Resolved.

I guess this is solved. Feel free to re-open and schedule for 2.2.34

Nov 23 2021, 9:15 AM · gnupg (gpg22), Bug Report
werner closed T5656: Error emitted: gpg: error reading symlink '/proc/curproc/file': No such file or directory as Resolved.
Nov 23 2021, 9:07 AM · gnupg (gpg23), MacOS, Bug Report
werner added a project to T5701: Mismatch between enums and config table: gnupg (gpg23).
Nov 23 2021, 9:04 AM · gnupg (gpg23), Bug Report

Nov 22 2021

ikloecker changed the status of T5697: Kleopatra: Crashes or hangs on circular certificate chains from Open to Testing.
Nov 22 2021, 10:51 AM · Restricted Project, kleopatra, Bug Report
ikloecker added a comment to T5697: Kleopatra: Crashes or hangs on circular certificate chains.

Second issue is also fixed.

Nov 22 2021, 10:50 AM · Restricted Project, kleopatra, Bug Report
adriaandegroot updated the task description for T5701: Mismatch between enums and config table.
Nov 22 2021, 10:27 AM · gnupg (gpg23), Bug Report
adriaandegroot added a comment to T5701: Mismatch between enums and config table.

Here's a patch against b091a250d1411f9962385d1338c13481da2e0f9e.

Nov 22 2021, 10:25 AM · gnupg (gpg23), Bug Report
adriaandegroot created T5701: Mismatch between enums and config table.
Nov 22 2021, 10:22 AM · gnupg (gpg23), Bug Report

Nov 19 2021

marv created T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS.
Nov 19 2021, 2:06 PM · gpgrt, Bug Report
hydra3333 added a comment to T5695: libgcrypt cross-compilation error.

PS, knowing little about it, I tend to look at builds scripts here https://github.com/msys2/MINGW-packages on how to do things.
eg https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-libgcrypt

Nov 19 2021, 9:12 AM · Bug Report
hydra3333 added a comment to T5695: libgcrypt cross-compilation error.

Thank you, it successfully cross-compiles from latest git commit (not sure if it "runs", not tested it).

Nov 19 2021, 9:09 AM · Bug Report
gniibe added a comment to T5636: Run integrity checks + selftests from library constructor in FIPS.

Part 1 was applied. Part 3, Part 4, and Part 7 are irrelevant now, because we now have rndgetentropy which doesn't use device.

Nov 19 2021, 8:50 AM · FIPS, libgcrypt, Bug Report
gniibe added a comment to T5695: libgcrypt cross-compilation error.

It was in the middle of merging jitterentropy. Please see T5692 (newer jitterentropy uses pthread by default, which was disabled now).

Nov 19 2021, 12:52 AM · Bug Report

Nov 18 2021

ikloecker added a comment to T5697: Kleopatra: Crashes or hangs on circular certificate chains.

First issue is fixed.

Nov 18 2021, 4:00 PM · Restricted Project, kleopatra, Bug Report
ikloecker renamed T5697: Kleopatra: Crashes or hangs on circular certificate chains from Kleopatra: Crash on circular certificate chains to Kleopatra: Crashes or hangs on circular certificate chains.
Nov 18 2021, 3:59 PM · Restricted Project, kleopatra, Bug Report
ikloecker claimed T5697: Kleopatra: Crashes or hangs on circular certificate chains.

Rating as High because this can be used for a DoS attack on individual users.

Nov 18 2021, 2:37 PM · Restricted Project, kleopatra, Bug Report
ikloecker created T5697: Kleopatra: Crashes or hangs on circular certificate chains.
Nov 18 2021, 2:35 PM · Restricted Project, kleopatra, Bug Report
jukivili added a comment to T5694: poly1305-s390x.S is compiled despite --disable-asm.

Following patch should prevent assembly files being built at all with --disable-asm:

Nov 18 2021, 8:51 AM · libgcrypt, Bug Report
jukivili added a comment to T5694: poly1305-s390x.S is compiled despite --disable-asm.

Thanks for your report.

Nov 18 2021, 8:27 AM · libgcrypt, Bug Report
jukivili claimed T5694: poly1305-s390x.S is compiled despite --disable-asm.
Nov 18 2021, 8:17 AM · libgcrypt, Bug Report

Nov 17 2021

werner closed T5695: libgcrypt cross-compilation error as Invalid.

Please see T5696.

Nov 17 2021, 6:30 PM · Bug Report
hydra3333 added a comment to T5695: libgcrypt cross-compilation error.

cross-compilation settings:

Nov 17 2021, 5:34 PM · Bug Report
hydra3333 added a comment to T5696: libgpg-error cross-compilation error.

The cross-compilation settings:

{ # 2019.12.13 # https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=summary
	#'repo_type' : 'archive',
	'#url' : 'https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.43.tar.bz2',
	#
	'repo_type' : 'git',
	'recursive_git' : True,
	'url' : 'git://git.gnupg.org/libgpg-error.git', # https://git.gnupg.org/ # https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=summary
	##'url' : 'https://dev.gnupg.org/source/libgpg-error.git', # https://git.gnupg.org/ # https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=summary
	#
	'configure_options': '--host={target_host} --prefix={target_prefix} --disable-shared --enable-static --disable-rpath --disable-doc --disable-tests --with-libiconv-prefix={target_prefix}', # --with-libintl=no --with-libpth=no',
	'custom_cflag' : ' ', # 2019.12.13 it fails to build with anything other than this, eg it crashes with -O3 and -fstack-protector-all -D_FORTIFY_SOURCE=2 
	'run_post_regexreplace' : (
		'autoreconf -fiv',
		'./autogen.sh --build-w64 ', 								 
	),
	'depends_on' : (
		'iconv', 
	),
}
Nov 17 2021, 5:30 PM
hydra3333 created T5696: libgpg-error cross-compilation error.
Nov 17 2021, 5:28 PM
hydra3333 created T5695: libgcrypt cross-compilation error.
Nov 17 2021, 5:26 PM · Bug Report

Nov 16 2021

pzich added a comment to T5693: GPG sign in corrupts larger terminal sizing.

Pinentry: pinentry-curses (pinentry) 1.2.0
OS: macOS 12.0
Terminal: xterm-256color (via zsh in the default Terminal.app)

Nov 16 2021, 7:58 PM · MacOS, pinentry, Bug Report
werner changed the status of T5682: ed25519 internal authenticate with openpgpcard may send long data over short apdu from Open to Testing.
Nov 16 2021, 5:24 PM · Restricted Project, scd, ssh, Bug Report
wrobelda added a comment to T5694: poly1305-s390x.S is compiled despite --disable-asm.

Additionally, poly1305-s390x.S is being compiled despite running/targeting a PC system:

Nov 16 2021, 1:31 PM · libgcrypt, Bug Report
werner triaged T5693: GPG sign in corrupts larger terminal sizing as Normal priority.

What is your Pinentry version, which OS is that, and which terminal type?

Nov 16 2021, 1:13 PM · MacOS, pinentry, Bug Report
werner triaged T5694: poly1305-s390x.S is compiled despite --disable-asm as Normal priority.
Nov 16 2021, 1:10 PM · libgcrypt, Bug Report