add line to linux keystorage file
This commit is contained in:
parent
8f31087662
commit
14aa70992c
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ impl BasicFileStorage {
|
|||
let private_key = keypair.secret_key().unwrap().to_secret_hex();
|
||||
|
||||
let file_path = Path::new(&self.credentials_dir).join(&public_key);
|
||||
|
||||
let mut file = File::create(&file_path)?;
|
||||
file.write_all(private_key.as_bytes())?;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue