Page MenuHome GnuPG
Feed Advanced Search

Aug 2 2024

werner assigned T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads to ikloecker.
Aug 2 2024, 9:45 AM · Windows, gpgrt, Bug Report
werner moved T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads from Backlog to QA on the gpgrt board.

Alright: Call gettext_use_utf8 (3) to set the current thread to utf8 and init all new threads to utf8 as well. This function with that value (actually bit 1 is relevant) can be used several times but it will never switch back the initialization to utf8. However, switching back and force to utf8 per threads is still possible.

Aug 2 2024, 9:44 AM · Windows, gpgrt, Bug Report

Jul 31 2024

aheinecke added a comment to T4945: Windows builds use "winepath" when it is available.

Noticed this again that it was very slow. I guess how fast it is depends on your wine configuration. I worked it around by disabling winepath for me again. But do we want to change anything here or just move this to wontfix?

Jul 31 2024, 12:40 PM · gpgrt

Jul 11 2024

gniibe added a comment to T4945: Windows builds use "winepath" when it is available.

My summary here:

  • Use of winepath by libtool is correct way for semi-hosted environment to run tests built by cross-build.
  • (cross-)Build itself is possible with no winepath (or winepath -> /bin/false), if you don't need make check with semi-hosted environment.
  • I don't see that it's too slow, these days. My environment is bookworm Debian (having Wine 8.0 something).
Jul 11 2024, 3:59 AM · gpgrt

Jul 10 2024

aheinecke added a comment to T4945: Windows builds use "winepath" when it is available.

For me each time wine is upgraded I get for the first time an error when building something, but it is not slow anymore. Is this resolved?

Jul 10 2024, 1:31 PM · gpgrt

Jul 9 2024

gniibe changed the status of T7194: gnupg_ -> gpgrt_ : Pipe API from Open to Testing.

Pushed the change: rGaf6c47b2910f: common,kbx,tests: Clean up the PIPE function API.

Jul 9 2024, 3:44 AM · gpgrt, gnupg
gniibe triaged T7194: gnupg_ -> gpgrt_ : Pipe API as Normal priority.
Jul 9 2024, 3:25 AM · gpgrt, gnupg

Jul 4 2024

ikloecker added a comment to T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads.

Using/setting a value of 2 would work for Kleopatra.

Jul 4 2024, 6:36 PM · Windows, gpgrt, Bug Report
werner added a comment to T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads.

That is probably right for gpgme as used by kleopatra. However in gnupg we need to switch utf8 on and off.

Jul 4 2024, 5:29 PM · Windows, gpgrt, Bug Report
ikloecker created T7185: Calling gettext_use_utf8(1) for the main thread should enable UTF-8 for all later created secondary threads.
Jul 4 2024, 12:38 PM · Windows, gpgrt, Bug Report

Jun 25 2024

werner closed T7177: libassuan-3.0.1: Errant declaration of putc_unlocked in src/assuan-defs.h causes a Darwin build to fail as Resolved.
Jun 25 2024, 9:05 AM · MacOS, gpgrt, Bug Report
werner added projects to T7177: libassuan-3.0.1: Errant declaration of putc_unlocked in src/assuan-defs.h causes a Darwin build to fail: gpgrt, MacOS.

The use of putc_unlocked has long been removed. So we should also remove the declaration. Normally this does not harm but in your case you may want to pass CFLAGS="-DHAVE_PUTC_UNLOCKED" to make or remove the above declaration.

Jun 25 2024, 9:02 AM · MacOS, gpgrt, Bug Report

Jun 21 2024

werner added a comment to T7023: Support SYSROOT in all Gupg related libraries.

Now also done for libksba.

Jun 21 2024, 2:07 PM · Feature Request, Cross-Compiler, gpgrt, libassuan, libksba
Marius_Schamschula added a comment to T7169: libgpg-error 1.50 build issue (spawn-posix.c:345:5: error: use of undeclared identifier 'environ').

See: MacPorts Ticket 70267 and MacPorts PR #24601

