Selaa lähdekoodia

debian: Do not read jicofosecret. (#8454)

master
bgrozev 4 vuotta sitten
vanhempi
commit
5f891fd060
No account linked to committer's email address
2 muutettua tiedostoa jossa 0 lisäystä ja 15 poistoa
  1. 0
    10
      debian/jitsi-meet-prosody.postinst
  2. 0
    5
      debian/jitsi-meet-prosody.templates

+ 0
- 10
debian/jitsi-meet-prosody.postinst Näytä tiedosto

@@ -60,15 +60,6 @@ case "$1" in
60 60
             JICOFO_AUTH_PASSWORD="$RET"
61 61
         fi
62 62
 
63
-        db_get jicofo/jicofosecret
64
-        if [ -z "$RET" ] ; then
65
-            # if secret is missing generate it, and store it
66
-            JICOFO_SECRET=`generateRandomPassword`
67
-            db_set jicofo/jicofosecret "$JICOFO_SECRET"
68
-        else
69
-            JICOFO_SECRET="$RET"
70
-        fi
71
-
72 63
         JICOFO_AUTH_DOMAIN="auth.$JVB_HOSTNAME"
73 64
 
74 65
         # detect dpkg-reconfigure, just delete old links
@@ -107,7 +98,6 @@ case "$1" in
107 98
             mkdir -p /etc/prosody/conf.d/
108 99
             cp /usr/share/jitsi-meet-prosody/prosody.cfg.lua-jvb.example $PROSODY_HOST_CONFIG
109 100
             sed -i "s/jitmeet.example.com/$JVB_HOSTNAME/g" $PROSODY_HOST_CONFIG
110
-            sed -i "s/focusSecret/$JICOFO_SECRET/g" $PROSODY_HOST_CONFIG
111 101
             sed -i "s/focusUser/$JICOFO_AUTH_USER/g" $PROSODY_HOST_CONFIG
112 102
             sed -i "s/__turnSecret__/$TURN_SECRET/g" $PROSODY_HOST_CONFIG
113 103
             if [ ! -f /etc/prosody/conf.d/$JVB_HOSTNAME.cfg.lua ]; then

+ 0
- 5
debian/jitsi-meet-prosody.templates Näytä tiedosto

@@ -24,11 +24,6 @@ Type: password
24 24
 _Description: Jicofo user password:
25 25
  The secret used to connect to xmpp server as jicofo user.
26 26
 
27
-Template: jicofo/jicofosecret
28
-Type: password
29
-_Description: Jicofo Component secret:
30
- The secret used to connect to xmpp server as component
31
-
32 27
 Template: jitsi-meet-prosody/turn-secret
33 28
 Type: string
34 29
 _Description: The turn server secret

Loading…
Peruuta
Tallenna