Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

debian: Do not read jicofosecret. (#8454)

bgrozev5f891fd0605a
diff --git a/debian/jitsi-meet-prosody.postinst b/debian/jitsi-meet-prosody.postinst
index 4e78758e15..89dc23b98d 100644
--- a/debian/jitsi-meet-prosody.postinst
+++ b/debian/jitsi-meet-prosody.postinst
@@ -60,15 +60,6 @@ case "$1" in
JICOFO_AUTH_PASSWORD="$RET"
fi
- db_get jicofo/jicofosecret
- if [ -z "$RET" ] ; then
- # if secret is missing generate it, and store it
- JICOFO_SECRET=`generateRandomPassword`
- db_set jicofo/jicofosecret "$JICOFO_SECRET"
- else
- JICOFO_SECRET="$RET"
- fi
-
JICOFO_AUTH_DOMAIN="auth.$JVB_HOSTNAME"
# detect dpkg-reconfigure, just delete old links
@@ -107,7 +98,6 @@ case "$1" in
mkdir -p /etc/prosody/conf.d/
cp /usr/share/jitsi-meet-prosody/prosody.cfg.lua-jvb.example $PROSODY_HOST_CONFIG
sed -i "s/jitmeet.example.com/$JVB_HOSTNAME/g" $PROSODY_HOST_CONFIG
- sed -i "s/focusSecret/$JICOFO_SECRET/g" $PROSODY_HOST_CONFIG
sed -i "s/focusUser/$JICOFO_AUTH_USER/g" $PROSODY_HOST_CONFIG
sed -i "s/__turnSecret__/$TURN_SECRET/g" $PROSODY_HOST_CONFIG
if [ ! -f /etc/prosody/conf.d/$JVB_HOSTNAME.cfg.lua ]; then
diff --git a/debian/jitsi-meet-prosody.templates b/debian/jitsi-meet-prosody.templates
index fc51949d4c..eecc64682c 100644
--- a/debian/jitsi-meet-prosody.templates
+++ b/debian/jitsi-meet-prosody.templates
@@ -24,11 +24,6 @@ Type: password
_Description: Jicofo user password:
The secret used to connect to xmpp server as jicofo user.
-Template: jicofo/jicofosecret
-Type: password
-_Description: Jicofo Component secret:
- The secret used to connect to xmpp server as component
-
Template: jitsi-meet-prosody/turn-secret
Type: string
_Description: The turn server secret