From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id A3ECE1FF16F for ; Tue, 2 Sep 2025 12:17:19 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id AFAF2F971; Tue, 2 Sep 2025 12:17:31 +0200 (CEST) From: Shan Shaji To: pve-devel@lists.proxmox.com Date: Tue, 2 Sep 2025 12:17:10 +0200 Message-ID: <20250902101713.82292-1-s.shaji@proxmox.com> X-Mailer: git-send-email 2.47.2 MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1756808234914 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.166 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 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH proxmox_dart_api_client/pve_flutter_frontend 0/3] fix: android: add support to honor user installed certificate 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: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" The app was not honoring the user installed certificate and was still throwing `HandShakeException` when using `IOClient`. Inorder to fix the issue used the `cronet_http` package. This patch series only includes the changes specific to android. For iOS i believe the same can be implemented with the cupertino_http package as it internaly uses the iOS foundation URL Loading system. However i need to verify and test it. Will create another patch for iOS related changes. pve_flutter_frontend: Shan Shaji (1): fix: android: add network config to support custom certificates android/app/src/main/AndroidManifest.xml | 3 ++- android/app/src/main/res/xml/network_security_config.xml | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 android/app/src/main/res/xml/network_security_config.xml proxmox_dart_api_client: Shan Shaji (2): fix: android: use `crone_http` package to honor user custom certificates fix: add explicit throw of `HandShakeException` lib/src/authenticate.dart | 31 ++++++++++---- lib/src/utils_native.dart | 12 ++++++ pubspec.lock | 89 ++++++++++++++++++++++++++++++++++++--- pubspec.yaml | 1 + 4 files changed, 117 insertions(+), 16 deletions(-) Summary over all repositories: 6 files changed, 128 insertions(+), 17 deletions(-) -- Generated by git-murpp 0.8.1 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel