Add ssh key check (#6149)

This commit is contained in:
sakridge 2019-09-27 10:55:51 -07:00 committed by GitHub
parent f97d33e3a7
commit db05864a69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

4
ci/check-ssh-keys.sh Executable file
View File

@ -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

View File

@ -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