Page MenuHome GnuPG

gniibe (NIIBE Yutaka)
UserAdministrator

Projects (9)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Mar 27 2017, 4:47 PM (322 w, 3 d)
Roles
Administrator
Availability
Available

Recent Activity

Yesterday

gniibe claimed T6511: EdDSA support in FIPS mode.
Thu, Jun 1, 9:46 AM · FIPS, libgcrypt, Bug Report
gniibe committed rA592f6bb89ad1: w32: Fix hello_line parsing for fd passing. (authored by gniibe).
w32: Fix hello_line parsing for fd passing.
Thu, Jun 1, 6:41 AM
gniibe added a comment to T6512: keyboxd with data pipe.

The problem of hang of tests/openpgp/multisig.scm is solved by rGef4f22b9d98b: gpg: Graceful exit for signature checking with --batch.
But the problem itself is not yet solved.

Thu, Jun 1, 5:04 AM · gnupg26, Bug Report
gniibe committed rGef4f22b9d98b: gpg: Graceful exit for signature checking with --batch. (authored by gniibe).
gpg: Graceful exit for signature checking with --batch.
Thu, Jun 1, 5:03 AM
gniibe added a comment to T6512: keyboxd with data pipe.

It is reproducible by testing tests/openpgp/multisig.scm with keyboxd enabled (it hangs), with the modification of following.

Thu, Jun 1, 4:58 AM · gnupg26, Bug Report
gniibe created T6512: keyboxd with data pipe.
Thu, Jun 1, 4:51 AM · gnupg26, Bug Report
gniibe committed rG0fba0bbc6215: w32: Fix use of assuan_sendfd. (authored by gniibe).
w32: Fix use of assuan_sendfd.
Thu, Jun 1, 2:16 AM

Wed, May 31

gniibe committed rAc69578bc248e: w32: Always include process information in HELLO. (authored by gniibe).
w32: Always include process information in HELLO.
Wed, May 31, 9:49 AM
gniibe committed rAefccdb36ec33: w32: Fix error return for sending fd. (authored by gniibe).
w32: Fix error return for sending fd.
Wed, May 31, 9:49 AM

Tue, May 30

gniibe added a comment to rPTHa075e11080bf: w32: Initialize variable to silence compiler warning..

Possibly, it may consider the case where errno==0 when failure.

Tue, May 30, 10:43 AM
gniibe committed rPTHa075e11080bf: w32: Initialize variable to silence compiler warning. (authored by gniibe).
w32: Initialize variable to silence compiler warning.
Tue, May 30, 8:27 AM
gniibe committed rTee3cbee5a24d: Fix the previous change. (authored by gniibe).
Fix the previous change.
Tue, May 30, 8:12 AM
gniibe committed rT2977b554dec9: Use -no-fast-install LDFLAGS for Windows. (authored by gniibe).
Use -no-fast-install LDFLAGS for Windows.
Tue, May 30, 8:12 AM

Fri, May 26

gniibe committed rGf15a643a2d45: agent,dirmngr: Shutdown fix for supervised mode. (authored by gniibe).
agent,dirmngr: Shutdown fix for supervised mode.
Fri, May 26, 8:32 AM
gniibe committed rGfe881167c5b8: agent,w32: Fix resource leak for a process. (authored by gniibe).
agent,w32: Fix resource leak for a process.
Fri, May 26, 3:10 AM
gniibe committed rE6877540eb1fc: Add GNU system support for cross compilation. (authored by gniibe).
Add GNU system support for cross compilation.
Fri, May 26, 2:13 AM

Thu, May 25

gniibe added a comment to T6487: libassuan: Clear semantics for assuan_get_pid and improve use cases for process control.

Since it's ABI change, I created a branch: https://dev.gnupg.org/source/libassuan/history/gniibe%252Ft6487/

Thu, May 25, 7:05 AM · Memo
gniibe committed rA3bccb33ccd90: Add new pipe functions to control its server process. (authored by gniibe).
Add new pipe functions to control its server process.
Thu, May 25, 7:03 AM
gniibe committed rG39a437378015: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Thu, May 25, 6:44 AM
gniibe committed rG6984ddc6ebf5: common,w32: Fix gnupg_process_release. (authored by gniibe).
common,w32: Fix gnupg_process_release.
Thu, May 25, 6:44 AM

Wed, May 24

gniibe committed rA8d83aea214a1: Allow use of global system hooks with API version 2. (authored by gniibe).
Allow use of global system hooks with API version 2.
Wed, May 24, 7:35 AM
gniibe added a comment to T6487: libassuan: Clear semantics for assuan_get_pid and improve use cases for process control.

