mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-23 12:52:51 +00:00
create key files readable by owner only
This commit is contained in:
1 parent
ec928482fa
commit
5b3e4db7f1
7 files changed
+20
-6
No files matched your search
@@ -527,6 +527,7 @@ namespace client
|
||||
X509_free (x509);
|
||||
|
||||
// save key
|
||||
i2p::fs::CreatePrivateFile (key_path);
|
||||
if ((f = fopen (key_path, "wb")) != NULL)
|
||||
{
|
||||
LogPrint (eLogInfo, "I2PControl: saving cert key to ", key_path);
|
||||
|
||||
Reference in new issue
Block a user