Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-03-11 18:51:25 +0200
committerTasos Sahanidis <tasos@tasossah.com>2024-03-11 18:51:25 +0200
commit16373587a33840bff33b5f035416031d2555fe81 (patch)
tree5a3c07b553268b69072765bafd25d52baecb86f9 /bin
parent0da646d684597166ed280f79c7b927d8b594e5e4 (diff)
bin/sanity-check: Handle different ssh key types
Diffstat (limited to 'bin')
-rwxr-xr-xbin/sanity-check5
1 files 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