This commit is contained in:
2022-09-18 14:35:12 +01:00
parent d805a4e965
commit 308360c1d8

View File

@ -23,6 +23,18 @@ else
fi
}
email_keys () {
if [ -d ${KEYSTORE} ]
then
echo "$0: email the below to requestor"
echo "--------------------------------"
cat ${KEYSTORE}/*.pub |sort | uniq
zip /var/tmp/keys.zip ~/._*.pub
else
echo "ERROR: keystore not found"
fi
}
#####
@ -73,3 +85,4 @@ LAST=$(uname -n)
check_keystore
send_keys
email_keys