I conclude that adding two public functions for pipe connection of client will be useful (and solve the pid_t issue, by successfully hiding those use cases).

Wed, May 24, 7:32 AM · Memo
gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

I pushed the change which keeps old status report behavior to master.
Let me test the change.

Wed, May 24, 3:48 AM · Emacs, gnupg, Bug Report
gniibe committed rG2f872fa68c65: gpg: Report BEGIN_* status before examining the input. (authored by gniibe).
gpg: Report BEGIN_* status before examining the input.
Wed, May 24, 3:48 AM
gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

looks simpler to me.

Wed, May 24, 3:24 AM · Emacs, gnupg, Bug Report

Tue, May 23

gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

Orthogonally, here is possible change for GnuPG, if we need to support the workaround of compress-level 0 in ~/.gnupg/gpg.conf.

Tue, May 23, 2:11 PM · Emacs, gnupg, Bug Report
gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

OK, here is my changes which always use make-temp-file (to avoid confusion between data input and passphrase input).

Tue, May 23, 10:47 AM · Emacs, gnupg, Bug Report
gniibe claimed T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

I use epg.el with the change of removing the wait:

Tue, May 23, 9:23 AM · Emacs, gnupg, Bug Report

Wed, May 17

gniibe added a comment to T6487: libassuan: Clear semantics for assuan_get_pid and improve use cases for process control.

For (2-2), there are two use cases in GnuPG.
(A) In call-daemon.c (for SCD and TPM2D), wait_child_thread cares about daemon termination to clean up resources. In this case, it calls waitpid/WaitForSingleObject.
(B) In call-pinentry.c, watch_sock cares about dangling pinentry. When it detects client's EOF on the socket (between the client and gpg-agent), it kills pinentry process. In this case, it calls kill/TerminateProcess.

Wed, May 17, 9:02 AM · Memo
gniibe committed rGb789ada2b07a: scd: Fix send_client_notifications for Windows. (authored by gniibe).
scd: Fix send_client_notifications for Windows.
Wed, May 17, 8:31 AM
gniibe committed rAaf34d84651b6: doc: Update documentation for the method spawn and waitpid. (authored by gniibe).
doc: Update documentation for the method spawn and waitpid.
Wed, May 17, 6:25 AM
gniibe committed rE89e53ad90f3a: w32: Use _putenv_s when available. (authored by gniibe).
w32: Use _putenv_s when available.
Wed, May 17, 5:27 AM
gniibe added a comment to T6487: libassuan: Clear semantics for assuan_get_pid and improve use cases for process control.

Finished the step to have cleaner semantics of the implementation by: rA6350f796fdd1: w32: Cleaner semantics for PID and Process handle.

Wed, May 17, 5:06 AM · Memo
gniibe closed T6293: w32: putenv in Microsoft runtime doesn't support GNU extension as Resolved.
Wed, May 17, 4:37 AM · gnupg, Bug Report
gniibe committed rA316fae440197: w32: File handle passing to server is now supported. (authored by gniibe).
w32: File handle passing to server is now supported.
Wed, May 17, 4:33 AM
gniibe committed rA5d1cdaaa03c6: Don't use ASSUAN_INVALID_PID for assuan_pid_t value. (authored by gniibe).
Don't use ASSUAN_INVALID_PID for assuan_pid_t value.
Wed, May 17, 4:33 AM
gniibe committed rA6350f796fdd1: w32: Cleaner semantics for PID and Process handle. (authored by gniibe).
w32: Cleaner semantics for PID and Process handle.
Wed, May 17, 4:07 AM
gniibe committed rAf3b3ddfd7ffb: Fix comments. (authored by gniibe).
Fix comments.
Wed, May 17, 4:07 AM

Tue, May 16

