aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2006-08-22 22:30:03 +0000
committerRob Austein <sra@hactrn.net>2006-08-22 22:30:03 +0000
commit383bb97e0b58cbfcee3c2189d588eb86f524e465 (patch)
treee7cd4e83648dcac97043c9dca1a68553c6bafb02
parent651d88b8c8ee0a23fe53c810e3559e9f8f67cd2d (diff)
# on 2006/08/12 05:58:14, sra did:
Initial revision svn path=/scripts/check-hashes.sh; revision=209
-rw-r--r--scripts/check-hashes.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/check-hashes.sh b/scripts/check-hashes.sh
new file mode 100644
index 00000000..ead94e6f
--- /dev/null
+++ b/scripts/check-hashes.sh
@@ -0,0 +1,11 @@
+#!/bin/sh -
+# $Id$
+
+cd `dirname $0`
+
+openssl=/u/sra/isc/route-pki/subvert-rpki.hactrn.net/openssl/trunk/apps/openssl
+
+capth=$(echo $(find hashed -type d) | tr \\040 :)
+
+find hashed -type f -name '*.?' |
+xargs $openssl verify -verbose -crl_check_all -policy_check -explicit_policy -policy 1.3.6.1.5.5.7.14.2 -x509_strict -CApath $capth