Jun 21 2024, 12:45 PM · gpgrt, MacOS, Bug Report
werner reopened T7169: libgpg-error 1.50 build issue (spawn-posix.c:345:5: error: use of undeclared identifier 'environ') as "Open".
Jun 21 2024, 9:52 AM · gpgrt, MacOS, Bug Report

Jun 20 2024

Marius_Schamschula added a comment to T7169: libgpg-error 1.50 build issue (spawn-posix.c:345:5: error: use of undeclared identifier 'environ').

While the above patch worked for MacOS 10.8 and above, MacPorts CI shows a second error for older MacOS versions:

Jun 20 2024, 10:07 PM · gpgrt, MacOS, Bug Report
Marius_Schamschula added a comment to T7169: libgpg-error 1.50 build issue (spawn-posix.c:345:5: error: use of undeclared identifier 'environ').

It looks like various flavors of BSD (including macOS just declare environ when needed): environ -- user environment Note: this is a very old MacOS X man page, however the current version is from 2003, and has the same Synopsis.

Jun 20 2024, 5:20 PM · gpgrt, MacOS, Bug Report
werner added a project to T7169: libgpg-error 1.50 build issue (spawn-posix.c:345:5: error: use of undeclared identifier 'environ'): gpgrt.
Jun 20 2024, 12:16 PM · gpgrt, MacOS, Bug Report
werner added a project to T7170: Building libgcrypt-1.11.0 produces a dylib with unresolved symbols at runtime: gpgrt.

Didn't you had this problem with 1.10.x ? I can't remember that we changed anything at theat code for years. The only recent change was rC656ca459e which should not have changed anything. Maybe the problem is elsewhere.

Jun 20 2024, 12:14 PM · MacOS, libgcrypt, Bug Report

Jun 19 2024

werner added a parent task for T7168: environ not declared in macOS; gpgrt 1.50 failed to build.: T7102: Release GpgRT 1.50.
Jun 19 2024, 10:39 PM · gpgrt, Bug Report, MacOS
werner added a subtask for T7102: Release GpgRT 1.50: T7168: environ not declared in macOS; gpgrt 1.50 failed to build..
Jun 19 2024, 10:39 PM · Release Info, gpgrt
werner triaged T7168: environ not declared in macOS; gpgrt 1.50 failed to build. as Normal priority.
Jun 19 2024, 10:38 PM · gpgrt, Bug Report, MacOS
werner closed T6249: gpgrt: spawn functions as Resolved.
Jun 19 2024, 10:59 AM · gnupg, libassuan, gpgrt
werner closed T7102: Release GpgRT 1.50 as Resolved.
Jun 19 2024, 10:58 AM · Release Info, gpgrt
werner triaged T7164: Release GpgRT 1.51 as Low priority.
Jun 19 2024, 10:52 AM · Release Info, gpgrt

Jun 5 2024

gniibe changed the status of T6249: gpgrt: spawn functions from Open to Testing.
Jun 5 2024, 8:19 AM · gnupg, libassuan, gpgrt

May 27 2024

gniibe closed T6275: gnupg26: Improve gnupg_spawn_process function, a subtask of T6249: gpgrt: spawn functions, as Resolved.
May 27 2024, 4:02 AM · gnupg, libassuan, gpgrt
gniibe closed T6275: gnupg26: Improve gnupg_spawn_process function as Resolved.

It's tested by gnupg master (for gnupg26) for a year. Let us move on.

May 27 2024, 4:02 AM · gnupg, libassuan, gpgrt
gniibe renamed T6275: gnupg26: Improve gnupg_spawn_process function from gnupg: Improve gnupg_spawn_process function to gnupg26: Improve gnupg_spawn_process function.
May 27 2024, 4:00 AM · gnupg, libassuan, gpgrt

May 16 2024

gniibe added a comment to T7114: AM_PATH_LIBGCRYPT does not use gpgrt-config without AM_PATH_GPG_ERROR.

Thank you. Applied by : rM87061c0260bb: gpgme.m4: Set $host correctly always.

May 16 2024, 2:28 AM · gpgrt, libgcrypt, Bug Report

May 15 2024