gniibe committed rGd22106276947: w32: Also use _putenv_s for gnupg_unsetenv. (authored by gniibe).
w32: Also use _putenv_s for gnupg_unsetenv.
Tue, May 16, 12:13 PM
gniibe committed rG86cdb49097a1: w32: Use _putenv_s. (authored by gniibe).
w32: Use _putenv_s.
Tue, May 16, 9:27 AM
gniibe renamed T6487: libassuan: Clear semantics for assuan_get_pid and improve use cases for process control from libassuan: Deprecate assuan_get_pid and improve use cases for process control to libassuan: Clear semantics for assuan_get_pid and improve use cases for process control.
Tue, May 16, 8:06 AM · Memo
gniibe committed rA18edc4f89f9a: Fix wrong return type for functions. (authored by gniibe).
Fix wrong return type for functions.
Tue, May 16, 7:55 AM
gniibe committed rT1fe9e9b5597c: build: Sync libtool from libgpg-error for 64-bit Windows. (authored by gniibe).
build: Sync libtool from libgpg-error for 64-bit Windows.
Tue, May 16, 7:46 AM
gniibe committed rMe622e36f1f32: build: Sync to libtool from libgpg-error for 64-bit Windows. (authored by gniibe).
build: Sync to libtool from libgpg-error for 64-bit Windows.
Tue, May 16, 5:18 AM
gniibe committed rKa920c2ff1a72: build: Sync libtool from libgpg-error for 64-bit Windows. (authored by gniibe).
build: Sync libtool from libgpg-error for 64-bit Windows.
Tue, May 16, 4:12 AM
gniibe committed rC01c0185e6360: build: Sync libtool from libgpg-error for 64-bit Windows. (authored by gniibe).
build: Sync libtool from libgpg-error for 64-bit Windows.
Tue, May 16, 4:05 AM
gniibe changed the status of T6484: dll: 64-bit different name for libgcrypt, libksba, ntbtls, and gpgme from Open to Testing.

Pushed changes for those libraries.

Tue, May 16, 3:57 AM
gniibe renamed T6484: dll: 64-bit different name for libgcrypt, libksba, ntbtls, and gpgme from dll: 64-bit different name for libgcrypt, libksba, and ntbtls to dll: 64-bit different name for libgcrypt, libksba, ntbtls, and gpgme.
Tue, May 16, 3:52 AM
gniibe committed rG5c7c6065f32d: w32: Remove support of Windows 95/98/Me. (authored by gniibe).
w32: Remove support of Windows 95/98/Me.
Tue, May 16, 3:26 AM

Mon, May 15

gniibe triaged T6487: libassuan: Clear semantics for assuan_get_pid and improve use cases for process control as Wishlist priority.
Mon, May 15, 6:45 AM · Memo

Fri, May 12

gniibe added a comment to T6478: gpg-agent works for gpg, but not ssh with pinentry-tty.

On a terminal, please invoke:
$ gpg-connect-agent UPDATESTARTUPTTY /bye

Fri, May 12, 9:58 AM · pinentry, Bug Report
gniibe triaged T6484: dll: 64-bit different name for libgcrypt, libksba, ntbtls, and gpgme as Wishlist priority.
Fri, May 12, 9:41 AM
gniibe added a comment to T6484: dll: 64-bit different name for libgcrypt, libksba, ntbtls, and gpgme.

My use case is using Wine, like this:

  • having different bindir (/usr/local/i686-w64-mingw32 and /usr/local/x86_64-w64-mingw32)
  • but I was too lazy to have different configurations for 32-bit and 64-bit, but to have shared configuration with
    • PATH adding both of /usr/local/i686-w64-mingw32 and /usr/local/x86_64-w64-mingw32
Fri, May 12, 9:30 AM
gniibe committed rK74fb95dbaf70: tests: Use -no-fast-install LDFLAGS for Windows. (authored by gniibe).
tests: Use -no-fast-install LDFLAGS for Windows.
Fri, May 12, 3:23 AM
gniibe committed rPTH7b9dc4d24979: tests: Use -no-fast-install LDFLAGS for Windows. (authored by gniibe).
tests: Use -no-fast-install LDFLAGS for Windows.
Fri, May 12, 2:53 AM
gniibe committed rEdfdd07c3c488: tests: Use -no-fast-install LDFLAGS for Windows. (authored by gniibe).
tests: Use -no-fast-install LDFLAGS for Windows.
Fri, May 12, 2:02 AM
gniibe committed rA695781375709: tests: Use -no-fast-install LDFLAGS for Windows. (authored by gniibe).
tests: Use -no-fast-install LDFLAGS for Windows.
Fri, May 12, 1:56 AM
gniibe added a comment to T6275: gnupg: Improve gnupg_spawn_process function.

Pushed to GnuPG master. Let us test. For my machine of Debian GNU/Linux, Wine emulation (Windows 32-bit, Windows 64-bit), make check goes all well.
After confirming the implementation, I'd like to put it into gpgrt.

Fri, May 12, 1:50 AM · gnupg, libassuan, gpgrt

Thu, May 11

