Teku requires a password file for each individual keystore, with the same relative path as the keystore but a
.txtextension. If all the keystores have the same password, you can copy a single
password.txtfile for all the keystores with the command below:
for keyFile in keys/*
RELPATH=`echo "$keyFile" | sed -e 's/keys\/\(.*\)\.json/\1/'` cp password.txt "secrets/$RELPATH.txt"
Note that the
keys directory is specified twice in that command so if the keys are in a different directory name, make sure to update both places.