feat: add TLS for node bridge
This commit is contained in:
1 parent
1656f491fd
commit
1ab1e312b2
36 files changed
+1161
-180
No files matched your search
@@ -32,6 +32,7 @@ enum MacNodeConfigFile {
|
||||
at: url.deletingLastPathComponent(),
|
||||
withIntermediateDirectories: true)
|
||||
try data.write(to: url, options: [.atomic])
|
||||
try? FileManager.default.setAttributes([.posixPermissions: 0o600], ofItemAtPath: url.path)
|
||||
} catch {
|
||||
self.logger.error("mac node config save failed: \(error.localizedDescription, privacy: .public)")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user