gniibe created T6484: dll: 64-bit different name for libgcrypt, libksba, ntbtls, and gpgme.
Thu, May 11, 2:22 PM
gniibe committed rGa035938216c3: common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function. (authored by gniibe).
common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function.
Thu, May 11, 12:52 PM
gniibe committed rA9ecbd8e60c69: Deprecate ASSUAN_SYSTEM_NPTH. (authored by gniibe).
Deprecate ASSUAN_SYSTEM_NPTH.
Thu, May 11, 12:11 PM
gniibe committed rA1eb66efbdd7b: Allow NULL for system_hooks. (authored by gniibe).
Allow NULL for system_hooks.
Thu, May 11, 12:11 PM
gniibe committed rA620acf6fe3aa: Fix the previous commit. (authored by gniibe).
Fix the previous commit.
Thu, May 11, 11:05 AM
gniibe committed rA223cc95c188a: Fix calling gpgrt_get_syscall_clamp. (authored by gniibe).
Fix calling gpgrt_get_syscall_clamp.
Thu, May 11, 6:13 AM
gniibe committed rAfb5d02d76602: tests: Fix for POSIX machine. (authored by gniibe).
tests: Fix for POSIX machine.
Thu, May 11, 6:09 AM

Wed, May 10

gniibe committed rC33f9f0dec26d: tests: Use -no-fast-install LDFLAGS for Windows. (authored by gniibe).
tests: Use -no-fast-install LDFLAGS for Windows.
Wed, May 10, 11:07 AM
gniibe committed rC501dee123efe: w32: Silence GCC warning for -Wcast-function-type. (authored by gniibe).
w32: Silence GCC warning for -Wcast-function-type.
Wed, May 10, 11:07 AM
gniibe committed rA7191c125aca1: w32: Fix test header file for 64-bit Windows. (authored by gniibe).
w32: Fix test header file for 64-bit Windows.
Wed, May 10, 6:57 AM
gniibe committed rAf2d829e3db02: w32: Fix pipeconnect test program for Windows. (authored by gniibe).
w32: Fix pipeconnect test program for Windows.
Wed, May 10, 6:57 AM
gniibe committed rA17055e1c9953: w32: Fix the semantics of sending FD, it's Windows HANDLE. (authored by gniibe).
w32: Fix the semantics of sending FD, it's Windows HANDLE.
Wed, May 10, 6:33 AM
gniibe committed rA295e33465eae: w32: Minor fixes for ifdef/endif for W32 and W64. (authored by gniibe).
w32: Minor fixes for ifdef/endif for W32 and W64.
Wed, May 10, 6:33 AM

Mon, May 8

gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

The change rG60963d98cfd8: gpg: Detect already compressed data also when using a pipe. for T6332 introduce IOBUF_IOCTL_PEEK.

Mon, May 8, 11:10 AM · Emacs, gnupg, Bug Report
gniibe committed rA9110945ce625: Implement timeout in assuan_sock_connect_byname. (authored by gniibe).
Implement timeout in assuan_sock_connect_byname.
Mon, May 8, 5:23 AM
gniibe changed the status of T3302: Allow non-blocking connect with Tor from Open to Testing.

Implemented in rA9110945ce625: Implement timeout in assuan_sock_connect_byname..

Mon, May 8, 4:18 AM · libassuan
gniibe added a comment to T3302: Allow non-blocking connect with Tor.

Actually, it's not 'connect' system call, but 'CONNECT' request which matters. The use of SOCKS in libassuan is that it always connects to SOCKS server at localhost.
So, other than the special case of erroneous configuration of TOR, introducing timeout handling to the initial connection to the SOCKS server makes less sense.

Mon, May 8, 4:14 AM · libassuan
gniibe added a comment to T5942: scdaemon is blocking system shutdown.

The root cause might be that the "DEVINFO --watch" command causes ...

Mon, May 8, 1:55 AM · Support, scd, gpgagent

May 2 2023

gniibe added a comment to T3302: Allow non-blocking connect with Tor.

I see the point of use of int.
For backward compatibility, the semantics of 0 should remain as default timeout (let kernel decide == 120 sec, usually), -1 would be meaning immediately (only success when local).

May 2 2023, 8:00 AM · libassuan

May 1 2023

gniibe closed T6264: gpgrt-config: Support multilib MinGW-w64 as Resolved.
May 1 2023, 5:06 AM · toolchain, gpgrt
gniibe committed rG0fe99d69f0c8: dirmngr: Fix API of functions wrt their error type. (authored by gniibe).
dirmngr: Fix API of functions wrt their error type.
May 1 2023, 4:44 AM
gniibe committed rG698caf30b9f9: common: Fix parsing ECC key. (authored by gniibe).
common: Fix parsing ECC key.
May 1 2023, 4:44 AM
gniibe committed rG3cf5fc2e2f64: scd: Fix cmd_apdu on error. (authored by gniibe).
scd: Fix cmd_apdu on error.
May 1 2023, 4:44 AM
gniibe changed the status of T6476: cmd_apdu uses gpg_strerror instead of apdu_strerror from Open to Testing.

