Page MenuHome GnuPG

libassuanProject
ActivePublic

Members

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

Recent Activity

Mar 6 2024

werner updated the task description for T6542: Release libassuan 2.5.6.
Mar 6 2024, 2:42 PM · Release Info, libassuan
werner updated the task description for T7028: Release Libassuan 2.5.7.
Mar 6 2024, 2:41 PM · libassuan, Release Info
werner added projects to T7028: Release Libassuan 2.5.7: Release Info, libassuan.
Mar 6 2024, 2:41 PM · libassuan, Release Info

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

Aug 4 2023

gniibe renamed T5914: libassuan: Introduce use of gpgrt_get_syscall_clamp, no use of system_hooks for nPTH from libassuan: Introduce use of gpgrt_get_syscall_clamp, no use of system_hooks to libassuan: Introduce use of gpgrt_get_syscall_clamp, no use of system_hooks for nPTH.
Aug 4 2023, 8:06 AM · Feature Request, libassuan
gniibe changed the status of T6625: libassuan: Add assuan_control function from Open to Testing.

Pushed the change into master of libassuan (to be 3.0).

Aug 4 2023, 8:02 AM · libassuan
gniibe added a parent task for T5925: libassuan: Add assuan_sock_accept function to the API: T6606: Use new API of libassuan 3.
Aug 4 2023, 3:09 AM · Feature Request, libassuan
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 added a parent task for T6236: libassuan: Support sendfd/recvfd (possibly by new API) on Windows: T6606: Use new API of libassuan 3.
Aug 4 2023, 3:09 AM · Windows, libassuan, Feature Request
gniibe added a parent task for T6625: libassuan: Add assuan_control function: T6606: Use new API of libassuan 3.
Aug 4 2023, 3:09 AM · libassuan
gniibe added a parent task for T5914: libassuan: Introduce use of gpgrt_get_syscall_clamp, no use of system_hooks for nPTH: T6606: Use new API of libassuan 3.
Aug 4 2023, 3:05 AM · Feature Request, libassuan
gniibe added a parent task for T5925: libassuan: Add assuan_sock_accept function to the API: T6508: Port GnuPG to 64-bit Windows.
Aug 4 2023, 2:57 AM · Feature Request, libassuan

Aug 2 2023

gniibe triaged T6625: libassuan: Add assuan_control function as Normal priority.
Aug 2 2023, 6:43 AM · libassuan

Jul 24 2023

ebo moved T6324: libassuan, w32: assuan_sock_check_nonce fails with master from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jul 24 2023, 2:12 PM · Restricted Project, libassuan
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

Jun 19 2023

werner closed T6542: Release libassuan 2.5.6 as Resolved.
Jun 19 2023, 10:51 AM · Release Info, libassuan
werner updated the task description for T6542: Release libassuan 2.5.6.
Jun 19 2023, 9:45 AM · Release Info, libassuan
werner triaged T6542: Release libassuan 2.5.6 as Normal priority.
Jun 19 2023, 9:45 AM · Release Info, libassuan

May 12 2023

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.

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

May 8 2023

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

May 8 2023, 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.

May 8 2023, 4:14 AM · libassuan

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

Apr 28 2023

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

Why can't we keep the signed int? Do we ever need such a long timeout. We could for example define -1 as use default timeout.

Apr 28 2023, 9:19 AM · libassuan
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 5 2023

ebo moved T6308: Kleopatra: UiServer Connectivity self-test fails on Windows from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Apr 5 2023, 12:50 PM · gpg4win, libassuan, Restricted Project, kleopatra, Bug Report

Jan 5 2023

gniibe added a comment to T6324: libassuan, w32: assuan_sock_check_nonce fails with master.

My understanding is that: selftest in Kleo does call assuan_socket_connect (possibly in kleopatra/src/libkleopatraclient/core/command.cpp), and it didn't send nonce correctly.

Jan 5 2023, 1:06 AM · Restricted Project, libassuan

Jan 4 2023

aheinecke closed T6324: libassuan, w32: assuan_sock_check_nonce fails with master as Resolved.

Thanks! I don't understand why your fix helps as Kleopatra never calls assuan_socket_connect on the server side, but it helps. :) So this is probably called indirectly and I don't see it.

Jan 4 2023, 11:22 AM · Restricted Project, libassuan
gniibe added a comment to T6324: libassuan, w32: assuan_sock_check_nonce fails with master.

I found an issue in the assuan code of client side. This might be the cause of the server failure for nonce.

Jan 4 2023, 3:39 AM · Restricted Project, libassuan

Jan 3 2023

aheinecke added a comment to T6308: Kleopatra: UiServer Connectivity self-test fails on Windows.

The followup of this issue for libassuan is: https://dev.gnupg.org/T6324

Jan 3 2023, 4:19 PM · gpg4win, libassuan, Restricted Project, kleopatra, Bug Report
werner added a comment to T6324: libassuan, w32: assuan_sock_check_nonce fails with master.

What I mean is that our socket emulation is encapsulated in libgcrypt and details should not be visible to the caller. Further libassuan and kleopatra might be build against different libc versions and thus the used structures might also differ.

Jan 3 2023, 12:27 PM · Restricted Project, libassuan
aheinecke added a comment to T6324: libassuan, w32: assuan_sock_check_nonce fails with master.

From the NEWS assuan_sock_set_sockaddr_un was only added in 2014, years after the UIServer code was really last modified.

