summaryrefslogtreecommitdiff
path: root/catlfish-benchmark/createauthkeys.sh
diff options
context:
space:
mode:
Diffstat (limited to 'catlfish-benchmark/createauthkeys.sh')
-rwxr-xr-xcatlfish-benchmark/createauthkeys.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/catlfish-benchmark/createauthkeys.sh b/catlfish-benchmark/createauthkeys.sh
new file mode 100755
index 0000000..920cc38
--- /dev/null
+++ b/catlfish-benchmark/createauthkeys.sh
@@ -0,0 +1,12 @@
+NODES="frontend merge signing mergebackup"
+
+mkdir privatekeys
+mkdir publickeys
+
+for node in $NODES; do
+ (
+ cd privatekeys
+ /usr/local/src/catlfish/tools/create-key.sh $node
+ )
+ mv privatekeys/$node.pem publickeys/
+done