Thank you for your report. Good catch.

May 1 2023, 4:42 AM · Bug Report

Apr 29 2023

gniibe closed T6322: The warning "lower 3 bits of the secret key are not cleared" keeps showing even cv25519 key was generated by GnuPG as Resolved.

The fix is in 2.4.1.
It's not perfect fix, but it catches the problem when it's not encrypted secret key.

Apr 29 2023, 2:30 AM · gnupg24, Bug Report

Apr 28 2023

gniibe added a comment to T3302: Allow non-blocking connect with Tor.

assuan_sock_connect_byname may be extended to change the third argument (now int reserved) to unsigned int timeout.
It's a kind of API change, but ABI wise, the impact is minimum.

Apr 28 2023, 7:56 AM · libassuan

Apr 27 2023

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

I learned that Unix build environment needs Wine emulation (with winepath) for MinGW host (when uninstalled executable should run correctly).
https://www.gnu.org/software/libtool/manual/html_node/File-name-conversion.html

Apr 27 2023, 8:46 AM · gpgrt
gniibe changed the status of T6271: The old FSF address in libgcrypt source code from Open to Testing.

Fixed for libgcrypt, updating copyright notices and license files.

Apr 27 2023, 7:09 AM · Documentation, libgcrypt, Bug Report
gniibe committed rCf5284460ac4c: Update copyright notices to use URL. (authored by gniibe).
Update copyright notices to use URL.
Apr 27 2023, 7:06 AM
gniibe committed rC17a3394b47cb: Update m4 files and Makefiles. (authored by gniibe).
Update m4 files and Makefiles.
Apr 27 2023, 5:31 AM
gniibe committed rC2538430a35b0: Update license docs for FSF new address and update gcrypt.texi. (authored by gniibe).
Update license docs for FSF new address and update gcrypt.texi.
Apr 27 2023, 5:31 AM
gniibe committed rG23c56344851c: regexp: Update UnicodeData for Unicode 15.0.0. (authored by gniibe).
regexp: Update UnicodeData for Unicode 15.0.0.
Apr 27 2023, 2:12 AM

Apr 26 2023

gniibe committed rGcfb1c66ef681: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Apr 26 2023, 6:44 AM
gniibe committed rGc4a456e5ff2a: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Apr 26 2023, 6:40 AM
gniibe committed rMd44a473e2716: doc: Fix Python example code. (authored by gniibe).
doc: Fix Python example code.
Apr 26 2023, 2:18 AM
gniibe committed rS0b264b2da862: Remove a file to be generated. (authored by gniibe).
Remove a file to be generated.
Apr 26 2023, 2:12 AM
gniibe changed the status of T6466: gpgme python example code contains insecure code pattern / chmod permission race condition from Open to Testing.

@ikloecker Thanks for your comment. I put a comment in the commit.

Apr 26 2023, 1:51 AM · Python, Documentation, gpgme
gniibe committed rG0ec10fbd0d40: gpg: Fix for overridden key import. (authored by gniibe).
gpg: Fix for overridden key import.
Apr 26 2023, 1:48 AM

Apr 25 2023

gniibe added a comment to T6466: gpgme python example code contains insecure code pattern / chmod permission race condition.

So, here are fixes. I'll apply soonish.

Apr 25 2023, 7:44 AM · Python, Documentation, gpgme
gniibe added a comment to T3456: GPG does not import secret subkeys from --export-secret-subkeys output if subkey stubs existed before.

Sorry, the comment above is my misunderstanding.

Apr 25 2023, 6:42 AM · Restricted Project, gnupg
gniibe added a comment to T3456: GPG does not import secret subkeys from --export-secret-subkeys output if subkey stubs existed before.

For importing key/subkey case, it doesn't matter if the smartcard is connected or not. The data in the file will be overwritten by import.

Apr 25 2023, 6:14 AM · Restricted Project, gnupg
gniibe added a comment to T6464: No error message if PIN wrong on keytocard.

I understand the issue that you don't see an important message of the error.
Possibly, for this particular case, it would be changed to tty_printf instead.

Apr 25 2023, 4:32 AM · Restricted Project