From patchwork Mon Aug 9 14:14:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Whatson X-Patchwork-Id: 31955 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0549227BC82; Mon, 9 Aug 2021 15:15:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C8C1027BC78 for ; Mon, 9 Aug 2021 15:15:15 +0100 (BST) Received: from localhost ([::1]:48196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mD63e-0003Rz-E5 for patchwork@mira.cbaines.net; Mon, 09 Aug 2021 10:15:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mD63S-0003Pn-QZ for guix-patches@gnu.org; Mon, 09 Aug 2021 10:15:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45885) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mD63S-0004Xj-Hx for guix-patches@gnu.org; Mon, 09 Aug 2021 10:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mD63S-0000yK-9p for guix-patches@gnu.org; Mon, 09 Aug 2021 10:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49957] [PATCH] gnu: p11-kit: Fix certificate errors from flatpak apps Resent-From: Andrew Whatson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Aug 2021 14:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49957 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49957@debbugs.gnu.org Cc: Andrew Whatson X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16285184903700 (code B ref -1); Mon, 09 Aug 2021 14:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Aug 2021 14:14:50 +0000 Received: from localhost ([127.0.0.1]:57431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mD63G-0000xc-HP for submit@debbugs.gnu.org; Mon, 09 Aug 2021 10:14:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:34956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mD63B-0000xP-MT for submit@debbugs.gnu.org; Mon, 09 Aug 2021 10:14:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mD63B-0002uz-FG for guix-patches@gnu.org; Mon, 09 Aug 2021 10:14:45 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:52976) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mD639-0004I1-Ld for guix-patches@gnu.org; Mon, 09 Aug 2021 10:14:45 -0400 Received: by mail-pj1-x1033.google.com with SMTP id nt11so4994982pjb.2 for ; Mon, 09 Aug 2021 07:14:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rawfp61z2Z5bE8NEEluq1TIAaPKuZXK7YkAId8IFbkY=; b=Tha4joho4Co8HgCIh4RQ6tQSo21KqKKCegg20u64jWgOehptTnTa2niNSVPqPddq9h VgF8mLAwJtfo8SM/V3GdEqSuu25Vg+TDUlJSa4/h1xD8vg7cnHhTeevxb2rHH9lZ6P5L OnI1Q8zU972zxRrV+aKF7v/HC1dpZv4HIOSVtFfH1Dq4jTP7embUd/u4t/v9MKwkYwmP 31XNbTTqLmXcN8rRLriNDVwrDtuF2ynfKvWljhqazqOrFc/YWgoBN38uIWRNxTK2O/4e uIHl0FNf9lyMDEE5UtVKguftFQVrhia9aDMDSgmnlQpilHwTWIP6I2Q5f8HJVcUOBvu8 RdLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=rawfp61z2Z5bE8NEEluq1TIAaPKuZXK7YkAId8IFbkY=; b=XS1uE9D/wiuqfcA5eWYVqEZbX0Dj0bkqSdZ+u2FKZM0Jfjv0SVglak/o2lQiOBOvBk HRoY8fVh3qMvsFoqF63pQM9sYwLrmIGHk+GiVhWo0e50EtMBVeJPMcXtxvfTgJHb3W+G aHRyQ7l4z0qKSu1XJQ+VV1UOM47Trj5KQ5X4I6iETt0vS8dr6hXgARIMNI9yGeEgZpEm S2O7s8CslzVNfFQYTZPz6T10aPEL5RPEZUwvxnpQBrSMS1TE53e9mUHUMwIGUyAtyFwX kOhHC5OG/X0zUldNGmT0gF+oIrTvC1rWuv+9IHTc1xIPKtH6sPpRov1CXSDCjB931TNv E4qg== X-Gm-Message-State: AOAM531MYJS0SeIQmugXoiL7i0DvkhtD20d3gMZgnG3FjWkGLDt38LuC 6kf5emZs+12gC7sYFdRgRUH+qjvZZLM= X-Google-Smtp-Source: ABdhPJwd70Ei05kHmaaCX0QLL78kMwUp/juJRpCsX+3aX43hESX4SOLRUGh/kry5yyzEgBtoAu2bKQ== X-Received: by 2002:a17:90b:3802:: with SMTP id mq2mr10093338pjb.19.1628518480944; Mon, 09 Aug 2021 07:14:40 -0700 (PDT) Received: from muon.fritz.box (220-235-208-141.tpgi.com.au. [220.235.208.141]) by smtp.gmail.com with ESMTPSA id bk24sm21792752pjb.26.2021.08.09.07.14.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Aug 2021 07:14:40 -0700 (PDT) From: Andrew Whatson Date: Tue, 10 Aug 2021 00:14:31 +1000 Message-Id: <20210809141431.3889892-1-whatson@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=whatson@gmail.com; helo=mail-pj1-x1033.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Flatpak has a soft dependency on p11-kit, which was configured without knowledge of the system-wide CA certificate store. This caused some flatpak apps to fail with ERR_CERT_AUTHORITY_INVALID errors. * gnu/packages/tls.scm (p11-kit): Configure with /etc/ssl/certs/ca-certificates.crt as a trusted path. --- gnu/packages/tls.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index d98a724b5f..4af95e2798 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -143,7 +143,7 @@ in intelligent transportation networks.") `(("libffi" ,libffi) ("libtasn1" ,libtasn1))) (arguments - `(#:configure-flags '("--without-trust-paths") + `(#:configure-flags '("--with-trust-paths=/etc/ssl/certs/ca-certificates.crt") #:phases (modify-phases %standard-phases (add-before 'check 'prepare-tests (lambda _