/usr/share/doc/libmyproxy-dev/extras/myproxy-cert-checker is in libmyproxy-doc 6.1.28-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/sh
# example certificate_issuer_checker script
# pull cert from stdin to shell variable
cert=`openssl x509 -text`
# check for MD5 signatures
echo "$cert" | grep 'Algorithm: md5' > /dev/null 2>&1
if [ $? = "0" ]; then
echo "MD5 signature detected" 1>&2
exit 1
fi
# all done
exit 0
|