From 16373587a33840bff33b5f035416031d2555fe81 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Mon, 11 Mar 2024 18:51:25 +0200 Subject: bin/sanity-check: Handle different ssh key types --- bin/sanity-check | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/sanity-check b/bin/sanity-check index 281b03a..9682c68 100755 --- a/bin/sanity-check +++ b/bin/sanity-check @@ -590,7 +590,9 @@ while [ $# -gt 0 ]; do printf '"command=\\\"%s/bin/slave-build-connect ",' \ "${base_dir}" printf '`build_slaves`.`name`,' - printf '"\\\" ssh-rsa ",' + printf '"\\\" ",' + printf '`ssh_keys`.`type`,' + printf '" ",' printf '`ssh_keys`.`fingerprint`' printf ')' printf ' FROM' @@ -603,7 +605,6 @@ while [ $# -gt 0 ]; do "${tmp_dir}/ssh-keys.mysql" sed -n ' /^command/ { - s/ssh-ed25519/ssh-rsa/ s/^\(\(\S\+\s\+\)\{4\}\)\S.*$/\1/ s/\s\+$// p -- cgit v1.2.3-54-g00ecf