Page MenuHome GnuPG

gniibe (NIIBE Yutaka)
UserAdministrator

Projects (9)

User Details

User Since
Mar 27 2017, 4:47 PM (454 w, 2 d)
Roles
Administrator
Availability
Busy Busy until Jun 29 2031.

Recent Activity

Mon, Dec 8

gniibe updated the task description for T7968: Fixes needed for newer GCC/Mingw.
Mon, Dec 8, 1:32 AM
gniibe triaged T7968: Fixes needed for newer GCC/Mingw as Wishlist priority.
Mon, Dec 8, 1:29 AM

Fri, Dec 5

gniibe committed rM8b8dbd55c03a: Avoid K&R-style function definition. (authored by gniibe).
Avoid K&R-style function definition.
Fri, Dec 5, 10:45 AM
gniibe committed rA515415b4e2ea: Allow assuan_new_ext call with malloc_hooks=NULL. (authored by gniibe).
Allow assuan_new_ext call with malloc_hooks=NULL.
Fri, Dec 5, 7:55 AM

Thu, Dec 4

gniibe added a comment to T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.

@werner For rCd5e3cbfd , my mingw (GCC version 14) complains about the function-return-type difference of the prototype with GetProcAddress.

Thu, Dec 4, 7:19 AM · libgcrypt, scute, gpgrt, Bug Report
gniibe committed rC5af59d8454ce: build: Add support for IBM z/OS, fixing -lpthread check with glibc. (authored by gniibe).
build: Add support for IBM z/OS, fixing -lpthread check with glibc.
Thu, Dec 4, 6:29 AM
gniibe added a comment to T7855: keybox/keydb locking issue in 2.6 .

If we need to backport the locking fixes to 2.2, these two will be the start of changes:


Thu, Dec 4, 6:22 AM · gnupg26, gpd5x

Tue, Dec 2

gniibe committed rC550b2e2f13df: Add support for IBM z/OS. (authored by sachint).
Add support for IBM z/OS.
Tue, Dec 2, 7:27 AM

Fri, Nov 28

gniibe committed rSc3dc9c581631: w32: Use CSIDL_COMMON_APPDATA if available. (authored by gniibe).
w32: Use CSIDL_COMMON_APPDATA if available.
Fri, Nov 28, 10:33 AM
gniibe added a comment to T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.

Scute fixed in rSc3dc9c581631: w32: Use CSIDL_COMMON_APPDATA if available.

Fri, Nov 28, 6:13 AM · libgcrypt, scute, gpgrt, Bug Report

Thu, Nov 27

gniibe updated the task description for T7957: dotlock clean up for error/warning message.
Thu, Nov 27, 7:20 AM · gnupg, Bug Report
gniibe updated the task description for T7957: dotlock clean up for error/warning message.
Thu, Nov 27, 7:18 AM · gnupg, Bug Report
gniibe claimed T7957: dotlock clean up for error/warning message.

Here is my proposal:

Thu, Nov 27, 7:15 AM · gnupg, Bug Report
gniibe created T7957: dotlock clean up for error/warning message.
Thu, Nov 27, 7:14 AM · gnupg, Bug Report

Wed, Nov 26

gniibe committed rCbdc3724d721d: cipher:kyber: Apply a change from upstream. (authored by gniibe).
cipher:kyber: Apply a change from upstream.
Wed, Nov 26, 2:56 AM
gniibe closed T7056: GPGme 1.23.2 has Undefined symbols: "strcasecmp(char const*, char const*)" on Mac OS X 10.4.11, PPC Tiger as Wontfix.

Here is my analysis.

Wed, Nov 26, 2:09 AM · gpgme, MacOS, Bug Report

Tue, Nov 25

gniibe added a comment to T7873: Decrypt to foo.gpg.part files and rename.

The extension .part is used by Mozilla/Firefox. Curl uses .tmp. Is that OK for Windows machine to use .part?