ametzler1 added a comment to T7114: AM_PATH_LIBGCRYPT does not use gpgrt-config without AM_PATH_GPG_ERROR.

Ditto for ksba and assuan.

May 15 2024, 6:27 PM · gpgrt, libgcrypt, Bug Report
gniibe changed the status of T7114: AM_PATH_LIBGCRYPT does not use gpgrt-config without AM_PATH_GPG_ERROR from Open to Testing.
May 15 2024, 4:22 AM · gpgrt, libgcrypt, Bug Report

May 14 2024

ametzler1 added a comment to T7114: AM_PATH_LIBGCRYPT does not use gpgrt-config without AM_PATH_GPG_ERROR.

The gcrypt change works for me. Thanks!

May 14 2024, 6:38 PM · gpgrt, libgcrypt, Bug Report
gniibe added a comment to T7114: AM_PATH_LIBGCRYPT does not use gpgrt-config without AM_PATH_GPG_ERROR.

In general, asking an application change is not good. Migrating to pkg-config should be an option (not requirement).
However, it's usually recommended to use libgpg-error when an application is used with libgcrypt/libksba/libassuan.

May 14 2024, 4:38 AM · gpgrt, libgcrypt, Bug Report

May 13 2024

gniibe claimed T7114: AM_PATH_LIBGCRYPT does not use gpgrt-config without AM_PATH_GPG_ERROR.
May 13 2024, 9:57 AM · gpgrt, libgcrypt, Bug Report

May 12 2024

ametzler1 added a comment to T7114: AM_PATH_LIBGCRYPT does not use gpgrt-config without AM_PATH_GPG_ERROR.

Just to clarify: I personally think it would be perfectly fine to say that AM_PATH_* is only supported when AM_PATH_GPG_ERROR is also used. Adding an invocation AM_PATH_GPG_ERROR is not a great hassle and alternatively pkg-config/pkgconf exists and works perfectly fine (and is a lot faster).

May 12 2024, 3:57 PM · gpgrt, libgcrypt, Bug Report
werner added a project to T7114: AM_PATH_LIBGCRYPT does not use gpgrt-config without AM_PATH_GPG_ERROR: gpgrt.

I noticed this recently too on some boxes. Thanks for the good decription. This support for pkg-config style .pc files for our config scripts seems to be a never ending story. The alternative name for libgpg-error-config does not make it easier.

May 12 2024, 2:29 PM · gpgrt, libgcrypt, Bug Report

Apr 26 2024

werner closed T7105: libgpg-error: Memory leak in store_alias() as Resolved.

Oh yeah the idea to implement aliases is more than 20 years old. I guess it is even older. Thanks.

Apr 26 2024, 3:28 PM · gpgrt, Bug Report
Jakuje created T7105: libgpg-error: Memory leak in store_alias().
Apr 26 2024, 9:35 AM · gpgrt, Bug Report

Apr 25 2024

werner closed T7012: Release gpgrt 1.49 as Resolved.
Apr 25 2024, 10:40 AM · gpgrt, Release Info
werner triaged T7102: Release GpgRT 1.50 as Low priority.
Apr 25 2024, 10:25 AM · Release Info, gpgrt
werner added a comment to T4383: Add a monitor callback to the gpgrt logging system.

Along with the monitor we should also implement a domain selection feature.

Apr 25 2024, 10:13 AM · gpgrt, Feature Request

Feb 29 2024

werner triaged T7023: Support SYSROOT in all Gupg related libraries as Normal priority.
Feb 29 2024, 4:27 PM · Feature Request, Cross-Compiler, gpgrt, libassuan, libksba

Feb 23 2024

