Home GnuPG
Diffusion GnuPG 5746c944cd78

agent: Require use of "SCD DEVINFO --watch" command with socket.

Description

agent: Require use of "SCD DEVINFO --watch" command with socket.

* agent/call-scd.c (agent_card_devinfo): Check if client connects
by a socket.

(cherry picked from commit c4ff9c5def1aaf76f7cec82d9aa7e5cb1b77f044)

  • GnuPG-bug-id: T7151
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 28 2024, 6:51 AM
wernerCommitted on Jul 1 2024, 2:38 PM
Parents
rG81fc7b291ea7: agent: Initialize thread_startup.fd for pipe connection.
Branches
Unknown
Tags
Unknown
Tasks
T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close