Tue, Nov 25, 5:41 AM · Feature Request, gnupg26
gniibe closed T7694: GPGME: gpgme_io_spawn issues, a subtask of T7660: GPGME invocation by cri-o hangs on gpgme_op_verify, as Resolved.
Tue, Nov 25, 5:16 AM · golang, gpgme, Bug Report
gniibe closed T7694: GPGME: gpgme_io_spawn issues as Resolved.
Tue, Nov 25, 5:16 AM · gpgme, Bug Report
gniibe added a comment to T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.

I examined the code of gnupg_sysconfdir in gnupg/common/homedir.c, if we could factor out things to gpgrt, so that something like gpgrt_fconcat with GPGRT_SYSCONFDIR can be implemented.

Tue, Nov 25, 3:10 AM · libgcrypt, scute, gpgrt, Bug Report
gniibe committed rG32a3e5f83bbb: common:dotlock: Escalate a warning message up to INFO from DEBUG. (authored by gniibe).
common:dotlock: Escalate a warning message up to INFO from DEBUG.
Tue, Nov 25, 2:25 AM
gniibe committed rGaab29b128693: kbx:sqlite: Don't call dotlock_release. (authored by gniibe).
kbx:sqlite: Don't call dotlock_release.
Tue, Nov 25, 2:25 AM
gniibe committed rGe4f20ba10a6a: commond:dotlock: Remove support of use with glib. (authored by gniibe).
commond:dotlock: Remove support of use with glib.
Tue, Nov 25, 2:25 AM
gniibe committed rG68dcfec91b90: common:dotlock:w32: Minor fixes for Windows. (authored by gniibe).
common:dotlock:w32: Minor fixes for Windows.
Tue, Nov 25, 2:25 AM
gniibe committed rGd4e40e2a8adc: common:dotlock: Comment fixes. (authored by gniibe).
common:dotlock: Comment fixes.
Tue, Nov 25, 2:25 AM

Fri, Nov 21

gniibe added a comment to T7873: Decrypt to foo.gpg.part files and rename.

When --output option is used and the user uses temporary file and is ready for checking an error, that is, it's already prepared, it's redundant and useless, indeed.

Fri, Nov 21, 7:23 AM · Feature Request, gnupg26
gniibe added a comment to T7720: w32: Synchronous spawning gpg-agent/dirmngr/keyboxd.

Let me explain about the change rG57affc4e98ab.

Fri, Nov 21, 6:44 AM · gnupg, Feature Request, Bug Report

Thu, Nov 20

gniibe committed rG216a695ced83: agent: Use SHADOW_INFO to silence warnings. (authored by gniibe).
agent: Use SHADOW_INFO to silence warnings.
Thu, Nov 20, 7:52 AM
gniibe changed the status of T7720: w32: Synchronous spawning gpg-agent/dirmngr/keyboxd, a subtask of T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error, from Open to Testing.
Thu, Nov 20, 7:07 AM · gpgrt, Feature Request, Bug Report
gniibe changed the status of T7720: w32: Synchronous spawning gpg-agent/dirmngr/keyboxd from Open to Testing.

Applied the change to master: rG57affc4e98ab: common,agent,dirmngr,kbx:w32: Synchronous spawning daemon process.

Thu, Nov 20, 7:07 AM · gnupg, Feature Request, Bug Report
gniibe closed T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error as Resolved.
Thu, Nov 20, 7:06 AM · gpgrt, Feature Request, Bug Report
gniibe changed the status of T7629: gcc 15 warns about -Wunterminated-string-initialization in gnupg from Open to Testing.

I applied a change with GPGRT_ATTR_NONSTRING to master, since 2.6 branch now requires newere gpgrt.
Fix is rGcad79e542d85: agent,common,dirmngr,tests: Silence warnings of a compiler.

Thu, Nov 20, 7:04 AM · gnupg, Bug Report
gniibe added a comment to T7716: gpgrt:w32: Synchronous spawning detached process, with standard input and standard error.

Applied the change to master: rG57affc4e98ab: common,agent,dirmngr,kbx:w32: Synchronous spawning daemon process.

Thu, Nov 20, 7:00 AM · gpgrt, Feature Request, Bug Report
gniibe committed rG57affc4e98ab: common,agent,dirmngr,kbx:w32: Synchronous spawning daemon process. (authored by gniibe).
common,agent,dirmngr,kbx:w32: Synchronous spawning daemon process.
Thu, Nov 20, 6:59 AM
gniibe committed rGcad79e542d85: agent,common,dirmngr,tests: Silence warnings of a compiler. (authored by gniibe).
agent,common,dirmngr,tests: Silence warnings of a compiler.
Thu, Nov 20, 6:31 AM
gniibe committed rGbcd87ea2b2da: misc: Validate the value on the use of strtol. (authored by gniibe).
misc: Validate the value on the use of strtol.
Thu, Nov 20, 6:31 AM
gniibe committed rC4e65996bb870: mpi: Introduce mpi_tfr and use it for point_tfr. (authored by gniibe).
mpi: Introduce mpi_tfr and use it for point_tfr.
Thu, Nov 20, 2:24 AM
gniibe committed rD6ca8a2bc9e32: Make it clear that GnuPG for RISC OS is 1.4, just like VMS version. (authored by gniibe).
Make it clear that GnuPG for RISC OS is 1.4, just like VMS version.
Thu, Nov 20, 1:31 AM
gniibe committed rDb348850f25e5: Fix the birth day of libgcrypt 1.11. (authored by gniibe).
Fix the birth day of libgcrypt 1.11.
Thu, Nov 20, 1:31 AM

Wed, Nov 19

gniibe committed rE26d740f940b3: spawn:posix: Rename the field to ENVP to avoid a build issue. (authored by gniibe).
spawn:posix: Rename the field to ENVP to avoid a build issue.
Wed, Nov 19, 6:34 AM
gniibe committed rEa9fc729253ee: argparse: Use SYSCONFDIR for /etc. (authored by gniibe).
argparse: Use SYSCONFDIR for /etc.
Wed, Nov 19, 6:34 AM
gniibe changed the status of T7631: Building libassuan on AIX warns about missing function declarations. from Open to Testing.
Wed, Nov 19, 6:13 AM · AIX, libassuan, Bug Report

Tue, Nov 18

gniibe committed rGaa8e0cc9f331: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Tue, Nov 18, 8:59 AM
gniibe added a comment to F33097212: temp-output-then-rename-20251117.patch.

At line 133 shouldn't we have used iobuf_cancel there?

Tue, Nov 18, 8:08 AM
gniibe changed the status of T7658: Okular: Dirmngr startup timeout on signature validation from Open to Testing.

I believe this bug was fixed by T7829. Please confirm with new gpgwin-5.0.0-beta.

Tue, Nov 18, 1:04 AM · Bug Report, gpd5x, okular

Mon, Nov 17

gniibe updated subscribers of T7873: Decrypt to foo.gpg.part files and rename.

