From 1afa278844365188487a5b1bb18a9d3f8391a3f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 19 Apr 2022 13:17:08 +0200 Subject: [PATCH] prosody: add temporary workaround for JWT auth The previous commit updated Prosody to 0.12 and lua to 5.4. This also forced us to update luajwtjitsi to the latest version (3.0.0), and we hadn't landed a necessary fix in time for the stable release, so pick the right file by hand until the next release. --- prosody/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prosody/Dockerfile b/prosody/Dockerfile index c459cbb..864438b 100644 --- a/prosody/Dockerfile +++ b/prosody/Dockerfile @@ -48,6 +48,8 @@ RUN wget -qO /etc/apt/trusted.gpg.d/prosody.gpg https://prosody.im/files/prosody apt-dpkg-wrap apt-get -d install -y jitsi-meet-prosody && \ dpkg -x /var/cache/apt/archives/jitsi-meet-prosody*.deb /tmp/pkg && \ mv /tmp/pkg/usr/share/jitsi-meet/prosody-plugins /prosody-plugins && \ + rm -f /prosody-plugins/token/util.lib.lua && \ + wget -qO /prosody-plugins/token/util.lib.lua https://raw.githubusercontent.com/jitsi/jitsi-meet/46dd88c91b63988f516114daee65ff8995c74c56/resources/prosody-plugins/token/util.lib.lua && \ apt-cleanup && \ rm -rf /tmp/pkg /var/cache/apt && \ rm -rf /etc/prosody && \