From 8861e9d44f0af086bc1a20283efb882a1ed7ece4 Mon Sep 17 00:00:00 2001 From: hsiung Date: Wed, 20 May 2020 22:54:39 -0700 Subject: [PATCH] Set secure permissions on generated blskey pass file in node.sh --- scripts/node.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/node.sh b/scripts/node.sh index 5d6b27539..5f5a383e5 100755 --- a/scripts/node.sh +++ b/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