Set the account key file permissions

This commit is contained in:
Jose Luis Duran 2018-02-16 15:40:05 -02:00
parent 6d6b2efdb5
commit 123e8f21b5
No known key found for this signature in database
GPG Key ID: 8BE8242E460537F4

View File

@ -1281,6 +1281,7 @@ _create_account_key() {
else
#generate account key
_createkey "$length" "$ACCOUNT_KEY_PATH"
chmod 600 "$ACCOUNT_KEY_PATH"
fi
}