From 66265d30f513c0496d9f3f882cf61b49f4bfff40 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 13 Mar 2021 11:07:34 +0000 Subject: [PATCH] Switch default host key format to SHA256. Finally! Now all the previous commits have put the infrastructure in place to fall back to the old fingerprint if you need to, we can switch to the new format without a total compatibility break. --- ssh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh.h b/ssh.h index 3e46b814..08c6797c 100644 --- a/ssh.h +++ b/ssh.h @@ -1335,7 +1335,7 @@ typedef enum { SSH_FPTYPE_SHA256, } FingerprintType; -#define SSH_FPTYPE_DEFAULT SSH_FPTYPE_MD5 +#define SSH_FPTYPE_DEFAULT SSH_FPTYPE_SHA256 #define SSH_N_FPTYPES (SSH_FPTYPE_SHA256 + 1) FingerprintType ssh2_pick_fingerprint(char **fingerprints,