[PATCH] rpc: prefer SHA256 host key fingerprint with new libssh

Pavel Hrdina phrdina at redhat.com
Wed Jun 23 14:49:54 UTC 2021


On Wed, Jun 23, 2021 at 12:31:37PM +0100, Daniel P. Berrangé wrote:
> The host key fingerprint for SSH servers is used in a scenario where
> cryptographic strength is important. We should thus be defaulting to
> use of SHA256 where available. We only need SHA1 for Ubuntu 18.04
> which does not have libssh >= 0.8.1
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>  src/rpc/virnetlibsshsession.c | 13 ++++++++++---
>  1 file changed, 10 insertions(+), 3 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210623/0f9d0a7f/attachment-0001.sig>


More information about the libvir-list mailing list