From 7cf55db865db9ecccfa3acf5c0664d45adc6c52e Mon Sep 17 00:00:00 2001 From: downtownallday Date: Mon, 14 Nov 2022 17:38:35 -0500 Subject: [PATCH] mod: protect the coturn turnserver secret --- setup/mods.available/coturn.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/mods.available/coturn.sh b/setup/mods.available/coturn.sh index d0ed00e4..e311f2d4 100755 --- a/setup/mods.available/coturn.sh +++ b/setup/mods.available/coturn.sh @@ -47,6 +47,7 @@ STATIC_AUTH_SECRET='$(generate_password 64)' TURNSERVER_HOSTNAME= EOF fi + chmod 640 "$STORAGE_ROOT/voip/turnserver.conf" . "$STORAGE_ROOT/voip/turnserver.conf" }