]> xenbits.xensource.com Git - libvirt.git/commit
virNetLibsshAuthenticatePassword: Use virAuthAskPassword instead of virAuthGetPasswor...
authorPeter Krempa <pkrempa@redhat.com>
Thu, 8 Dec 2022 15:24:19 +0000 (16:24 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 23 Jan 2023 15:32:26 +0000 (16:32 +0100)
commit616e79c065f5b4a52ed3e5fb1e2dec643b44b1e6
treeda03e7f951081f9a8e23415fbdb37b060846fcc6
parent88fde18644274d2d943307e6d47b6e8fe51328db
virNetLibsshAuthenticatePassword: Use virAuthAskPassword instead of virAuthGetPasswordPath

virAuthGetPasswordPath can return the same password over and over if
it's configured in the config. We rather want to try that only the first
time and then ask the user instead.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
src/rpc/virnetlibsshsession.c