Jan 3 2023, 8:44 AM · Restricted Project, libassuan

Jan 2 2023

werner added a comment to T6324: libassuan, w32: assuan_sock_check_nonce fails with master.

The question is why Kleopatra does not use assuan_sock_set_sockaddr_un as we do in GnuPG. See for example
https://dev.gnupg.org/source/gnupg/browse/master/kbx/keyboxd.c$1124 - was this a workaround back when we had no support for Unicode? assuan_sock_set_sockaddr_un and assuan_sock_get_nonce work together and their internal workings should be opaque to the caller.

Jan 2 2023, 4:13 PM · Restricted Project, libassuan
aheinecke added a comment to T6324: libassuan, w32: assuan_sock_check_nonce fails with master.

Btw. This is how Kleopatra creates the socket: https://dev.gnupg.org/source/kleo/browse/master/src/uiserver/uiserver_win.cpp$34 which does not use a function that would set is_socket=1. My naive fix would be:

Jan 2 2023, 3:57 PM · Restricted Project, libassuan
aheinecke triaged T6324: libassuan, w32: assuan_sock_check_nonce fails with master as Normal priority.
Jan 2 2023, 3:32 PM · Restricted Project, libassuan

Dec 13 2022

ebo closed T6308: Kleopatra: UiServer Connectivity self-test fails on Windows as Resolved.

works

Dec 13 2022, 12:31 PM · gpg4win, libassuan, Restricted Project, kleopatra, Bug Report
werner moved T6308: Kleopatra: UiServer Connectivity self-test fails on Windows from Restricted Project Column to Restricted Project Column on the Restricted Project board.

Fixed by reverting to 2.5.5

Dec 13 2022, 12:02 PM · gpg4win, libassuan, Restricted Project, kleopatra, Bug Report
ikloecker moved T6308: Kleopatra: UiServer Connectivity self-test fails on Windows from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Dec 13 2022, 10:11 AM · gpg4win, libassuan, Restricted Project, kleopatra, Bug Report
ikloecker added a project to T6308: Kleopatra: UiServer Connectivity self-test fails on Windows: gpg4win.
Dec 13 2022, 10:10 AM · gpg4win, libassuan, Restricted Project, kleopatra, Bug Report
werner added a project to T6308: Kleopatra: UiServer Connectivity self-test fails on Windows: libassuan.

Problem is that Kleopatra uses the latest libassuan from Git and not the released version. Replacing the libassuan DLL with the one from the gnupg directory fixes the bug.

Dec 13 2022, 9:32 AM · gpg4win, libassuan, Restricted Project, kleopatra, Bug Report

Nov 26 2022

gniibe changed the status of T6249: gpgrt: spawn functions from Testing to Open.
Nov 26 2022, 3:26 AM · gnupg, libassuan, gpgrt

Nov 18 2022

gniibe added a comment to T6275: gnupg: Improve gnupg_spawn_process function.

On Windows, closing/inheriting handles is different to POSIX.
https://devblogs.microsoft.com/oldnewthing/20111216-00/?p=8873
https://devblogs.microsoft.com/oldnewthing/20130426-00/?p=4543
https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessw
https://learn.microsoft.com/en-us/windows/win32/api/winbase/ns-winbase-startupinfoexw
https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-initializeprocthreadattributelist
https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-updateprocthreadattribute
https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-deleteprocthreadattributelist

Nov 18 2022, 6:33 AM · gnupg, libassuan, gpgrt

Nov 16 2022

werner added a comment to T6249: gpgrt: spawn functions.

We should consider to break the Assuan API maybe we can do that without too many problems for the current use cases.

Nov 16 2022, 9:18 AM · gnupg, libassuan, gpgrt
gniibe added a comment to T6275: gnupg: Improve gnupg_spawn_process function.

I'm going to use gnupg_process_* prefix for the functions.

Nov 16 2022, 8:20 AM · gnupg, libassuan, gpgrt
gniibe triaged T6275: gnupg: Improve gnupg_spawn_process function as Normal priority.
Nov 16 2022, 8:18 AM · gnupg, libassuan, gpgrt

Nov 15 2022

gniibe added a comment to T6249: gpgrt: spawn functions.

Last two points are for future changes of assuan internal; For the case of controlling fds in detail, it is possible to use spawn callback controlling fds by the routine and let no-touching (inherit) by the spawn function.

Nov 15 2022, 1:45 AM · gnupg, libassuan, gpgrt

Nov 14 2022

spelissier updated the task description for T5977: Smartcard PIN stays in clear in memory.
Nov 14 2022, 1:18 PM · backport, libassuan, pinentry, scd, gnupg (gpg22), Bug Report
spelissier updated the task description for T5977: Smartcard PIN stays in clear in memory.
Nov 14 2022, 1:17 PM · backport, libassuan, pinentry, scd, gnupg (gpg22), Bug Report
werner added a comment to T6249: gpgrt: spawn functions.

I don't understand the last two points: This is only about the three standard descriptors but how shall we supply more descriptors? At least in GPGME we definitely need more.

Nov 14 2022, 7:12 AM · gnupg, libassuan, gpgrt
gniibe added a comment to T6249: gpgrt: spawn functions.

Evaluating again, I'd like to change spawn functions like this one in libgpg-error:

Nov 14 2022, 6:52 AM · gnupg, libassuan, gpgrt