werner closed T6441: Release libgpg-error 1.48 as Resolved.
Feb 23 2024, 2:38 PM · gpgrt, Release Info
werner moved T6441: Release libgpg-error 1.48 from Backlog to Done on the gpgrt board.
Feb 23 2024, 2:37 PM · gpgrt, Release Info
werner closed T6737: libgpg-error: String filter should *NOT* be called with non-nul-terminated string as Resolved.
Feb 23 2024, 2:37 PM · gpgrt, Bug Report
werner closed T6674: doc: U+2010 HYPHEN vs. U+002D HYPHEN-MINUS for man pages as Resolved.
Feb 23 2024, 2:37 PM · gpgrt
werner closed T6969: Fix shellcheck warning in gpgrt-config as Resolved.
Feb 23 2024, 2:37 PM · gpgrt, Bug Report
werner closed T6746: yat2man: Support -- and --- as Resolved.
Feb 23 2024, 2:37 PM · gpgrt
werner closed T6746: yat2man: Support -- and ---, a subtask of T6674: doc: U+2010 HYPHEN vs. U+002D HYPHEN-MINUS for man pages, as Resolved.
Feb 23 2024, 2:37 PM · gpgrt
werner moved T6737: libgpg-error: String filter should *NOT* be called with non-nul-terminated string from QA to Done on the gpgrt board.
Feb 23 2024, 2:37 PM · gpgrt, Bug Report
werner moved T6674: doc: U+2010 HYPHEN vs. U+002D HYPHEN-MINUS for man pages from QA to Done on the gpgrt board.
Feb 23 2024, 2:36 PM · gpgrt
werner moved T6969: Fix shellcheck warning in gpgrt-config from QA to Done on the gpgrt board.
Feb 23 2024, 2:36 PM · gpgrt, Bug Report
werner moved T6746: yat2man: Support -- and --- from QA to Done on the gpgrt board.
Feb 23 2024, 2:36 PM · gpgrt
werner closed T6954: Add wipememory function to gpgrt as Resolved.
Feb 23 2024, 2:36 PM · gnupg26, gpgrt, Feature Request
werner updated the task description for T6441: Release libgpg-error 1.48.
Feb 23 2024, 2:35 PM · gpgrt, Release Info
werner updated the task description for T6441: Release libgpg-error 1.48.
Feb 23 2024, 2:25 PM · gpgrt, Release Info
werner triaged T7012: Release gpgrt 1.49 as Low priority.
Feb 23 2024, 2:24 PM · gpgrt, Release Info
werner added a comment to T5005: Unified single header file if it offers same API.

I think we should close this bug or re-purpose it to silence those warnings in common cases.

Feb 23 2024, 2:12 PM · libassuan, gpgrt
werner added a comment to T3164: The argument parser does not detect invalid integers.

That could be fixed in src/argparse.c:set_opt_arg by adding and endptr to the strtol calls and check that only white space follows. However, there is some risk of regression with this approach. Maybe just display a warning?

Feb 23 2024, 2:09 PM · Bug Report, gpgrt
werner moved T6969: Fix shellcheck warning in gpgrt-config from Backlog to QA on the gpgrt board.
Feb 23 2024, 2:01 PM · gpgrt, Bug Report
werner moved T6954: Add wipememory function to gpgrt from Backlog to QA on the gpgrt board.
Feb 23 2024, 1:59 PM · gnupg26, gpgrt, Feature Request
werner closed T6619: How to maintain our local libtool patch as Resolved.

With today's release of npth everything should be set.

Feb 23 2024, 1:58 PM · gpgrt, Bug Report
werner moved T6674: doc: U+2010 HYPHEN vs. U+002D HYPHEN-MINUS for man pages from Backlog to QA on the gpgrt board.
Feb 23 2024, 1:57 PM · gpgrt
werner moved T6737: libgpg-error: String filter should *NOT* be called with non-nul-terminated string from Backlog to QA on the gpgrt board.
Feb 23 2024, 1:56 PM · gpgrt, Bug Report
werner moved T6746: yat2man: Support -- and --- from Backlog to QA on the gpgrt board.
Feb 23 2024, 1:56 PM · gpgrt
werner added a parent task for T4961: ship gpgrt.pc: T7011: Migrate libgpg-error to gpgrt.
Feb 23 2024, 1:55 PM · Feature Request, gpgrt
werner added a subtask for T7011: Migrate libgpg-error to gpgrt: T4961: ship gpgrt.pc.
Feb 23 2024, 1:55 PM · gpgrt
werner triaged T7011: Migrate libgpg-error to gpgrt as Normal priority.
Feb 23 2024, 1:55 PM · gpgrt
werner closed T5748: Adding poll/ppoll to NPTH, a subtask of T2385: support more than 1024 fds., as Resolved.
Feb 23 2024, 11:26 AM · gpgrt, Feature Request, gpgme

