libvirt/src/rpc
Andrea Bolognani 65bf8fc9cf rpc: Pass GPG_TTY and TERM environment variables
gpg-agent can be used instead of ssh-agent to authenticate
against an SSH server, but in order to do so the GPG_TTY and
TERM environment variables need to be passed through.

For obvious reasons, we avoid doing that when no_tty=1 is found
in the connection URI.

https://bugs.debian.org/843863
https://gitlab.com/libvirt/libvirt/-/merge_requests/290

Thanks: Guilhem Moulin <guilhem@guilhem.org>
Thanks: Kunwu Chan <chentao@kylinos.cn>
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2023-11-20 10:18:59 +01:00
..
gendispatch.pl rpc: use g_auto for client RPC return parameters 2023-11-03 14:06:35 -04:00
meson.build build: switch over to new rpc generator code 2023-11-03 14:06:35 -04:00
virkeepalive.c rpc: Update format strings in translated messages 2023-04-01 11:40:34 +02:00
virkeepalive.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
virkeepaliveprotocol.x
virnetclient.c rpc: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
virnetclient.h rpc: Remove unused includes 2022-06-16 06:43:57 +02:00
virnetclientprogram.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virnetclientprogram.h rpc: Remove unused includes 2022-06-16 06:43:57 +02:00
virnetclientstream.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virnetclientstream.h rpc: Remove unused includes 2022-06-16 06:43:57 +02:00
virnetdaemon.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virnetdaemon.h virNetDaemonAutoShutdown: Allow live update of shutdown timeout 2022-07-07 14:35:30 +02:00
virnetlibsshsession.c rpc: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
virnetlibsshsession.h virNetLibsshSessionAuthAddPrivKeyAuth: Drop 'password' argument 2023-01-23 16:32:26 +01:00
virnetmessage.c net: add debug logs 2023-07-24 14:32:02 +02:00
virnetmessage.h virNetMessageEncodePayloadEmpty: Replace by virNetMessageEncodePayloadRaw(msg, NULL, 0) 2022-06-01 12:27:10 +02:00
virnetprotocol.x src: convert all code to use virsocket.h 2020-01-29 14:51:40 +00:00
virnetsaslcontext.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virnetsaslcontext.h daemon: virNetSASLContext: store tcpMinSSF 2021-11-04 17:02:56 +01:00
virnetserver.c rpc: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
virnetserver.h rpc: Remove unused includes 2022-06-16 06:43:57 +02:00
virnetserverclient.c rpc: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
virnetserverclient.h virnetserver: Use autoptr for virNetServer and virNetServerClient 2021-12-01 14:36:30 +01:00
virnetserverprogram.c lib: use struct zero initializer instead of memset 2023-08-03 16:41:19 +02:00
virnetserverprogram.h rpc: Remove unused includes 2022-06-16 06:43:57 +02:00
virnetserverservice.c util: remove virObjectUnref() adapters 2022-07-15 16:44:39 -05:00
virnetserverservice.h rpc: Remove unused includes 2022-06-16 06:43:57 +02:00
virnetsocket.c rpc: Pass GPG_TTY and TERM environment variables 2023-11-20 10:18:59 +01:00
virnetsocket.h lib: Use G_NO_INLINE instead of G_GNUC_NO_INLINE 2022-07-18 17:23:15 +02:00
virnetsshsession.c rpc: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
virnetsshsession.h virnetsshsession: Pass in username via virNetSSHSessionNew rather than auth functions 2023-01-23 16:32:26 +01:00
virnettlscontext.c rpc: Move error messages onto a single line 2023-09-04 09:35:36 +02:00
virnettlscontext.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00