From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id CDA12BF5A3 for ; Fri, 5 Jan 2024 15:08:12 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A659A1BFCA for ; Fri, 5 Jan 2024 15:07:42 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Fri, 5 Jan 2024 15:07:39 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 98E9345311 for ; Fri, 5 Jan 2024 15:07:38 +0100 (CET) From: Max Carrara To: pve-devel@lists.proxmox.com Date: Fri, 5 Jan 2024 15:07:31 +0100 Message-Id: <20240105140733.380258-1-m.carrara@proxmox.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.058 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pve-devel] [PATCH v3 ceph 0/2] Complete Workaround For Ceph Dashboard X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2024 14:08:12 -0000 These two patches allow the Ceph Dashboard to work again as intended. The first patch provides a backport of a pull request [0] which removes the dependency on PyJWT. [1] The second patch removes two usages of functions that use PyOpenSSL, [2] which prevents running into sub-interpreter-related issues with PyO3. [3] This is achieved by removing a check during the dashboard's launch as well as prohibiting users from creating self-signed TLS certs via the `ceph` CLI. Users may still provide a key/cert pair manually and are instructed to do so once they try to execute the respective command. [4] [0]: https://github.com/ceph/ceph/pull/54710 [1]: https://github.com/jpadilla/pyjwt [2]: https://github.com/pyca/pyopenssl [3]: https://tracker.ceph.com/issues/63529 [4]: `ceph dashboard create-self-signed-cert` Max Carrara (2): mgr/dashboard: add backport that allows the dashboard to work again mgr/dashboard: add patch that removes PyOpenSSL-related usages ...hboard-simplify-authentication-proto.patch | 279 ++++++++++++++++++ ...move-ability-to-create-and-check-TLS.patch | 101 +++++++ patches/series | 2 + 3 files changed, 382 insertions(+) create mode 100644 patches/0012-backport-mgr-dashboard-simplify-authentication-proto.patch create mode 100644 patches/0013-mgr-dashboard-remove-ability-to-create-and-check-TLS.patch -- 2.39.2