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

2021-06-23 Thread Pavel Hrdina
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

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

2021-06-23 Thread Daniel P . Berrangé
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é --- src/rpc/virnetlibs