Feb 6 2024

werner closed T6978: Add a command mode to the option parser as Resolved.
Feb 6 2024, 4:04 PM · Feature Request, gpgrt
werner triaged T6978: Add a command mode to the option parser as Normal priority.
Feb 6 2024, 2:41 PM · Feature Request, gpgrt

Feb 1 2024

gniibe changed the status of T6969: Fix shellcheck warning in gpgrt-config from Open to Testing.

Thank you for the fix. Pushed the change modifying the commit log for the ChangeLog entry.

Feb 1 2024, 2:30 AM · gpgrt, Bug Report

Jan 31 2024

Jakuje created T6969: Fix shellcheck warning in gpgrt-config.
Jan 31 2024, 11:32 AM · gpgrt, Bug Report

Jan 23 2024

werner triaged T6955: Auto-switch to 32 bit registry view in GpgRT as Normal priority.
Jan 23 2024, 1:18 PM · Feature Request, Windows 64, gpgrt

Jan 22 2024

werner triaged T6954: Add wipememory function to gpgrt as Normal priority.
Jan 22 2024, 11:04 AM · gnupg26, gpgrt, Feature Request

Jan 16 2024

werner added a comment to T6737: libgpg-error: String filter should *NOT* be called with non-nul-terminated string.

Alright.

Jan 16 2024, 10:42 AM · gpgrt, Bug Report
gniibe changed the status of T6737: libgpg-error: String filter should *NOT* be called with non-nul-terminated string from Open to Testing.

Push the change as rE4a9def77488f: estream: Fix call to string filter for estream-printf..

Jan 16 2024, 6:54 AM · gpgrt, Bug Report
gniibe added a comment to T6737: libgpg-error: String filter should *NOT* be called with non-nul-terminated string.

I see your point: allocating STRINGBUF to make sure nul-terminated string.
The code itself doesn't work well in a test case of tests/t-prinntf.c, because it assumes string filter should be called with NULL for string.

Jan 16 2024, 5:58 AM · gpgrt, Bug Report

Jan 15 2024

werner changed the status of T6737: libgpg-error: String filter should *NOT* be called with non-nul-terminated string from Testing to Open.
Jan 15 2024, 12:25 PM · gpgrt, Bug Report
werner added a comment to T6737: libgpg-error: String filter should *NOT* be called with non-nul-terminated string.

Like this:

