Open LeoHChen opened 4 years ago
@LeoHChen currently s3 code does not really have the code to read passphrase from .pass file and use it to load the bls key and it simply uses the default passphrase provided in using blspass
. For your deployment, if you didn't had same passphrase blspass
for all the keys that you wanted to load, and not passed this passphrase, it would have led to empty bls. However it should have printed the error.
we have the same pass phrase for all the blskeys we used. Anyway, we should have failed earlier if any errors encountered during the startup especially related to the key/pass.
Describe the bug When I was testing the dryrun branch, 10 keys per node. I copied the bls.pass file to the .hmy/blskeys directory together with the corresponding .key file.
However, after restarting the node, we saw errors like below in leader,
And errors like below in validators
To Reproduce Steps to reproduce the behavior:
s3
branchAssuming all the pass are the same, I have another pass file in /home/ec2-user/bls.pass
Start the node.sh with multi-key support
-M -p /home/ec2-user/bls.pass