@ikloecker says that Kleo already support this feature. (I didn't know that.)
So, compatibility flag to switch on/off the feature would be needed,
or this feature is not needed in GnuPG at all.

Mon, Nov 17, 10:26 AM · Feature Request, gnupg26
gniibe added a comment to T7873: Decrypt to foo.gpg.part files and rename.

Here is my attempt to do that:

Mon, Nov 17, 8:19 AM · Feature Request, gnupg26

Fri, Nov 14

gniibe committed rGd1cde3e36463: build: Silence automake about escaping #. (authored by gniibe).
build: Silence automake about escaping #.
Fri, Nov 14, 7:36 AM
gniibe committed rG8a95e963d53a: common: Fix the test of t-stringhelp. (authored by gniibe).
common: Fix the test of t-stringhelp.
Fri, Nov 14, 6:35 AM

Wed, Nov 12

gniibe added a comment to T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.

I checked the code under gnupg/dirmngr. Those are no harm.

Wed, Nov 12, 6:31 AM · libgcrypt, scute, gpgrt, Bug Report

Tue, Nov 11

gniibe committed rG62b8bf2f3905: gpg: Fix armored input parsing. (authored by gniibe).
gpg: Fix armored input parsing.
Tue, Nov 11, 6:30 AM
gniibe committed rG9ef87bcdb034: dirmngr: Fix OCSP check. (authored by gniibe).
dirmngr: Fix OCSP check.
Tue, Nov 11, 3:45 AM
gniibe committed rGff3068341869: agent: Fix a memory leak. (authored by Sorah Fukumori <her@sorah.jp>).
agent: Fix a memory leak.
Tue, Nov 11, 3:45 AM

Nov 10 2025

gniibe added a member for libassuan: gniibe.
Nov 10 2025, 2:22 AM
gniibe removed a member for nGPH: gniibe.
Nov 10 2025, 2:21 AM

Nov 6 2025

gniibe changed the status of T7893: GnuPG: Decryption fails if the pinentry dialog for the first tried recipient is canceled from Open to Testing.

That's my mistake with KEM API.

Nov 6 2025, 6:14 AM · gnupg26, gnupg
gniibe committed rG12c0b94fcb5f: agent: Fix wiping memory in PKDECRYPT command. (authored by gniibe).
agent: Fix wiping memory in PKDECRYPT command.
Nov 6 2025, 6:12 AM
gniibe added a comment to T7873: Decrypt to foo.gpg.part files and rename.

Here is my idea to implement the feature:
(1) Extend struct iobuf_struct to have a field of temporary output (of int), just after real_fname.

  • OUTPUTFILE: When it's 1, it means that a temporary output file generated with real_fname original suffix removed and appended .tmp

(2) Modify get_output_file in plaintext.c and make_outfile_name in openfile.c, so that OUTPUTFILE semantics above is used and the field in iobuf_struct is marked accordingly.
(3) Modify proc_encrypted in mainproc.c so that it can rename .tmp file to the OUTPUTFILE or it can remove it when failure, when the field is active.

Nov 6 2025, 3:54 AM · Feature Request, gnupg26
gniibe added a comment to T7633: libgcrypt fails to build on NetBSD due to the systems bswap32 macro defintion..

Applied to 1.11 branch.

Nov 6 2025, 2:33 AM · NetBSD, libgcrypt, Bug Report
gniibe added projects to T7882: `rsa-sha2` signature values are improperly truncated : gpgagent, ssh.
Nov 6 2025, 2:07 AM · ssh, gpgagent, Bug Report
gniibe closed T7194: gnupg_ -> gpgrt_ : Pipe API as Resolved.
Nov 6 2025, 1:55 AM · gpgrt, gnupg
gniibe added a comment to T7649: gnupg: Use KEM interface for encryption/decryption.

Let me explain the background.

Nov 6 2025, 12:57 AM · gnupg26

Nov 5 2025

gniibe added a comment to T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.

For gpgrt/argparse this could be an option (to remove hard-coded /etc):

Nov 5 2025, 7:44 AM · libgcrypt, scute, gpgrt, Bug Report
gniibe closed T7845: gpgsm: Use KEM interface for encryption as Resolved.
Nov 5 2025, 2:25 AM · gnupg26
gniibe closed T7845: gpgsm: Use KEM interface for encryption, a subtask of T7649: gnupg: Use KEM interface for encryption/decryption, as Resolved.
Nov 5 2025, 2:25 AM · gnupg26
gniibe closed T7811: gpgsm: Use KEM interface for decryption, a subtask of T7649: gnupg: Use KEM interface for encryption/decryption, as Resolved.
Nov 5 2025, 2:24 AM · gnupg26
gniibe closed T7811: gpgsm: Use KEM interface for decryption as Resolved.
Nov 5 2025, 2:24 AM · gnupg26

Nov 4 2025

gniibe added a comment to T7908: GnuPG Accepts Path Separators and Path Traversals in Literal Data "Filename" Field.

Added a compatibility flag in: rGad0c6c33c3d6: gpg: Do not use a default when asking for another output filename.

Nov 4 2025, 7:08 AM · gnupg, Bug Report
gniibe created T7908: GnuPG Accepts Path Separators and Path Traversals in Literal Data "Filename" Field.
Nov 4 2025, 7:07 AM · gnupg, Bug Report
gniibe added a comment to T7906: Memory Corruption in ASCII-Armor Parsing.

Fixed in rG115d138ba599: gpg: Fix possible memory corruption in the armor parser.

Nov 4 2025, 6:57 AM · gnupg, Bug Report
gniibe created T7906: Memory Corruption in ASCII-Armor Parsing.
Nov 4 2025, 6:56 AM · gnupg, Bug Report
gniibe added a comment to T7904: GnuPG may downgrade digest algorithm to SHA1.

Fixed in rGdb9705ef594d: gpg: Avoid potential downgrade to SHA1 in 3rd party key signatures.

Nov 4 2025, 6:46 AM · gnupg, Bug Report
gniibe created T7904: GnuPG may downgrade digest algorithm to SHA1.
Nov 4 2025, 6:45 AM · gnupg, Bug Report
gniibe changed the status of T7882: `rsa-sha2` signature values are improperly truncated from Open to Testing.

Pushed the revised change to master.

Nov 4 2025, 5:56 AM · ssh, gpgagent, Bug Report
gniibe committed rGc7e0ec12609b: agent:ssh: Fix RSA signature handling for newer spec. (authored by gniibe).
agent:ssh: Fix RSA signature handling for newer spec.
Nov 4 2025, 3:34 AM

Nov 3 2025

gniibe closed T7138: Windows (Semi-hosted environment): filename and network access, a subtask of T6508: Port GnuPG to 64-bit Windows, as Resolved.
Nov 3 2025, 3:41 AM · Windows 64, Feature Request, gnupg26
gniibe closed T7138: Windows (Semi-hosted environment): filename and network access as Resolved.

Fixed in 2.5.13.

Nov 3 2025, 3:41 AM · gnupg, Bug Report
gniibe added a comment to T7649: gnupg: Use KEM interface for encryption/decryption.

@onickolay The change was originally introduced for PQC stuff. And then, we applied use of KEM API (of libgcrypt) also for ordinary ECDH, so, it affected ordinary ECDH encryption (between 2.5.9 and 2.5.12).
The intention is follow the recommendation of use of KEM. IIUC, next FIPS certification will require use of KEM, possibly.

Nov 3 2025, 1:37 AM · gnupg26

Oct 30 2025

gniibe claimed T7882: `rsa-sha2` signature values are improperly truncated .

Thank you for your report.

Oct 30 2025, 6:18 AM · ssh, gpgagent, Bug Report
gniibe created T7894: libgcrypt, scute, gpgrt/argparse, gnupg/dirmngr: Hard-coded /etc.
Oct 30 2025, 3:06 AM · libgcrypt, scute, gpgrt, Bug Report
gniibe added a comment to T7889: libgcrypt: HAVE_BROKEN_MLOCK.

Note that:
If we consider backporting this to 1.10/1.11 branch, we also need to apply: rCdef1d4ea8f66: random:jent: Fix build with address sanitizer.

Oct 30 2025, 2:31 AM · libgcrypt, Bug Report
gniibe added a comment to T7889: libgcrypt: HAVE_BROKEN_MLOCK.

@jukivili
Thanks for your feedback.

Oct 30 2025, 2:27 AM · libgcrypt, Bug Report
gniibe updated the task description for T7889: libgcrypt: HAVE_BROKEN_MLOCK.
Oct 30 2025, 2:21 AM · libgcrypt, Bug Report

Oct 29 2025

gniibe added a comment to T7889: libgcrypt: HAVE_BROKEN_MLOCK.

For the initial attempt, I push: rCfe06287003a1: secmem: Handle HAVE_BROKEN_MLOCK for the case with ASAN.
This is better than nothing.

Oct 29 2025, 7:48 AM · libgcrypt, Bug Report
gniibe committed rCdef1d4ea8f66: random:jent: Fix build with address sanitizer. (authored by gniibe).
random:jent: Fix build with address sanitizer.
Oct 29 2025, 7:47 AM
gniibe committed rCfe06287003a1: secmem: Handle HAVE_BROKEN_MLOCK for the case with ASAN. (authored by gniibe).
secmem: Handle HAVE_BROKEN_MLOCK for the case with ASAN.
Oct 29 2025, 7:47 AM
gniibe claimed T7889: libgcrypt: HAVE_BROKEN_MLOCK.
Oct 29 2025, 7:36 AM · libgcrypt, Bug Report
gniibe created T7889: libgcrypt: HAVE_BROKEN_MLOCK.
Oct 29 2025, 7:36 AM · libgcrypt, Bug Report

Oct 23 2025

gniibe committed rC0ceca9993f5a: random:jent: Fix for jent_rng_is_initialized. (authored by gniibe).
random:jent: Fix for jent_rng_is_initialized.
Oct 23 2025, 10:05 AM

Oct 22 2025

gniibe added a comment to T7855: keybox/keydb locking issue in 2.6 .

Still, there is a fundamental problem with keydb locking.

  • It only assures no-data-corruption.
  • When a process doing write access, another process reading the resource may encounter a problem (inconsistent data read), since data could be changed while accessing.
    • Currently, write access may occur with keybox compress, this means that users are not safe to invoke multiple gpg/gpgsm simultaneously (to be sure).
      • It would be: only keybox compress when users explicitly ask.
    • We could introduce a lock to read access... BUT naively adding a lock (both for read and write or read-multiple-write-one) results possible deadlock in gpgsm
      • in gpgsm, gpgsm_walk_cert_chain and gpgsm_validate_chain access the resource of keydb in a way of:
        • While it has a handle kh, by find_up routine, it may call keydb_store_cert by callback routine; The callback does write access to the resource opening another handle.
        • Currently, it works because of no lock for read access and keydb_store_cert appends data at the end.
Oct 22 2025, 9:20 AM · gnupg26, gpd5x
gniibe committed rG0d887e6bea46: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Oct 22 2025, 5:00 AM
gniibe committed rG4a2dda2002c4: kbx,gpg,gpgsm: Add FP-close method for keydb to close before unlock. (authored by gniibe).
kbx,gpg,gpgsm: Add FP-close method for keydb to close before unlock.
Oct 22 2025, 5:00 AM
gniibe committed rG3db6f9f080bc: gpgsm: Fix delete and store certificate locking glitches. (authored by gniibe).
gpgsm: Fix delete and store certificate locking glitches.
Oct 22 2025, 4:38 AM
gniibe committed rG2d9e1295a1f4: gpg,gpgsm: Serialize write access to keybox/keyring to protect. (authored by gniibe).
gpg,gpgsm: Serialize write access to keybox/keyring to protect.
Oct 22 2025, 4:38 AM
gniibe committed rGef42a1e218ce: gpg,gpgsm: No more internal-lock when KEEP_LOCK is enabled. (authored by gniibe).
gpg,gpgsm: No more internal-lock when KEEP_LOCK is enabled.
Oct 22 2025, 4:38 AM
gniibe committed rGa0beed35d6c6: kbx,gpg,gpgsm: Introduce keybox_compress_when_no_other_users. (authored by gniibe).
kbx,gpg,gpgsm: Introduce keybox_compress_when_no_other_users.
Oct 22 2025, 4:38 AM
gniibe changed the status of T7855: keybox/keydb locking issue in 2.6 , a subtask of T2196: keydb locking can result in deadlock in 2.2, from Open to Testing.
Oct 22 2025, 4:38 AM · gnupg22, Bug Report
gniibe changed the status of T7855: keybox/keydb locking issue in 2.6 , a subtask of T7827: Kleopatra: Add workaround for locking issue on key generation, from Open to Testing.
Oct 22 2025, 4:38 AM · vsd33 (vsd-3.3.3), vsd34, gpd5x, kleopatra
gniibe changed the status of T7855: keybox/keydb locking issue in 2.6 from Open to Testing.

All changes in gniibe/t7855 are pushed into master.

Oct 22 2025, 4:38 AM · gnupg26, gpd5x

Oct 21 2025

gniibe changed the status of T7829: w32: daemon (gpg-agent/keyboxd/dirmngr) startup and connection race when there is a socket file already, a subtask of T7658: Okular: Dirmngr startup timeout on signature validation, from Open to Testing.
Oct 21 2025, 9:18 AM · Bug Report, gpd5x, okular