Change private key file permissions (#551)

* Import the libc crate for file permission management

* Tighten permissions on key file

* Fix code to match style guidelines
This commit is contained in:
Mehdi Zerouali
2019-10-02 11:16:34 +10:00
committed by Paul Hauner
parent 9aedb12bfc
commit 6ae62c952b
3 changed files with 6 additions and 0 deletions

View File

@@ -38,3 +38,4 @@ bincode = "^1.1.2"
futures = "0.1.25"
dirs = "2.0.1"
logging = { path = "../eth2/utils/logging" }
libc = "0.2"