Page MenuHome GnuPG

MemoCommunication
ActivePublic

Members

  • This project does not have any members.
  • View All

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

Notes about work in progress items and other long term cleanups.

Recent Activity

Jun 21 2024

gniibe closed T6236: libassuan: Support sendfd/recvfd (possibly by new API) on Windows, a subtask of T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts, as Resolved.
Jun 21 2024, 8:40 AM · Memo
gniibe closed T6236: libassuan: Support sendfd/recvfd (possibly by new API) on Windows, a subtask of T4656: Windows 64-bit: functions which use pid_t, as Resolved.
Jun 21 2024, 8:40 AM · Memo

Aug 4 2023

gniibe added a parent task for T6487: libassuan: Clear semantics for assuan_get_pid and improve use cases for process control: T6606: Use new API of libassuan 3.
Aug 4 2023, 3:09 AM · libassuan, Memo
gniibe changed the status of T6227: Windows 64-bit: NPTH API from Open to Testing.

npth_t is untouched for Windows 64-bit.

Aug 4 2023, 2:55 AM · Windows 64, Memo, npth
gniibe added a parent task for T6227: Windows 64-bit: NPTH API: T6508: Port GnuPG to 64-bit Windows.
Aug 4 2023, 2:53 AM · Windows 64, Memo, npth
gniibe changed the status of T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts from Open to Testing.

npth_connect and npth_accept should deprecated (since it's not consistent with 64-bit Windows). In gnupg master, there is no use.

Aug 4 2023, 2:51 AM · Memo
gniibe added a parent task for T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts: T6508: Port GnuPG to 64-bit Windows.
Aug 4 2023, 2:41 AM · Memo
gniibe changed the status of T4656: Windows 64-bit: functions which use pid_t from Open to Testing.

In libassuan 3.0, we distinguish the integer identifier for process and the HANDLE (by T6487).
This was problem was solved.

Aug 4 2023, 2:40 AM · Memo
gniibe added a parent task for T4656: Windows 64-bit: functions which use pid_t: T6508: Port GnuPG to 64-bit Windows.
Aug 4 2023, 2:38 AM · Memo

Jul 24 2023

gniibe added a project to T6487: libassuan: Clear semantics for assuan_get_pid and improve use cases for process control: libassuan.
Jul 24 2023, 8:10 AM · libassuan, Memo
gniibe changed the status of T6487: libassuan: Clear semantics for assuan_get_pid and improve use cases for process control, a subtask of T4656: Windows 64-bit: functions which use pid_t, from Open to Testing.
Jul 24 2023, 7:56 AM · Memo
gniibe changed the status of T6487: libassuan: Clear semantics for assuan_get_pid and improve use cases for process control from Open to Testing.

Merged to master (to be 3.0.0).

Jul 24 2023, 7:56 AM · libassuan, Memo

May 25 2023

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/

May 25 2023, 7:05 AM · libassuan, Memo

May 24 2023

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).

May 24 2023, 7:32 AM · libassuan, Memo

May 17 2023

svuorela updated the task description for T6494: GOST Infos.
May 17 2023, 4:43 PM · S/MIME, Memo
werner changed the edit policy for T6494: GOST Infos.
May 17 2023, 3:51 PM · S/MIME, Memo
werner triaged T6494: GOST Infos as Wishlist priority.
May 17 2023, 3:50 PM · S/MIME, Memo
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.

May 17 2023, 9:02 AM · libassuan, Memo
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.
Clarified the fact (1-1).
And as a bonus, when it's "cygwin" mode, peer (client) process ID is now available.

May 17 2023, 5:06 AM · libassuan, Memo

May 16 2023

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.
May 16 2023, 8:06 AM · libassuan, Memo

May 15 2023

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

Nov 9 2022

werner added a comment to T4656: Windows 64-bit: functions which use pid_t.

AFAIK, Microsoft stated that the value of a HANDLE will always fit into a DWORD; i.e. only the lower 32 bits are used even on a 64 bit Windows.

Nov 9 2022, 10:02 AM · Memo
gniibe added a comment to T4656: Windows 64-bit: functions which use pid_t.

Now, we implemented fd passing on Windows in libassuan.
Note that the process identifier (represented by DWORD) and handle for a process (represented by HANDLE) are different things.

Nov 9 2022, 9:39 AM · Memo

Nov 7 2022

gniibe changed the status of T6236: libassuan: Support sendfd/recvfd (possibly by new API) on Windows, a subtask of T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts, from Open to Testing.
Nov 7 2022, 6:11 AM · Memo
gniibe changed the status of T6236: libassuan: Support sendfd/recvfd (possibly by new API) on Windows, a subtask of T4656: Windows 64-bit: functions which use pid_t, from Open to Testing.
Nov 7 2022, 6:11 AM · Memo

Oct 12 2022

gniibe added a subtask for T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts: T6236: libassuan: Support sendfd/recvfd (possibly by new API) on Windows.
Oct 12 2022, 3:44 AM · Memo
gniibe added a subtask for T4656: Windows 64-bit: functions which use pid_t: T6236: libassuan: Support sendfd/recvfd (possibly by new API) on Windows.
Oct 12 2022, 3:44 AM · Memo

Oct 5 2022

gniibe triaged T6227: Windows 64-bit: NPTH API as Wishlist priority.
Oct 5 2022, 8:40 AM · Windows 64, Memo, npth

Mar 31 2022

gniibe added a comment to T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts.

SOCKET handle is UINT_PTR on Windows. It is u_int on original MinGW, it is UINT_PTR (and unsinged __int64_t) on MinGW-W64.

Mar 31 2022, 3:39 AM · Memo

Mar 29 2022

gniibe added a comment to T4656: Windows 64-bit: functions which use pid_t.

Original MinGW and MinGW-w64 handle differently.
For MinGW-w64 on 64-bit machine, pid_t is 64-bit integer.
For original MinGW on 64-bit machine, pid_t is 32-bit integer.

Mar 29 2022, 8:18 AM · Memo

Aug 13 2021

werner changed the edit policy for Memo.
Aug 13 2021, 11:09 PM

Jul 31 2019

werner triaged T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts as Wishlist priority.
Jul 31 2019, 12:42 PM · Memo
werner added a project to T4656: Windows 64-bit: functions which use pid_t: Memo.
Jul 31 2019, 12:42 PM · Memo
werner set the color for Memo to Orange.
Jul 31 2019, 12:41 PM