From unknown Sun Jun 22 03:58:22 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#69731] [PATCH 0/2] Fix prosody system test Resent-From: Carlo Zancanaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Mar 2024 11:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69731 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69731@debbugs.gnu.org Cc: Liliana Marie Prikler X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171015828426591 (code B ref -1); Mon, 11 Mar 2024 11:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Mar 2024 11:58:04 +0000 Received: from localhost ([127.0.0.1]:39162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjeI7-0006up-P1 for submit@debbugs.gnu.org; Mon, 11 Mar 2024 07:58:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:36418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjeI2-0006uM-It for submit@debbugs.gnu.org; Mon, 11 Mar 2024 07:58:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjeHU-0000y0-E5 for guix-patches@gnu.org; Mon, 11 Mar 2024 07:57:24 -0400 Received: from voltorb.zancanaro.id.au ([45.77.50.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjeHR-0003bF-BL for guix-patches@gnu.org; Mon, 11 Mar 2024 07:57:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=GVXxZtpxH6VhFxx IZPnJbLsaUdXDrFiKHVFsv2zw8SA=; h=date:subject:cc:to:from; d=zancanaro.id.au; b=WdFvOExrm8LRleoFJbEqyZVtn5WqKR946R4akXU3nD8/No1Y5 1OL+2+xhiSH7YiMRUEvv2rGVCwXStRHmj9holX1VERDOVIxk6OAZvlbn0cH6935TjmSNge Q8re1EH6a55LxkmyvLnrj5hxA/raJFU8LkFH/455K+xHoE+mMO7I= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id 7dec71d1 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 11 Mar 2024 11:57:04 +0000 (UTC) From: Carlo Zancanaro Date: Mon, 11 Mar 2024 22:57:02 +1100 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=45.77.50.64; envelope-from=carlo@zancanaro.id.au; helo=voltorb.zancanaro.id.au X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) In a previous patch[1], Liliana found that the prosody system test was failing. I did some investigation, and found that this was because the saslauth module doesn't allow PLAIN or LOGIN authentication on insecure connections. There is a configuration item for this, but we didn't have it as a part of the Guix prosody-configuration objects, so I added it and then used it to make the test pass. [1]: https://issues.guix.gnu.org/69272#10 Carlo Zancanaro (2): gnu: services: Add insecure-sasl-mechanisms to prosody configuration. gnu: tests: Fix prosody system test. doc/guix.texi | 12 +++++++++--- gnu/services/messaging.scm | 6 ++++++ gnu/tests/messaging.scm | 2 +- 3 files changed, 16 insertions(+), 4 deletions(-) base-commit: 2a8018e42c0d9b81de56cf322043c797e443c267 -- 2.41.0 From unknown Sun Jun 22 03:58:22 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#69731] [PATCH 1/2] gnu: services: Add insecure-sasl-mechanisms to prosody configuration. Resent-From: Carlo Zancanaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Mar 2024 12:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69731 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69731@debbugs.gnu.org Cc: Liliana Marie Prikler Received: via spool by 69731-submit@debbugs.gnu.org id=B69731.171015844326976 (code B ref 69731); Mon, 11 Mar 2024 12:01:01 +0000 Received: (at 69731) by debbugs.gnu.org; 11 Mar 2024 12:00:43 +0000 Received: from localhost ([127.0.0.1]:39168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjeKg-00070z-Hu for submit@debbugs.gnu.org; Mon, 11 Mar 2024 08:00:43 -0400 Received: from voltorb.zancanaro.id.au ([45.77.50.64]:37114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjeKc-00070b-Hn for 69731@debbugs.gnu.org; Mon, 11 Mar 2024 08:00:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=Q/yxkhDSUQ8FV4E W6ofqdgAYDCVSaFYlLB7/Po8a3FQ=; h=references:in-reply-to:date:subject: cc:to:from; d=zancanaro.id.au; b=e/nojJSl0+MmGMn4B7EtlPQ9m96Qjx+7U0UxN gTVT71mEBUk+yJUOB+0OGVhpUVjrlNJXldcj/Gq5V7DWNc/Praw9R/gNEbuQzVzBLxDCyZ dsoynLfObmMQTi8bOuOnFljnApb4gyEZ34Ab7syUztE4Ghc6w/LSJn2ZyDGm197o= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id f7fdbd10 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 11 Mar 2024 11:59:53 +0000 (UTC) From: Carlo Zancanaro Date: Mon, 11 Mar 2024 22:59:52 +1100 Message-ID: <2f7f7780814bd69a270087f0edf0071f453bdc5d.1710157873.git.carlo@zancanaro.id.au> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/services/messaging.scm (prosody-configuration): Add insecure-sasl-mechanisms configuration option. * doc/guix.texi (Messaging Services): Document it. Change-Id: I8d9e42476ea8ad2f89b143ed4a66b4798e418586 --- doc/guix.texi | 12 +++++++++--- gnu/services/messaging.scm | 6 ++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 858d5751bf..d9b55b3c1f 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -28551,6 +28551,12 @@ Messaging Services Defaults to @samp{'("DIGEST-MD5")}. @end deftypevr +@deftypevr {@code{prosody-configuration} parameter} string-list insecure-sasl-mechanisms +Set of mechanisms that will not be offered on unencrypted connections. +See @url{https://prosody.im/doc/modules/mod_saslauth}. +Defaults to @samp{'("PLAIN" "LOGIN")}. +@end deftypevr + @deftypevr {@code{prosody-configuration} parameter} boolean s2s-require-encryption? Whether to force all server-to-server connections to be encrypted or not. See @url{https://prosody.im/doc/modules/mod_tls}. @@ -28630,7 +28636,7 @@ Messaging Services Available @code{virtualhost-configuration} fields are: -all these @code{prosody-configuration} fields: @code{admins}, @code{use-libevent?}, @code{modules-enabled}, @code{modules-disabled}, @code{groups-file}, @code{allow-registration?}, @code{ssl}, @code{c2s-require-encryption?}, @code{disable-sasl-mechanisms}, @code{s2s-require-encryption?}, @code{s2s-secure-auth?}, @code{s2s-insecure-domains}, @code{s2s-secure-domains}, @code{authentication}, @code{log}, @code{http-max-content-size}, @code{http-external-url}, @code{raw-content}, plus: +all these @code{prosody-configuration} fields: @code{admins}, @code{use-libevent?}, @code{modules-enabled}, @code{modules-disabled}, @code{groups-file}, @code{allow-registration?}, @code{ssl}, @code{c2s-require-encryption?}, @code{disable-sasl-mechanisms}, @code{insecure-sasl-mechanisms}, @code{s2s-require-encryption?}, @code{s2s-secure-auth?}, @code{s2s-insecure-domains}, @code{s2s-secure-domains}, @code{authentication}, @code{log}, @code{http-max-content-size}, @code{http-external-url}, @code{raw-content}, plus: @deftypevr {@code{virtualhost-configuration} parameter} string domain Domain you wish Prosody to serve. @end deftypevr @@ -28652,7 +28658,7 @@ Messaging Services Available @code{int-component-configuration} fields are: -all these @code{prosody-configuration} fields: @code{admins}, @code{use-libevent?}, @code{modules-enabled}, @code{modules-disabled}, @code{groups-file}, @code{allow-registration?}, @code{ssl}, @code{c2s-require-encryption?}, @code{disable-sasl-mechanisms}, @code{s2s-require-encryption?}, @code{s2s-secure-auth?}, @code{s2s-insecure-domains}, @code{s2s-secure-domains}, @code{authentication}, @code{log}, @code{http-max-content-size}, @code{http-external-url}, @code{raw-content}, plus: +all these @code{prosody-configuration} fields: @code{admins}, @code{use-libevent?}, @code{modules-enabled}, @code{modules-disabled}, @code{groups-file}, @code{allow-registration?}, @code{ssl}, @code{c2s-require-encryption?}, @code{disable-sasl-mechanisms}, @code{insecure-sasl-mechanisms}, @code{s2s-require-encryption?}, @code{s2s-secure-auth?}, @code{s2s-insecure-domains}, @code{s2s-secure-domains}, @code{authentication}, @code{log}, @code{http-max-content-size}, @code{http-external-url}, @code{raw-content}, plus: @deftypevr {@code{int-component-configuration} parameter} string hostname Hostname of the component. @end deftypevr @@ -28705,7 +28711,7 @@ Messaging Services Available @code{ext-component-configuration} fields are: -all these @code{prosody-configuration} fields: @code{admins}, @code{use-libevent?}, @code{modules-enabled}, @code{modules-disabled}, @code{groups-file}, @code{allow-registration?}, @code{ssl}, @code{c2s-require-encryption?}, @code{disable-sasl-mechanisms}, @code{s2s-require-encryption?}, @code{s2s-secure-auth?}, @code{s2s-insecure-domains}, @code{s2s-secure-domains}, @code{authentication}, @code{log}, @code{http-max-content-size}, @code{http-external-url}, @code{raw-content}, plus: +all these @code{prosody-configuration} fields: @code{admins}, @code{use-libevent?}, @code{modules-enabled}, @code{modules-disabled}, @code{groups-file}, @code{allow-registration?}, @code{ssl}, @code{c2s-require-encryption?}, @code{disable-sasl-mechanisms}, @code{insecure-sasl-mechanisms}, @code{s2s-require-encryption?}, @code{s2s-secure-auth?}, @code{s2s-insecure-domains}, @code{s2s-secure-domains}, @code{authentication}, @code{log}, @code{http-max-content-size}, @code{http-external-url}, @code{raw-content}, plus: @deftypevr {@code{ext-component-configuration} parameter} string component-secret Password which the component will use to log in. @end deftypevr diff --git a/gnu/services/messaging.scm b/gnu/services/messaging.scm index 9702170b3e..a914d0f89e 100644 --- a/gnu/services/messaging.scm +++ b/gnu/services/messaging.scm @@ -427,6 +427,12 @@ (define %default-modules-enabled @url{https://prosody.im/doc/modules/mod_saslauth}." common) + (insecure-sasl-mechanisms + (string-list '("PLAIN" "LOGIN")) + "Set of mechanisms that will not be offered on unencrypted connections. +See @url{https://prosody.im/doc/modules/mod_saslauth}." + common) + (s2s-require-encryption? (boolean #f) "Whether to force all server-to-server connections to be encrypted or not. -- 2.41.0 From unknown Sun Jun 22 03:58:22 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#69731] [PATCH 2/2] gnu: tests: Fix prosody system test. Resent-From: Carlo Zancanaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Mar 2024 12:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69731 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69731@debbugs.gnu.org Cc: Liliana Marie Prikler Received: via spool by 69731-submit@debbugs.gnu.org id=B69731.171015844426984 (code B ref 69731); Mon, 11 Mar 2024 12:01:02 +0000 Received: (at 69731) by debbugs.gnu.org; 11 Mar 2024 12:00:44 +0000 Received: from localhost ([127.0.0.1]:39170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjeKi-00071A-Bq for submit@debbugs.gnu.org; Mon, 11 Mar 2024 08:00:44 -0400 Received: from voltorb.zancanaro.id.au ([45.77.50.64]:37114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjeKf-00070b-9q for 69731@debbugs.gnu.org; Mon, 11 Mar 2024 08:00:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=Y04ZFme1CscrwLc 6OXwnTfmq3wtmqpkc3QYx4EJ14KI=; h=references:in-reply-to:date:subject: cc:to:from; d=zancanaro.id.au; b=HQGaug4cB+6sNtDmprfDFOD87ZmpTMqdxEYNp CjMkJdE5jIhKDdLojEseTH2jT9HGuxlPp5lT85asZ6kakXJ4I6X4SqTFt6HyDZyB6O7K5T EWYlhbQmtGDg1fkXkPuo9Zr1v7L+cs8lituZe4Yuv11ePP6I8vOv9bQQGgQpJEnQ= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id 16f52c4b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 11 Mar 2024 11:59:53 +0000 (UTC) From: Carlo Zancanaro Date: Mon, 11 Mar 2024 22:59:53 +1100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) The test was failing because the sasl module no longer accepts PLAIN auth on insecure connections. * gnu/tests/messaging.scm (%test-prosody): Configure test prosody to allow all auth types on insecure connections. Change-Id: I142f3b6ccbdde4bdde86ce0698fea7d5509fc200 --- gnu/tests/messaging.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/tests/messaging.scm b/gnu/tests/messaging.scm index 1e26c0ddea..dfcc92f7ed 100644 --- a/gnu/tests/messaging.scm +++ b/gnu/tests/messaging.scm @@ -145,7 +145,7 @@ (define %create-prosody-account (define %test-prosody (let* ((config (prosody-configuration - (disable-sasl-mechanisms '()) + (insecure-sasl-mechanisms '()) (virtualhosts (list (virtualhost-configuration -- 2.41.0 From unknown Sun Jun 22 03:58:22 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#69731] [PATCH 0/2] Fix prosody system test Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Mar 2024 17:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69731 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Carlo Zancanaro , 69731@debbugs.gnu.org Received: via spool by 69731-submit@debbugs.gnu.org id=B69731.171017796330538 (code B ref 69731); Mon, 11 Mar 2024 17:27:01 +0000 Received: (at 69731) by debbugs.gnu.org; 11 Mar 2024 17:26:03 +0000 Received: from localhost ([127.0.0.1]:41183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjjPW-0007wU-R4 for submit@debbugs.gnu.org; Mon, 11 Mar 2024 13:26:03 -0400 Received: from mail-ej1-f66.google.com ([209.85.218.66]:54551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjjPR-0007vw-GE for 69731@debbugs.gnu.org; Mon, 11 Mar 2024 13:26:01 -0400 Received: by mail-ej1-f66.google.com with SMTP id a640c23a62f3a-a44e3176120so594998266b.1 for <69731@debbugs.gnu.org>; Mon, 11 Mar 2024 10:25:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710177857; x=1710782657; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=GhCweefkeaT7Hyhigy68orKlIZL1mJF1MbplfFcDTrY=; b=IU8cv+XxOVHm/IE8xZAEtjihoqlHogoXC1ES9RNBMcNsBhKccYJ5aWsiC+UgHG9N3a H+IN6Nf01tHlPYpLjloW3+yafzcpQQok+zsje9D4RZmVHwLI29E69Z2NWYm5Ajwybsvq oF/Wx6be86xRELOAwXrtrgsUf3v0O+S4+SKvPtGUcVGIjZ/AV0DuBdumu8mYxsJIcqWU S7uobmqc7HvP+EsVOemqtd7I+A5JuleTkmFKagJHaQuTQzvcm7zqwVC1jS0nPCwjhxQe eu1CB6lNPTenZ1G7wXupxN+9idOMXZrIDMAuUy5w3ZtOKABhwoR1tqChbY2v8EfoCqc1 RQvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710177857; x=1710782657; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=GhCweefkeaT7Hyhigy68orKlIZL1mJF1MbplfFcDTrY=; b=iEJCOUfTnyIe3H4AIHFFTaQSu+Q+H37RZ/RywwbWhr3UyWghxt+zqBLE4bMVhLOs6U KIKtAz69otheoHE1EanqtgsmP8VnNSc8lg5vtlVpRtbVnvBtwOhuVGGV/vV9B/zceFSf 4tWCKIBQEq1cdWoL8ujTY/fQa2BDh1/G40UZcDHsv9bfKDZmoXeV9i5l3Q1u8lFyocna DJ7JN4Ui3YsIMLpK2hbjvUYP+Uc4Wq17+/BisG1CK46LOCya80pgql5380dejUunkWma xbMLRex595OtfezBfus9p1DNa+lmKVyzDSsOY27bqMXG7Uyjbj/1bHwML7xjoLSn3+tJ dHUw== X-Forwarded-Encrypted: i=1; AJvYcCXayhHZdMtdgZMnriMd38Wn9x6iNOLyqCzIrBKzeD24d3Cf1M1b7o8WU2e5uYrNxFlf3nYBBshxb7kevroTWUDyIrApIow= X-Gm-Message-State: AOJu0YxQhWypTpP7MEvkx74ieusuNbozcl4ha4sxQBYDzn/O7d/0ecaR +yzij/FPYaMAgopF8SKwbn9hEaq+HxMiVxZWe57Q/THoNzwIjP3Omdm7LhcOEq4= X-Google-Smtp-Source: AGHT+IHLHEqBgIP7C8jLiW+MOJAeYFAr+WoGdt+0S4gEFooGIzQSGq8aQOg3DMch2/443yXnEBgq2Q== X-Received: by 2002:a17:906:5909:b0:a44:16dc:14e7 with SMTP id h9-20020a170906590900b00a4416dc14e7mr4222063ejq.11.1710177857238; Mon, 11 Mar 2024 10:24:17 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id v8-20020a1709067d8800b00a45aeaf9969sm3040182ejo.5.2024.03.11.10.24.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 10:24:16 -0700 (PDT) Message-ID: <2f05b67e3d191a596e444efae9a725bd941dd741.camel@gmail.com> From: Liliana Marie Prikler Date: Mon, 11 Mar 2024 18:24:14 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Am Montag, dem 11.03.2024 um 22:57 +1100 schrieb Carlo Zancanaro: > In a previous patch[1], Liliana found that the prosody system test > was failing. I did some investigation, and found that this was [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.66 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.66 listed in list.dnswl.org] 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.218.66 listed in bl.score.senderscore.com] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 T_SCC_BODY_TEXT_LINE No description available. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Am Montag, dem 11.03.2024 um 22:57 +1100 schrieb Carlo Zancanaro: > In a previous patch[1], Liliana found that the prosody system test > was failing. I did some investigation, and found that this was > because the saslauth module doesn't allow PLAIN or LOGIN > authentication on insecure connections. >=20 > There is a configuration item for this, but we didn't have it as a > part of the Guix prosody-configuration objects, so I added it and > then used it to make the test pass. >=20 > [1]: https://issues.guix.gnu.org/69272#10 >=20 > Carlo Zancanaro (2): > =C2=A0 gnu: services: Add insecure-sasl-mechanisms to prosody > configuration. > =C2=A0 gnu: tests: Fix prosody system test. >=20 > =C2=A0doc/guix.texi=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 | 12 +++++++++--- > =C2=A0gnu/services/messaging.scm |=C2=A0 6 ++++++ > =C2=A0gnu/tests/messaging.scm=C2=A0=C2=A0=C2=A0 |=C2=A0 2 +- > =C2=A03 files changed, 16 insertions(+), 4 deletions(-) >=20 >=20 > base-commit: 2a8018e42c0d9b81de56cf322043c797e443c267 Nice catch. Would you also like to submit tests for the modules in 69272? Cheers From unknown Sun Jun 22 03:58:22 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#69731] [PATCH 0/2] Fix prosody system test Resent-From: Carlo Zancanaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Mar 2024 01:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69731 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 69731@debbugs.gnu.org Received: via spool by 69731-submit@debbugs.gnu.org id=B69731.171020531325996 (code B ref 69731); Tue, 12 Mar 2024 01:02:01 +0000 Received: (at 69731) by debbugs.gnu.org; 12 Mar 2024 01:01:53 +0000 Received: from localhost ([127.0.0.1]:41489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjqWf-0006lD-3M for submit@debbugs.gnu.org; Mon, 11 Mar 2024 21:01:53 -0400 Received: from voltorb.zancanaro.id.au ([45.77.50.64]:37228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjqWb-0006ko-Vl for 69731@debbugs.gnu.org; Mon, 11 Mar 2024 21:01:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=hid/OHllVdguSj0 YQYr/KPPQ9Q7M+KtantCcZ9kNLik=; h=date:references:in-reply-to:subject: cc:to:from; d=zancanaro.id.au; b=dyJzuL3jkbXT9Sfyz8X1MqdtZZuP+JO+/0cNq WzIBFG0YIuyLI2x7oWvCA4JM5jAa1hsGGfGWKHxL+xujIQgavJvgKbsYWEPmtipKChbAG+ 80ZJs2XSKOzR3VGfKcWmxuRwzqYozNnBuaHDZWrjlIogxkwzOq9sk3Z3iiERE9LM= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id a312376b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 12 Mar 2024 01:01:02 +0000 (UTC) From: Carlo Zancanaro In-Reply-To: <2f05b67e3d191a596e444efae9a725bd941dd741.camel@gmail.com> (Liliana Marie Prikler's message of "Mon, 11 Mar 2024 18:24:14 +0100") References: <2f05b67e3d191a596e444efae9a725bd941dd741.camel@gmail.com> Date: Tue, 12 Mar 2024 12:01:06 +1100 Message-ID: <87plw02rhp.fsf@zancanaro.id.au> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Mon, Mar 11 2024, Liliana Marie Prikler wrote: > Nice catch. Would you also like to submit tests for the modules in > 69272? I'm not sure how to test them. I had a look at the Freetalk API, but it doesn't seem like it supports any of the XMPP features that those extra modules add. We'd need to use a different client (or send raw XML stanzas) to poke prosody in the right ways. I'm not prepared to do that amount of exploratory work right now. Carlo From unknown Sun Jun 22 03:58:22 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Carlo Zancanaro Subject: bug#69731: closed (Re: [bug#69731] [PATCH 0/2] Fix prosody system test) Message-ID: References: X-Gnu-PR-Message: they-closed 69731 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 69731@debbugs.gnu.org Date: Sun, 17 Mar 2024 12:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1710678722-24947-1" This is a multi-part message in MIME format... ------------=_1710678722-24947-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #69731: [PATCH 0/2] Fix prosody system test which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 69731@debbugs.gnu.org. --=20 69731: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D69731 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1710678722-24947-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 69731-done) by debbugs.gnu.org; 17 Mar 2024 12:31:14 +0000 Received: from localhost ([127.0.0.1]:57740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlpfW-0006T6-1O for submit@debbugs.gnu.org; Sun, 17 Mar 2024 08:31:14 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:43230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlpfU-0006Ss-G2 for 69731-done@debbugs.gnu.org; Sun, 17 Mar 2024 08:31:13 -0400 Received: by mail-wm1-f67.google.com with SMTP id 5b1f17b1804b1-41400a9844aso10367205e9.0 for <69731-done@debbugs.gnu.org>; Sun, 17 Mar 2024 05:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710678569; x=1711283369; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=TUGnvdYKi3b/vspOEsRGsC1TV1E3rLdxXPUd2UyRFhk=; b=Idk8HkiMCIsmeZy/khI5TnOs0kBs5cAELQJoOyZrDtLlhtfvudlIOS8nvCSrNavspX Wes8L2SlvV16qtpitZhCTDRuP+jcuzi4G18LViENLQn63eE6//OH/6vKTXM8gMSAXjNc TtjbrBaBomTaUx7iQGYlgwbmYtI7HnZ5CeQh+LWo0Wo7y/T2GxUly8N45bkTws7THQ5C MUYpMQvjUK/d4/NAGquELkYn5jfrmsfIjp4HoloXdpnEAKQlEJO8CEDGxjTX16xqb7vu Ehi8ybxEZkdo6LZbqnl44f4USH69nQzcAdNKrUgVw4G107Y80L5uFVch/WbFz3evUNqo iU5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710678569; x=1711283369; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=TUGnvdYKi3b/vspOEsRGsC1TV1E3rLdxXPUd2UyRFhk=; b=mh/VuOHZlS6DjNaiUBMyJLwq4xLKAdeI1tvJnWRZ0Lr8QiTFkd6Ammlc/CtezvWjmE zEOKWKJYJVFkn+pFm52/m99TsbN6DizYBqIwa2c9G6UZgFT+Gwrg1FB/Y8UdqnJUIvHY h+skaifPuNdy7Hw4GU2LePQ0HfHd3qeCPOxr2wAe2mNMxkY6z6ZD4lhIA8nTXIZNyAkM jRZnOIGxte0NqBljFbGvew0NJ2jxoh3fzhh5TLBIaHjNtsObzQfRhPpYlTEWo4F1iKb2 gaJ3JI9yfgXvA8S++ORdLWiE3PzTqdfZP2JOsBMD3FleTphsepbPYEEfNAHYQK2PxbXY w29g== X-Gm-Message-State: AOJu0YwbRgsHXpKpxqbXk+tCG4tvfNPlObSODjdNezxZCfps1Kx7Z1f9 3IztQUIXf+HtrI5gJ0v0I+b3/e/JBOFFaFqhjXxxlpKA5+7ugZFvJ0RNLkQ3T0Y= X-Google-Smtp-Source: AGHT+IH5G3BUkLLPkpyTm/yscM6Xu1JZgsixsVe8gtXADN5X0dcxN90E4lDwe6l7IfXz7iPGvOiL1g== X-Received: by 2002:a05:600c:1914:b0:413:fdc2:d9da with SMTP id j20-20020a05600c191400b00413fdc2d9damr7269564wmq.12.1710678569064; Sun, 17 Mar 2024 05:29:29 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id fm9-20020a05600c0c0900b00414104b29e9sm139287wmb.30.2024.03.17.05.29.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 05:29:28 -0700 (PDT) Message-ID: Subject: Re: [bug#69731] [PATCH 0/2] Fix prosody system test From: Liliana Marie Prikler To: Carlo Zancanaro Date: Sun, 17 Mar 2024 13:29:27 +0100 In-Reply-To: <87plw02rhp.fsf@zancanaro.id.au> References: <2f05b67e3d191a596e444efae9a725bd941dd741.camel@gmail.com> <87plw02rhp.fsf@zancanaro.id.au> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69731-done Cc: 69731-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Dienstag, dem 12.03.2024 um 12:01 +1100 schrieb Carlo Zancanaro: > On Mon, Mar 11 2024, Liliana Marie Prikler wrote: > > Nice catch.=C2=A0 Would you also like to submit tests for the modules i= n > > 69272? >=20 > I'm not sure how to test them. I had a look at the Freetalk API, but > it doesn't seem like it supports any of the XMPP features that those > extra modules add. We'd need to use a different client (or send raw > XML stanzas) to poke prosody in the right ways. >=20 > I'm not prepared to do that amount of exploratory work right now. Fair enough, I pushed what you already have. Cheers ------------=_1710678722-24947-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Mar 2024 11:58:04 +0000 Received: from localhost ([127.0.0.1]:39162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjeI7-0006up-P1 for submit@debbugs.gnu.org; Mon, 11 Mar 2024 07:58:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:36418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjeI2-0006uM-It for submit@debbugs.gnu.org; Mon, 11 Mar 2024 07:58:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjeHU-0000y0-E5 for guix-patches@gnu.org; Mon, 11 Mar 2024 07:57:24 -0400 Received: from voltorb.zancanaro.id.au ([45.77.50.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjeHR-0003bF-BL for guix-patches@gnu.org; Mon, 11 Mar 2024 07:57:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=GVXxZtpxH6VhFxx IZPnJbLsaUdXDrFiKHVFsv2zw8SA=; h=date:subject:cc:to:from; d=zancanaro.id.au; b=WdFvOExrm8LRleoFJbEqyZVtn5WqKR946R4akXU3nD8/No1Y5 1OL+2+xhiSH7YiMRUEvv2rGVCwXStRHmj9holX1VERDOVIxk6OAZvlbn0cH6935TjmSNge Q8re1EH6a55LxkmyvLnrj5hxA/raJFU8LkFH/455K+xHoE+mMO7I= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id 7dec71d1 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 11 Mar 2024 11:57:04 +0000 (UTC) From: Carlo Zancanaro To: guix-patches@gnu.org Subject: [PATCH 0/2] Fix prosody system test Date: Mon, 11 Mar 2024 22:57:02 +1100 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=45.77.50.64; envelope-from=carlo@zancanaro.id.au; helo=voltorb.zancanaro.id.au X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Liliana Marie Prikler X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) In a previous patch[1], Liliana found that the prosody system test was failing. I did some investigation, and found that this was because the saslauth module doesn't allow PLAIN or LOGIN authentication on insecure connections. There is a configuration item for this, but we didn't have it as a part of the Guix prosody-configuration objects, so I added it and then used it to make the test pass. [1]: https://issues.guix.gnu.org/69272#10 Carlo Zancanaro (2): gnu: services: Add insecure-sasl-mechanisms to prosody configuration. gnu: tests: Fix prosody system test. doc/guix.texi | 12 +++++++++--- gnu/services/messaging.scm | 6 ++++++ gnu/tests/messaging.scm | 2 +- 3 files changed, 16 insertions(+), 4 deletions(-) base-commit: 2a8018e42c0d9b81de56cf322043c797e443c267 -- 2.41.0 ------------=_1710678722-24947-1--