create key files readable by owner only

This commit is contained in:
acetone committed 2026-09-23 10:48:32 -04:00
1 parent ec928482fa
commit 5b3e4db7f1
7 files changed
+20 -6

No files matched your search

+1
View File
@@ -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);