]> git.proxmox.com Git - mirror_qemu.git/commit - block/ssh.c
block: support sha256 fingerprint with pre-blockdev options
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 13 Sep 2021 16:57:34 +0000 (17:57 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 16 Feb 2022 14:34:15 +0000 (14:34 +0000)
commitea0f60e6f274ca8ecb45296272b2561e088b6fc8
treee99cd74c20435171ae861ebd6d6793ceb315f54a
parentab458750d06bc5dec241722df8b2d5cd2456f66d
block: support sha256 fingerprint with pre-blockdev options

When support for sha256 fingerprint checking was aded in

  commit bf783261f0aee6e81af3916bff7606d71ccdc153
  Author: Daniel P. Berrangé <berrange@redhat.com>
  Date:   Tue Jun 22 12:51:56 2021 +0100

    block/ssh: add support for sha256 host key fingerprints

it was only made to work with -blockdev. Getting it working with
-drive requires some extra custom parsing.

Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
block/ssh.c