aboutsummaryrefslogtreecommitdiff
path: root/scripts/check-hashes.sh
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-12-24 06:36:18 +0000
committerRob Austein <sra@hactrn.net>2007-12-24 06:36:18 +0000
commite62cfb013638b5e68218c0702e88c6c4dfeb06f9 (patch)
tree93b5b864915a92a03e805062cf3b5b6d7f8b1e27 /scripts/check-hashes.sh
parent6923ec5709af6f4fa5ea8e6e9af9265f5b9e213f (diff)
Cleanup
svn path=/scripts/Old/check-hashes.sh; revision=1434
Diffstat (limited to 'scripts/check-hashes.sh')
-rw-r--r--scripts/check-hashes.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/check-hashes.sh b/scripts/check-hashes.sh
deleted file mode 100644
index 87c140de..00000000
--- a/scripts/check-hashes.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh -
-# $Id$
-
-: ${openssl=/u/sra/isc/route-pki/subvert-rpki.hactrn.net/openssl/openssl/apps/openssl}
-: ${switches='-verbose -crl_check_all -policy_check -explicit_policy -policy 1.3.6.1.5.5.7.14.2 -x509_strict'}
-: ${hashtree=hashed}
-
-find $hashtree -type f -name '*.[0-9]*' 2>&1 -print -exec \
- $openssl verify $switches -CApath $(find $hashtree -type d | tr \\012 : | sed 's=:$==') {} \;
-
-# Hack for analyzing results of running this script:
-#
-# awk -F: '/^hashed/ && NF == 1 {f = $0; p = 1; next} /^hashed/ && NF == 2 && $1 == f && $2 == " OK" {next} p {print "\n" f; p = 0} {print}' check-hashes.log