Page MenuHome GnuPG
Feed All Stories

Mar 30 2021

saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

@gniibe Ah yeah, that was the commit I meant to reference when I said "--maybe caused by --", but then forgot to go back and fill in the commit hash ;P.

Mar 30 2021, 8:10 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

I wonder if this works in your use case:

diff --git a/m4/gpg-error.m4 b/m4/gpg-error.m4
index d910754e..aeedaf10 100644
--- a/m4/gpg-error.m4
+++ b/m4/gpg-error.m4
@@ -65,7 +65,7 @@ AC_DEFUN([AM_PATH_GPG_ERROR],
   min_gpg_error_version=ifelse([$1], ,1.33,$1)
   ok=no
Mar 30 2021, 7:36 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

If it is new, it may be the change of this commit rC8e3cd4c4677c: build: Update gpg-error.m4.

Mar 30 2021, 7:22 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

(To be clear, I also know enough about autoconf to not have been like, blocked from upgrading by this: overriding ac_cv_path_GPGRT_CONFIG worked, but I can't believe that's the intended way for someone to ensure they get the correct path for gpgrt-config ;P.)

Mar 30 2021, 6:53 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
saurik added a comment to T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.

@gniibe The problem is that the check seems to just find gpgrt-config from the path; like, I'm already passing --prefix and --host, but it is deciding to just arbitrarily pick up my system-wide copy of /usr/local/bin/gpgrt-config. Here's my entire configure invocation from that earlier failed build: note that the --prefix is the same as --with-gpg-error-prefix.

Mar 30 2021, 6:43 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe claimed T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9.
Mar 30 2021, 5:56 AM · !assert, Bug Report, libgcrypt
gniibe committed rGd1bac0a3be70: build: Fix for make distcheck, no EPS support. (authored by gniibe).
build: Fix for make distcheck, no EPS support.
Mar 30 2021, 5:41 AM
gniibe committed rC35917373d645: build: Fix for make distcheck, no EPS support. (authored by gniibe).
build: Fix for make distcheck, no EPS support.
Mar 30 2021, 5:07 AM
gniibe triaged T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection as Normal priority.

We are in transition from old gpg-error-config to new gpgrt-config. <-- This is the cause, while I tried to cover most use cases.

Mar 30 2021, 4:19 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
gniibe committed rC45e88b8ec6df: ecc: Fix the regression of gcry_mpi_ec_add. (authored by gniibe).
ecc: Fix the regression of gcry_mpi_ec_add.
Mar 30 2021, 3:53 AM
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

gpgfan added a comment to T5212: Kleopatra: Check if run with elevated privileges and exit in that case.

Guys, no offense, but you screwed things up a lot.
You should have put some warning within installer 3.1.15 when it updates files, or at least make an error message more verbose.
Right now it is totally not obvious what to do (move from where to where{F2234144}) except for rolling back to previous version of Kleopatra.
For example, I a PC user with administrator account only (and it will remain forever), so?

Mar 29 2021, 11:21 PM · Feature Request, Restricted Project, kleopatra
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
werner committed rG592f48011790: scd:p15: Make RSA with SHA512 work with CardOS. (authored by werner).
scd:p15: Make RSA with SHA512 work with CardOS.
Mar 29 2021, 8:36 PM
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 created T5372: assertion failure mulm_25519: different sizes in Libgrypt 1.9.
Mar 29 2021, 3:54 PM · !assert, Bug Report, libgcrypt
werner committed rG2d2391dfc25c: agent: Skip unknown unknown ssh curves seen on cards. (authored by werner).
agent: Skip unknown unknown ssh curves seen on cards.
Mar 29 2021, 3:41 PM
werner committed rGa494b29af9cc: scd:p15: Support ECDSA and ECDH for CardOS. (authored by werner).
scd:p15: Support ECDSA and ECDH for CardOS.
Mar 29 2021, 3:41 PM
werner committed rGf129b0e97730: gpg: Allow ECDH with a smartcard returning just the x-ccordinate. (authored by werner).
gpg: Allow ECDH with a smartcard returning just the x-ccordinate.
Mar 29 2021, 3:41 PM
aheinecke committed rW3910d719f0ab: Package auth-sim-locked for Kleopatra (authored by aheinecke).
Package auth-sim-locked for Kleopatra
Mar 29 2021, 2:08 PM
aheinecke created T5371: Handle invalid compliance settings.
Mar 29 2021, 12:29 PM · Feature Request, Restricted Project, kleopatra
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
werner closed T5363: GnuPG 2.3 Windows localized gpgconf output broken as Resolved.
Mar 28 2021, 7:18 PM · Windows, gnupg
werner committed rG18d884f8411a: gpgconf: Do not i18n an empty string to the PO files meta data. (authored by werner).
gpgconf: Do not i18n an empty string to the PO files meta data.
Mar 28 2021, 10:41 AM
werner added a comment to T5363: GnuPG 2.3 Windows localized gpgconf output broken.

yep, Should be fixed in libgpg-error/src/w32-gettext.c unless we want a way to retrieve the meat data. We can also and faster fix this in gnupg proper.

Mar 28 2021, 10:32 AM · Windows, gnupg
ageis added a comment to T4514: Batch mode/unattended key generation: support multiple subkeys.

Hey @wener.. As I mentioned in the original post, there's a default-new-key-algo setting... Is it still not possible to use specify something like "rsa4096/cert,rsa4096/encr,rsa4096/sign,rsa4096/auth"?? Would love to see some progress on this. Glad to help test.

Mar 28 2021, 8:08 AM · gnupg24, gnupg (gpg23), Feature Request

Mar 27 2021

Laurent Montel <montel@kde.org> committed rLIBKLEO8134bb4e962d: GIT_SILENT: prepare 5.17.0rc (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.17.0rc
Mar 27 2021, 3:01 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA6e000503da80: GIT_SILENT: prepare 5.17.0rc (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.17.0rc
Mar 27 2021, 2:59 PM
werner closed T5367: PDF signed with --clearsign has image distorted. as Resolved.
Mar 27 2021, 11:29 AM · Not A Bug, FAQ
werner edited projects for T5367: PDF signed with --clearsign has image distorted., added: FAQ, Not A Bug; removed Bug Report.

--clearsign may only be used for plain text documents due to line ending conversion etc.

Mar 27 2021, 11:29 AM · Not A Bug, FAQ
werner closed T5366: "*** stack smashing detected ***" in test suite as Resolved.
Mar 27 2021, 11:27 AM · gnupg (gpg23)

Mar 26 2021

ikloecker committed rKLEOPATRAcbdf536d1ad2: Bump required version of libkleo (authored by ikloecker).
Bump required version of libkleo
Mar 26 2021, 10:55 PM
ikloecker committed rKLEOPATRA036263c4fdfd: Remove unused/obsolete HeaderView::setSectionResizeMode() and modes (authored by ikloecker).
Remove unused/obsolete HeaderView::setSectionResizeMode() and modes
Mar 26 2021, 10:55 PM
ikloecker committed rLIBKLEO84b8db1a990d: Actually install the new Algorithm header (authored by ikloecker).
Actually install the new Algorithm header
Mar 26 2021, 10:50 PM
ikloecker committed rKLEOPATRA1b7472304544: Replace all usages of the deprecated qBinaryFind (authored by ikloecker).
Replace all usages of the deprecated qBinaryFind
Mar 26 2021, 10:27 PM
ikloecker committed rLIBKLEO37cf8836670a: Replace all usages of the deprecated qBinaryFind (authored by ikloecker).
Replace all usages of the deprecated qBinaryFind
Mar 26 2021, 10:24 PM
ikloecker committed rLIBKLEOc174f2bb3867: Bump library version (authored by ikloecker).
Bump library version
Mar 26 2021, 10:24 PM
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
deragon created T5367: PDF signed with --clearsign has image distorted..
Mar 26 2021, 6:47 PM · Not A Bug, FAQ
werner committed rGa5e72b663b36: tests: Make sure the built keyboxd is used by the tests. (authored by werner).
tests: Make sure the built keyboxd is used by the tests.
Mar 26 2021, 5:07 PM
werner committed rG057131159b44: gpgconf: Fix another argv overflow if --homedir is used. (authored by werner).
gpgconf: Fix another argv overflow if --homedir is used.
Mar 26 2021, 4:52 PM
werner committed rGd3d57a1bc88e: gpgconf: Fix argv overflow if --homedir is used. (authored by werner).
gpgconf: Fix argv overflow if --homedir is used.
Mar 26 2021, 2:54 PM
werner committed rG6de1ec3ba59f: agent: Add debug output for failed RSA signature verification (authored by werner).
agent: Add debug output for failed RSA signature verification
Mar 26 2021, 2:54 PM
werner committed rG6a80d6f9206e: indent: Modernize mem2str. (authored by werner).
indent: Modernize mem2str.
Mar 26 2021, 2:54 PM
werner committed rG935765b451aa: common: New function to uncompress an ECC public key. (authored by werner).
common: New function to uncompress an ECC public key.
Mar 26 2021, 2:54 PM
werner committed rGa50093893cd1: gpgconf: Fix argv overflow if --homedir is used. (authored by werner).
gpgconf: Fix argv overflow if --homedir is used.
Mar 26 2021, 2:54 PM
werner claimed T5366: "*** stack smashing detected ***" in test suite.
Mar 26 2021, 2:14 PM · gnupg (gpg23)
cbiedl created T5366: "*** stack smashing detected ***" in test suite.
Mar 26 2021, 1:46 PM · gnupg (gpg23)
werner assigned T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection to gniibe.
Mar 26 2021, 10:47 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
aheinecke closed T4864: New scdaemon command to watch device removal as Resolved.

Looks good to me, it no longer returns immediately with the error when there are no readers and the command itself seems to work. Thanks.

Mar 26 2021, 10:38 AM · Restricted Project, Feature Request, scd, Bug Report
gniibe committed rS7da084640636: build: Fix for make distcheck. (authored by gniibe).
build: Fix for make distcheck.
Mar 26 2021, 9:38 AM
gniibe added a comment to T5358: scute: Errors when building 1.7.

It's OK not supporting generation in PostScript format.
Thus, we can remove image_eps support.
Then, convert is not required any more.

Mar 26 2021, 8:25 AM · scute
gniibe committed rE33593864cd54: build: Fix generation of lock-obj-pub.native.h for cross build. (authored by David Michael <fedora.dm0@gmail.com>).
build: Fix generation of lock-obj-pub.native.h for cross build.
Mar 26 2021, 8:23 AM
gniibe committed rS9a5f29da90dc: build: Don't require ImageMagick anymore for building document. (authored by gniibe).
build: Don't require ImageMagick anymore for building document.
Mar 26 2021, 8:23 AM
jukivili committed rC56da81ac4720: tests/basic: add decryption check to check_ocb_cipher_checksum (authored by jukivili).
tests/basic: add decryption check to check_ocb_cipher_checksum
Mar 26 2021, 8:04 AM
jukivili committed rC68bb0ddc5504: rijndael-s390x: fix checksum calculation in OCB decryption (authored by jukivili).
rijndael-s390x: fix checksum calculation in OCB decryption
Mar 26 2021, 8:04 AM
jukivili committed rC21c273cecfd5: tests/basic: OCB large buffer check: make input buffer non-repeatable (authored by jukivili).
tests/basic: OCB large buffer check: make input buffer non-repeatable
Mar 26 2021, 8:04 AM
saurik created T5365: --with-libgpg-error-prefix doesn't affect gpgrt-config path detection.
Mar 26 2021, 7:07 AM · MacOS, gpgrt, Cross-Compiler, libgcrypt
hurui200320 added a comment to T5364: Kleopatra won't start.

I noticed that my windows user folder contains Chinese character, and I rename that into English and seems like kleopatra works fine. GnuPG in cli cannot show Chinese folder name properly, thus I guess that's the reason why kleopatra exits without showing a gui.

Mar 26 2021, 6:44 AM · workaround, gnupg, Windows, kleopatra, Bug Report, gpg4win
hurui200320 added a project to T5364: Kleopatra won't start: kleopatra.
Mar 26 2021, 5:28 AM · workaround, gnupg, Windows, kleopatra, Bug Report, gpg4win
hurui200320 created T5364: Kleopatra won't start.
Mar 26 2021, 5:27 AM · workaround, gnupg, Windows, kleopatra, Bug Report, gpg4win
gniibe committed rGd4e5979c630c: scd: Fix PC/SC error handling at apdu_dev_list_start. (authored by gniibe).
scd: Fix PC/SC error handling at apdu_dev_list_start.
Mar 26 2021, 3:28 AM
gniibe added a comment to T4864: New scdaemon command to watch device removal.

Ah, I see that when there is no card reader, it returns "Service is not running" with PC/SC.
Let's fix that.

Mar 26 2021, 2:34 AM · Restricted Project, Feature Request, scd, Bug Report

Mar 25 2021

Jakuje added a comment to T5356: gnupg2 test failure on s390x.

Thanks! Tested the above patches and now all the tests pass on the machine where I saw the failures.

Mar 25 2021, 8:11 PM · libgcrypt, Bug Report
jukivili added a comment to T5356: gnupg2 test failure on s390x.

Thanks for the report.

Mar 25 2021, 7:06 PM · libgcrypt, Bug Report
ikloecker committed rLIBKLEO16733a655af0: In mixed mode create "best of" list of resolved OpenPGP and S/MIME keys (authored by ikloecker).
In mixed mode create "best of" list of resolved OpenPGP and S/MIME keys
Mar 25 2021, 5:24 PM
ikloecker committed rLIBKLEOaf081b7f01d9: Omit entries for unresolved recipients in encryption keys result (authored by ikloecker).
Omit entries for unresolved recipients in encryption keys result
Mar 25 2021, 5:24 PM
ikloecker committed rLIBKLEOe036e1b003d5: Store encryption key overrides per address and then per protocol (authored by ikloecker).
Store encryption key overrides per address and then per protocol
Mar 25 2021, 5:24 PM
ikloecker committed rLIBKLEOa40b7a07a5c7: Store encryption keys internally per address and then per protocol (authored by ikloecker).
Store encryption keys internally per address and then per protocol
Mar 25 2021, 5:24 PM
ikloecker committed rLIBKLEOe9bb7c4171d0: Fix normalization of addresses of encryption key overrides (authored by ikloecker).
Fix normalization of addresses of encryption key overrides
Mar 25 2021, 5:24 PM
ikloecker committed rLIBKLEO1fd410fb8fcf: Move implementation of KeyResolverCore to separate file (authored by ikloecker).
Move implementation of KeyResolverCore to separate file
Mar 25 2021, 5:24 PM
ikloecker committed rLIBKLEO442c12365db1: Factor out resolving the keys of a single recipient (authored by ikloecker).
Factor out resolving the keys of a single recipient
Mar 25 2021, 5:24 PM
ikloecker committed rLIBKLEO6ec029a01364: Remove the separate lists of unresolved recipients (authored by ikloecker).
Remove the separate lists of unresolved recipients
Mar 25 2021, 5:24 PM
ikloecker committed rLIBKLEO000d602a964f: Extract the core of the resolver into a separate class (authored by ikloecker).
Extract the core of the resolver into a separate class
Mar 25 2021, 5:24 PM
ikloecker committed rLIBKLEO420b962dea30: Test KeyResolverCore instead of KeyResolver (authored by ikloecker).
Test KeyResolverCore instead of KeyResolver
Mar 25 2021, 5:24 PM
ikloecker committed rLIBKLEOa9f6ac7b7549: Move all method implementations to the private class (authored by ikloecker).
Move all method implementations to the private class
Mar 25 2021, 5:24 PM
ikloecker committed rLIBKLEO710d07a82193: Add definition and fix private implementation of setSigningKeys() (authored by ikloecker).
Add definition and fix private implementation of setSigningKeys()
Mar 25 2021, 5:24 PM
ikloecker committed rLIBKLEO747be9043fe6: Remove getter for override keys (authored by ikloecker).
Remove getter for override keys
Mar 25 2021, 5:24 PM
ikloecker added a comment to T5363: GnuPG 2.3 Windows localized gpgconf output broken.

Example from gpg.c:

ARGPARSE_s_n (oQuiet,	  "quiet",   N_("be somewhat more quiet")),
[...]
ARGPARSE_s_n (oNoGreeting, "no-greeting", "@"),

The quiet option has a human readable description, but the no-greeting option does not have one. Consequently, gpgconf --list-options gpg gives the following result:

[...]
quiet:0:0:be somewhat more quiet:0:0::::
no-greeting:0:3::0:0::::1
[...]
Mar 25 2021, 5:15 PM · Windows, gnupg
ikloecker added a comment to T5363: GnuPG 2.3 Windows localized gpgconf output broken.

For comparison, on an English Linux system the options also look wrong, i.e. all options that are problematic in the German translation are "raw" option names enclosed in double quotes. It seems that the untranslated description of the options is already missing.

Mar 25 2021, 5:04 PM · Windows, gnupg