From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cOvuCstuAWaydgAAqHPOHw:P1 (envelope-from ) for ; Mon, 25 Mar 2024 13:32:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cOvuCstuAWaydgAAqHPOHw (envelope-from ) for ; Mon, 25 Mar 2024 13:32:11 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b="ERTse/vm"; dmarc=pass (policy=none) header.from=lendvai.name; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711369931; a=rsa-sha256; cv=none; b=iN8zhJDCD4ghkNZtR/XCb2PyOYELY+PV4UFzwBhy1+9lhokc7L+69QO3/9l+wfso2MN84T ilszXgfIMWm+oqE2Lf3UBXJC3n32LwRHelP3yi/uxME6HvdvnAEfuhpYmRG9bit1dfzEwO uhWHezyh/Yvn8HQtPYUPSl2LhUiCvOZXcOOv3OO7Jx0zpFoUqDJGGzgdJ6/lAeq1r/OMJc BuDlIDvK3g6tBfwdoD51LZ3OOvdh6iJpAU+B/YBj0CWQZXk7rDrbhUhurXhrvzaceoUBD0 rVPiku4P0rrM8Ta9DuxFsVtlUnNgLVl6YKF3wxcVMT3tg8Ne1ciN6ETwGalB8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b="ERTse/vm"; dmarc=pass (policy=none) header.from=lendvai.name; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711369931; h=from:from:sender:sender: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Vd83Iqp+YtGwu8MMCdUbfa/h5x9k/Pqt3Nz4OolwQWs=; b=gkQWrt4iaGWmL9g6gAhol1A6YN8ELDvURPsfpD4tMkCPyRnOXkU1zok14U2t9NSMIK8dCW xzuA7UGpTsIoTL5jaabAeShUi7gcAEEuN8EZkpsaoqEXMWF8eNS75NwpsjMrnzuJIHy23f pEDnWnxhCqVj+u1Ya/AawmE95loTKhOHiGUfPf7svTq3/YdjgcJEbArYjpKIymS39+ueFD 3qzfdA7tPGWSqIQEGySpcLkT2YF09v5VWY2i3u67qrEfE/OZwYPSdEZFbDxviHv3FdPEHa Q7a/ViSCix9CemzqFKw7zl7u6Dmb98MCaB3/6yACOuE2WkVG05EX1kM/s2LSUA== 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 B70B6375D8 for ; Mon, 25 Mar 2024 13:32:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rojUP-0001bd-In; Mon, 25 Mar 2024 08:31:45 -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 1rojUJ-0001bN-Vx for guix-devel@gnu.org; Mon, 25 Mar 2024 08:31:40 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rojUG-0004Sq-Su for guix-devel@gnu.org; Mon, 25 Mar 2024 08:31:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail; t=1711369893; x=1711629093; bh=Vd83Iqp+YtGwu8MMCdUbfa/h5x9k/Pqt3Nz4OolwQWs=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ERTse/vmnssGtEvja54UnuREi8EFghXnRnHxi4mFZfJk2aHAUTHLgXp16dZoY6BCx 0LsU9TooKhY0Umql85rE8rZSB+wWZH0QKl/mZO0qLeG37gfln7m2l/Zdd1bQ3BLQlS vPqN89dXae9+oCTPxPKrw23UDP3ke+S29LSvje1HV1mv9FEC0ZL9/nqh7Hp7zPPSul nd//V3jT44InH3p68J4VGh5NuzW074fR7QsO+hGY92YERahyqtln8yKEKvKZV6uMts J4ebWOUT/Gs0XSjlSAHDoCHnnidcwKcsTyfhJJI42wGsEi4WQSXwqKN5Xbz+rHRt/l 4E2W7DH1XHzyA== Date: Mon, 25 Mar 2024 12:31:16 +0000 To: Markku Korkeala From: Attila Lendvai Cc: elaexuotee@wilsonb.com, guix-devel@gnu.org Subject: Re: Losing signing keys for custom Guix channel Message-ID: In-Reply-To: References: <3GFY4DFSZPFIH.26YI5TX7T5BW2@wilsonb.com> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=attila@lendvai.name; helo=mail-4317.proton.ch 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -8.08 X-Migadu-Queue-Id: B70B6375D8 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.08 X-TUID: Fw+0Ifl0ZZeI > from reading about guix authentication I think the new signing key > must be first added to the .guix-authoriations file and that commit > must signed with the current signing keys before the new signing > key can be used. yep. otherwise anyone with access to the origin git repo could override the= commit signature based authentication framework. if you think about it, if there were any options for you to sidestep this s= ituation of a lost key, then any attacker could do the same. i'm afraid your only option is to re-record and re-sign every commit, force= -push them, and publish a new channel intro snippet that all your users mus= t copy into their config. alternatively, you *may* be able to simply publish a new channel intro snip= pet (and convince all your users that it's a genuine situation) that will p= oint to the first new commit that is signed with the new key... but i doubt= the contract (nor the implementation) of the authentication code would jus= t silently accept the non-authenticated commits that precede your new chann= el intro commit. all the best in fixing the situation! -- =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9C=E2=80=99Tis better it be a year later before he can read, than th= at he should this way get an aversion to learning.=E2=80=9D =09=E2=80=94 John Locke (1632=E2=80=931704), 'Some Thoughts Concerning Educ= ation'