Page MenuHome GnuPG

gniibe (NIIBE Yutaka)
UserAdministrator

Projects (9)

User Details

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

Recent Activity

Thu, Dec 25

gniibe committed rM538d7cd52b80: tests:gpg: Use GPGME_PINENTRY_MODE_LOOPBACK for tests. (authored by gniibe).
tests:gpg: Use GPGME_PINENTRY_MODE_LOOPBACK for tests.
Thu, Dec 25, 2:36 AM

Wed, Dec 24

gniibe committed rM11a8ef0e26bf: w32: Fix debug print on 64-bit machine. (authored by gniibe).
w32: Fix debug print on 64-bit machine.
Wed, Dec 24, 1:52 AM

Tue, Dec 23

gniibe committed rGc7472b1b9d2f: po: Update Georgian Translation. (authored by NorwayFun).
po: Update Georgian Translation.
Tue, Dec 23, 9:48 AM
gniibe committed rM936015d49c38: w32: Fix spawn for 64-bit machine. (authored by gniibe).
w32: Fix spawn for 64-bit machine.
Tue, Dec 23, 8:29 AM

Mon, Dec 22

gniibe committed rMd242561dae26: Fix a regression wrt the auto-key-locate option. (authored by gniibe).
Fix a regression wrt the auto-key-locate option.
Mon, Dec 22, 6:19 AM
gniibe committed rM5252c63ecae5: tests:w32: Use Sleep instead of _sleep. (authored by gniibe).
tests:w32: Use Sleep instead of _sleep.
Mon, Dec 22, 6:19 AM

Mon, Dec 15

gniibe committed rC92bbe34514ee: mpi:ec: Fix for use of ec_mulm_lli in _gcry_mpi_ec_get_affine. (authored by gniibe).
mpi:ec: Fix for use of ec_mulm_lli in _gcry_mpi_ec_get_affine.
Mon, Dec 15, 7:58 AM
gniibe committed rC028926d3edb5: w32: Fix use of GetProcAddress. (authored by gniibe).
w32: Fix use of GetProcAddress.
Mon, Dec 15, 7:57 AM
gniibe committed rM527c7fff9679: Fix function prototypes to match ones in libassuan. (authored by gniibe).
Fix function prototypes to match ones in libassuan.
Mon, Dec 15, 7:14 AM
gniibe committed rM77b9e1de7d76: Fix build with libassuan 2. (authored by gniibe).
Fix build with libassuan 2.
Mon, Dec 15, 7:14 AM

Thu, Dec 11

gniibe committed rM46938bdde475: Fix portability for the use of the assuan types. (authored by gniibe).
Fix portability for the use of the assuan types.
Thu, Dec 11, 7:28 AM
gniibe committed rM5fa2e405807d: w32: Add a cast for GetProcAddress, add AM_CFLAGS for w32spawn. (authored by gniibe).
w32: Add a cast for GetProcAddress, add AM_CFLAGS for w32spawn.
Thu, Dec 11, 7:28 AM

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

Dec 2 2025

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

Nov 28 2025

gniibe committed rSc3dc9c581631: w32: Use CSIDL_COMMON_APPDATA if available. (authored by gniibe).
w32: Use CSIDL_COMMON_APPDATA if available.
Nov 28 2025, 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.

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

Nov 27 2025

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

Here is my proposal:

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

Nov 26 2025

gniibe committed rCbdc3724d721d: cipher:kyber: Apply a change from upstream. (authored by gniibe).
cipher:kyber: Apply a change from upstream.
Nov 26 2025, 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.

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

Nov 25 2025

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?

Nov 25 2025, 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.
Nov 25 2025, 5:16 AM · golang, gpgme, Bug Report
gniibe closed T7694: GPGME: gpgme_io_spawn issues as Resolved.
Nov 25 2025, 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.

Nov 25 2025, 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.
Nov 25 2025, 2:25 AM
gniibe committed rGaab29b128693: kbx:sqlite: Don't call dotlock_release. (authored by gniibe).
kbx:sqlite: Don't call dotlock_release.
Nov 25 2025, 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.
Nov 25 2025, 2:25 AM
gniibe committed rG68dcfec91b90: common:dotlock:w32: Minor fixes for Windows. (authored by gniibe).
common:dotlock:w32: Minor fixes for Windows.
Nov 25 2025, 2:25 AM
gniibe committed rGd4e40e2a8adc: common:dotlock: Comment fixes. (authored by gniibe).
common:dotlock: Comment fixes.
Nov 25 2025, 2:25 AM

Nov 21 2025

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.

Nov 21 2025, 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.

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

Nov 20 2025

gniibe committed rG216a695ced83: agent: Use SHADOW_INFO to silence warnings. (authored by gniibe).
agent: Use SHADOW_INFO to silence warnings.
Nov 20 2025, 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.
Nov 20 2025, 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.

Nov 20 2025, 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.
Nov 20 2025, 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.

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

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

Nov 20 2025, 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.
Nov 20 2025, 6:59 AM
gniibe changed the status of T7909: Other bugs reported by 49016 et al. from Open to Testing.

