Commit 060fd8fb authored by Barnabas Busa's avatar Barnabas Busa Committed by GitHub

fix: parallel key generation (#423)

parent 933a3133
...@@ -226,6 +226,14 @@ def generate_valdiator_keystores_in_parallel(plan, mnemonic, participants): ...@@ -226,6 +226,14 @@ def generate_valdiator_keystores_in_parallel(plan, mnemonic, participants):
stop_index, stop_index,
generation_finished_filepath, generation_finished_filepath,
) )
teku_permissions_cmd = (
" && chmod 777 -R " + output_dirpath + "/" + TEKU_KEYS_DIRNAME
)
raw_secret_permissions_cmd = (
" && chmod 0600 -R " + output_dirpath + "/" + RAW_SECRETS_DIRNAME
)
generate_keystores_cmd += teku_permissions_cmd
generate_keystores_cmd += raw_secret_permissions_cmd
all_generation_commands.append(generate_keystores_cmd) all_generation_commands.append(generate_keystores_cmd)
all_output_dirpaths.append(output_dirpath) all_output_dirpaths.append(output_dirpath)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment