diff --git a/ci/check-ssh-keys.sh b/ci/check-ssh-keys.sh new file mode 100755 index 0000000000..854bf0bf37 --- /dev/null +++ b/ci/check-ssh-keys.sh @@ -0,0 +1,4 @@ +if grep -q rsa net/scripts/solana-user-authorized_keys.sh; then + echo "No rsa keys allowed, small key sizes are insecure." + exit 1 +fi diff --git a/ci/test-checks.sh b/ci/test-checks.sh index 90336334ea..4ba7721ff7 100755 --- a/ci/test-checks.sh +++ b/ci/test-checks.sh @@ -24,6 +24,7 @@ _ ci/nits.sh _ ci/order-crates-for-publishing.py _ book/build.sh _ book/build-svg.sh +_ ci/check-ssh-keys.sh { cd programs/bpf