@@ -1196,10 +1196,25 @@ pr_string (estream_printf_out_t outfnc, void *outfncarg,
    future, when breaking API/ABI is OK, we can change signature of
    gpgrt_string_filter_t to have another argument for precision.  */
   int allow_non_nul_string = (arg->precision >= 0);
+  char *stringbuf = NULL;
Jan 15 2024, 12:25 PM · gpgrt, Bug Report
werner added a comment to T6737: libgpg-error: String filter should *NOT* be called with non-nul-terminated string.

We could also pass a nul terminated copy to the filter function in pr_string.

Jan 15 2024, 12:14 PM · gpgrt, Bug Report

Dec 27 2023

gniibe changed the status of T6737: libgpg-error: String filter should *NOT* be called with non-nul-terminated string from Open to Testing.
Dec 27 2023, 1:26 AM · gpgrt, Bug Report

Nov 15 2023

gniibe changed the status of T6674: doc: U+2010 HYPHEN vs. U+002D HYPHEN-MINUS for man pages from Open to Testing.

@item handling with @table has been pushed.

Nov 15 2023, 6:40 AM · gpgrt

Nov 14 2023

gniibe added a comment to T6674: doc: U+2010 HYPHEN vs. U+002D HYPHEN-MINUS for man pages.

I learned about how @item is handled by TeX. By @table command, user specifies how to handle the item line. In the case of GnuPG, it is like:

@table @gnupgtabopt
@item --version
...
@item --help

(Emacs uses @table @samp, while GCC uses @table @gcctabopt.)
And @gnupgtabopt is a macro which is expanded to @code{\body\}

Nov 14 2023, 7:16 AM · gpgrt

Nov 8 2023

gniibe added a comment to T6674: doc: U+2010 HYPHEN vs. U+002D HYPHEN-MINUS for man pages.

Possible approach for source texinfo files and yat2m would be:

Nov 8 2023, 2:03 AM · gpgrt

Nov 2 2023

gniibe added a comment to T6746: yat2man: Support -- and ---.

I found a regression for @item --version; It emits \[en]version for roff.

Nov 2 2023, 6:52 AM · gpgrt
gniibe changed the status of T6746: yat2man: Support -- and --- from Open to Testing.

Pushed my fix to support them.

Nov 2 2023, 6:26 AM · gpgrt
gniibe changed the status of T6746: yat2man: Support -- and ---, a subtask of T6674: doc: U+2010 HYPHEN vs. U+002D HYPHEN-MINUS for man pages, from Open to Testing.
Nov 2 2023, 6:26 AM · gpgrt

Oct 5 2023

gniibe triaged T6746: yat2man: Support -- and --- as Wishlist priority.
Oct 5 2023, 7:03 AM · gpgrt

Sep 30 2023

werner triaged T6737: libgpg-error: String filter should *NOT* be called with non-nul-terminated string as Normal priority.

I guess we should add an extended API to set the filter.

Sep 30 2023, 2:08 PM · gpgrt, Bug Report

Sep 27 2023

gniibe updated the task description for T6737: libgpg-error: String filter should *NOT* be called with non-nul-terminated string.
Sep 27 2023, 3:55 AM · gpgrt, Bug Report
gniibe claimed T6737: libgpg-error: String filter should *NOT* be called with non-nul-terminated string.
Sep 27 2023, 3:54 AM · gpgrt, Bug Report

Sep 26 2023

werner triaged T6735: Implement _IOLBF for estream as Normal priority.
Sep 26 2023, 9:24 AM · Bug Report, gpgrt

Aug 31 2023

werner added a comment to T6674: doc: U+2010 HYPHEN vs. U+002D HYPHEN-MINUS for man pages.

I guess we should follow the GNU standards and provide only info files ;-)

Aug 31 2023, 8:31 AM · gpgrt
gniibe added a comment to T6674: doc: U+2010 HYPHEN vs. U+002D HYPHEN-MINUS for man pages.

Other problems of yat2m transformation:
https://bugs.debian.org/1050886

Aug 31 2023, 1:49 AM · gpgrt

Aug 28 2023

werner moved T6421: Improve error message if no reset code (PUK) is set from WiP to Backlog on the gnupg22 board.

Not easy do decide whether something is a PIN or a PUK and we will need to check a lot of places. So, not now.

Aug 28 2023, 5:07 PM · Feature Request, gnupg22, gnupg24, gpgrt

Aug 25 2023

werner claimed T6421: Improve error message if no reset code (PUK) is set.
Aug 25 2023, 4:05 PM · Feature Request, gnupg22, gnupg24, gpgrt

Aug 22 2023

gniibe added a comment to T6674: doc: U+2010 HYPHEN vs. U+002D HYPHEN-MINUS for man pages.

I found a troff reference: https://www.quut.com/berlin/ms/troff.html

Aug 22 2023, 8:36 AM · gpgrt
gniibe added a comment to T6674: doc: U+2010 HYPHEN vs. U+002D HYPHEN-MINUS for man pages.

Ideally, we should change the source document to use @minus{} for a minus sign, and keep - only when it means a hyphen. But we cannot do that blindly; We need to handle it with care, in a way of case by case (Texinfo manual suggests no use of @minus{} with @code or @example, but it is needed for groff man pages in many cases).... We would need to consider each occurrence of - in our document. That's too much (if it were me to fix).

Aug 22 2023, 3:49 AM · gpgrt