From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qDvtH0wHd2H1zgAAgWs5BA (envelope-from ) for ; Mon, 25 Oct 2021 21:36:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0OabG0wHd2HAOAAAbx9fmQ (envelope-from ) for ; Mon, 25 Oct 2021 19:36:44 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1465417E55 for ; Mon, 25 Oct 2021 21:36:44 +0200 (CEST) Received: from localhost ([::1]:47574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mf5ly-0000kt-7u for larch@yhetil.org; Mon, 25 Oct 2021 15:36:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mf5jP-0006Sj-UT for guix-patches@gnu.org; Mon, 25 Oct 2021 15:34:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mf5jO-0000DM-EG for guix-patches@gnu.org; Mon, 25 Oct 2021 15:34:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mf5jO-0000DH-AI for guix-patches@gnu.org; Mon, 25 Oct 2021 15:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49957] [PATCH] gnu: p11-kit: Fix certificate errors from flatpak apps Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Oct 2021 19:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49957 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Andrew Whatson , 49957-done@debbugs.gnu.org Received: via spool by 49957-done@debbugs.gnu.org id=D49957.1635190439809 (code D ref 49957); Mon, 25 Oct 2021 19:34:02 +0000 Received: (at 49957-done) by debbugs.gnu.org; 25 Oct 2021 19:33:59 +0000 Received: from localhost ([127.0.0.1]:44334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mf5jK-0000Cy-NC for submit@debbugs.gnu.org; Mon, 25 Oct 2021 15:33:58 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:40409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mf5jJ-0000Cl-1f for 49957-done@debbugs.gnu.org; Mon, 25 Oct 2021 15:33:57 -0400 Date: Mon, 25 Oct 2021 19:33:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1635190430; bh=ek0Ab8JtGldJPmLOvnP/8qBHlN33wumuFPxyYs1iCuo=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=GMNkVMIEJ7S3Qnl+GYR3iCOy52A88gjXnHcbTQXDWU9ye3RfoESojMZwpGQcjMn4A 2obT0ir29hCAyiznY0ETUL1N/mJ3w79k93CbE4AYqACLAbWeGENlrniJHwLCgc5GPU 8uBwIny6w6wO4BkGhjp3oM5UJW8RF+UI7HrJuxrE= Message-ID: In-Reply-To: <87h7d4kjdl.fsf@gnu.org> References: <20210809141431.3889892-1-whatson@gmail.com> <87h7d4kjdl.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches From: John Kehayias via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635190604; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ek0Ab8JtGldJPmLOvnP/8qBHlN33wumuFPxyYs1iCuo=; b=F1hm99U76k+x/DtvR1GOlYtR6fHesOO0jkDghSqvm18YhjsEr3Cs7x4XlERtS1kmrx6mq5 ZkQDz827CXkvnMgZ61E3LPRC5GSd4Hbnk2lcoHDljHVhWN4RF8I8IXyp8dL6Q+u3TsNNsZ euGBAdqeMiQ8StxcNpKpenXZjK/S1QIu1AVxubspUi2SQLpXAaLd06FTgqgUk1aDo+/ism wa5PaXMUj98dlzb8OifibJNRGjwxUx33R+BvVHEsF9yMTkx/4Qsbw7l2Gm0ZDsdsUgqY7c d+ICSpCiQKWMOluXOs/i1FNHaLzABOu5DKl383H41qh/S5wd7Z+mECtNAoJnBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635190604; a=rsa-sha256; cv=none; b=PKM4Ch7TPdwHQ2hbTWmOBg/6anPfSEJ0uVeA0ydNR7aIPcRGwM80i4IzZ6cFmRA/w9ODPZ WN+yi0tZ36cxnkDtQrZWn8EHsz2dV3IwIJL/67O2I/V4SWUPQ04cPryc/coGNLtudXPmn9 apQjlatQZt4NUi1tiqVtJib2p8w4tkRMNXvXU8/nbSaex22TOXuqrMP3ImvXjZJNobqeC6 HiRnVlNvgjuDqRXkniwun/t8n7ZBjn1VokaSwrifqYwmM/Ez/QN3UjeKo41gMD3ATGc2od DOgOfbKLgo0sxNYzbpmMxpxSEngJ0TSxfTFumy7ScE5y0sXsCLINvnt82RyCZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=GMNkVMIE; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.06 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=GMNkVMIE; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1465417E55 X-Spam-Score: -2.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: o2UR9yU9iOw+ Hi Ludo=E2=80=99 and Andrew, =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Monday, October 25th, 2021 at 3:13 PM, Ludovic Court=C3=A8s wrote: > Hi, > > Andrew Whatson whatson@gmail.com skribis: > > > 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. > > I pushed a similar fix on =E2=80=98master=E2=80=99 based on John=E2=80= =99s patch as > b4d29851e412c6f4fea5b2d98160258b9768dee3. > > We might as well update the default p11-kit though? (Somehow I was > assuming it had many dependents, but it only has 80+.) > Flatpak's dependency doesn't show up on a guix refresh --list-dependents p1= 1-kit, as it comes through some other package somehow (I never looked how e= xactly). But I guess that is more "using" than needing to build against? Wo= ndering if there are some hidden runtime cases to look out for. (Probably m= ore relevant when thinking of changing that configure flag?) For this bug, the fixes that I wrote did need a cleaning out of previous Fl= atpaks (checking how you launch Flatpak apps as our previous version put th= e full store path in .desktop files) as p11-kit gets started in some indire= ct way. I think via D-Bus and its portal, but the system p11-kit could be u= sed instead of the fixed version. I made sure to remove previous Flatpak in= stalls from my profile and did a restart to be sure. Noting here for comple= teness. John