Set secure permissions on generated blskey pass file in node.sh

pull/3079/head
hsiung 5 years ago committed by Leo Chen
parent 1810142077
commit 8861e9d44f
  1. 1
      scripts/node.sh

@ -810,6 +810,7 @@ read_bls_pass() {
unset -v passphrase
read -rsp "Enter passphrase for the BLS key file $f: " passphrase
echo ${passphrase} | tee $passfile
chmod og-wr $passfile
echo "Passphrase is temporarely saved to: $passfile"
prompt_save=true
fi

Loading…
Cancel
Save