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

@@ -1,3 +1,4 @@
extern crate libc;
pub mod config;
pub use crate::config::Config;