t-stringhelp change was pushed by rG8a95e963d53a: common: Fix the test of t-stringhelp.
For int-truncation, I pushed the change rGbcd87ea2b2da: misc: Validate the value on the use of strtol.

Nov 20 2025, 6:33 AM · gnupg, g10code, Bug Report
gniibe committed rGcad79e542d85: agent,common,dirmngr,tests: Silence warnings of a compiler. (authored by gniibe).
agent,common,dirmngr,tests: Silence warnings of a compiler.
Nov 20 2025, 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.
Nov 20 2025, 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.
Nov 20 2025, 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.
Nov 20 2025, 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.
Nov 20 2025, 1:31 AM

Nov 19 2025

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.
Nov 19 2025, 6:34 AM
gniibe committed rEa9fc729253ee: argparse: Use SYSCONFDIR for /etc. (authored by gniibe).
argparse: Use SYSCONFDIR for /etc.
Nov 19 2025, 6:34 AM
gniibe changed the status of T7631: Building libassuan on AIX warns about missing function declarations. from Open to Testing.
Nov 19 2025, 6:13 AM · AIX, libassuan, Bug Report

Nov 18 2025

gniibe committed rGaa8e0cc9f331: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Nov 18 2025, 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?

Nov 18 2025, 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.

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

Nov 17 2025

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.

Nov 17 2025, 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:

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

Nov 14 2025

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

Nov 12 2025

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.

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

Nov 11 2025

gniibe added a comment to T7905: Radix64 Line-Truncation Enabling Polyglot Attacks.

For someone who considers the rejection is the requirement of the spec., here is a change:

Nov 11 2025, 7:00 AM · gnupg, g10code, Bug Report
gniibe updated the task description for T7905: Radix64 Line-Truncation Enabling Polyglot Attacks.
Nov 11 2025, 6:59 AM · gnupg, g10code, Bug Report
gniibe added a comment to T7902: OpenPGP Cleartext Signature Framework.

Here is a revised patch (hopefully the last one):

Nov 11 2025, 6:37 AM · Not A Bug, OpenPGP, FAQ, gnupg
gniibe committed rG62b8bf2f3905: gpg: Fix armored input parsing. (authored by gniibe).
gpg: Fix armored input parsing.
Nov 11 2025, 6:30 AM
gniibe committed rG9ef87bcdb034: dirmngr: Fix OCSP check. (authored by gniibe).
dirmngr: Fix OCSP check.
Nov 11 2025, 3:45 AM
gniibe committed rGff3068341869: agent: Fix a memory leak. (authored by Sorah Fukumori <her@sorah.jp>).
agent: Fix a memory leak.
Nov 11 2025, 3:45 AM

Nov 10 2025

gniibe added a comment to F31795841: armor-validation-one-pass-sig-2025-11-05.patch.

We can use:

Nov 10 2025, 10:11 AM
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 added a comment to T7902: OpenPGP Cleartext Signature Framework.

Here is a patch (revised since the email of mine):

Nov 5 2025, 6:26 AM · Not A Bug, OpenPGP, FAQ, gnupg
gniibe claimed T7909: Other bugs reported by 49016 et al..
Nov 5 2025, 6:11 AM · gnupg, g10code, Bug Report
gniibe added a comment to T7909: Other bugs reported by 49016 et al..

For t-stringhelp.c, here is a fix.

Nov 5 2025, 6:11 AM · gnupg, g10code, Bug Report
gniibe added a comment to T7909: Other bugs reported by 49016 et al..

For

openpgp_oid_from_str has a wrong memory-safety assumption

Nov 5 2025, 6:00 AM · gnupg, g10code, Bug Report
gniibe added a comment to T7909: Other bugs reported by 49016 et al..

For Integer Overflow in literals_seen, I think that the claim is wrong.
When literals_seen becomes two, GnuPG stops processing to return an error.
It's not possible for GnuPG to keep processing.

Nov 5 2025, 3:51 AM · gnupg, g10code, Bug Report
gniibe added a comment to T7909: Other bugs reported by 49016 et al..

For Integer Truncation of Arguments report, since the int value is limited to one-octet value, we could add check for the length of input when we use strtol.

Nov 5 2025, 3:30 AM · gnupg, g10code, 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 updated the task description for T7909: Other bugs reported by 49016 et al..
Nov 4 2025, 7:32 AM · gnupg, g10code, Bug Report
gniibe created T7909: Other bugs reported by 49016 et al..
Nov 4 2025, 7:18 AM · gnupg, g10code, Bug Report
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 created T7905: Radix64 Line-Truncation Enabling Polyglot Attacks.
Nov 4 2025, 6:50 AM · gnupg, g10code, 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 added a comment to T7903: Multiple Plaintext Attack on Detached PGP Signatures in GnuPG.

Fixed in rG8abc320f2a75: gpg: Error out on unverified output for non-detached signatures.

Nov 4 2025, 6:43 AM · Not A Bug, OpenPGP, gnupg