From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WDoPDvA4BmbUCgEAqHPOHw:P1 (envelope-from ) for ; Fri, 29 Mar 2024 04:43:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WDoPDvA4BmbUCgEAqHPOHw (envelope-from ) for ; Fri, 29 Mar 2024 04:43:44 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=g54Ui161; dkim=pass header.d=wilsonb.com header.s=201703 header.b=YMXB3F8s; 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"; dmarc=pass (policy=quarantine) header.from=wilsonb.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711683824; 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=UNTm7l7cUIPJVuymONh4FUz8lQOJMPP2oFPq4Kukf1E=; b=uX1TwKB/lcbI9hecoCOGedAGT7HY+Jevf336C9sU9/CYzqVyDO5FBuf4ziBvJHURJJTjUU xsE8DLDigiQzuLZyyKSAroCff8jWG10zvgcmD+cN11hbtS0YXa5Wrv9hVAxkjE1eB1EDAR YgJYH0V5Cnx1SgEqr+YAcVjtWwXtbD52io3rKsxJwocgIPdrtyXDLhMSciYQK2kcKkU5D3 gZ2XCYFrKB535cIBQizryCxJ2TKclCb8do1HgyR7Frdeqzn495TLz2Mj14O4rCqLMh98Q6 Q52o6i4UACEg6NWfC52Ju5VHpbRDS8J+QF/gexhS7c5BmksdH+TYciCA+hZ3rQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=g54Ui161; dkim=pass header.d=wilsonb.com header.s=201703 header.b=YMXB3F8s; 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"; dmarc=pass (policy=quarantine) header.from=wilsonb.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711683824; a=rsa-sha256; cv=none; b=GsjvJxx190e9z49NKqDxmSIhuTr+BYEUeA/4+zMXlxnomD/YZvs5ieghuoRFiz5bHIpZSm SHNrpcVUUP134bTG71rszOu+bLj0JcscQ1O8LgxAho7vbd1PkwETh+Hon4S7HUuEzYhGYw Kk0nPIibO8X3hWdTpiLVDe7yM3w6i3+kJuLjPuE2KQgYyVCTVRNqXIzvtA48omxrYxmWbs a9jqidNCJy8TaZOZaCktyiJNQMCPE8Tx2AWZUed8YOWQPfVBSYZlz77lZCAwFZqJfiBlMe 06r5Ey8qNiizqQyW13RVzR3sosFBBMZ1yuniijLbZ5i/Ur7KCwK889jGlzrCLw== 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 1712F12A79 for ; Fri, 29 Mar 2024 04:43:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rq392-0007Ro-HT; Thu, 28 Mar 2024 23:43:08 -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 1rq390-0007RK-Oi for guix-devel@gnu.org; Thu, 28 Mar 2024 23:43:06 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rq38z-0006W7-3L for guix-devel@gnu.org; Thu, 28 Mar 2024 23:43:06 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1711683782; x=1711690982; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-Id: In-Reply-To: References: From: From: Subject: Subject: Cc: To: To: Date: Sender: Sender; bh=UNTm7l7cUIPJVuymONh4FUz8lQOJMPP2oFPq4Kukf1E=; b=g54Ui161RshDfGGKSSLIYXDCQlfwwI/ikySCfF5+iCP/aHOLz8U/ACqZEGcI3SSwEKz8CN9V44xBF6ysgo/AXZ3R2R/bjApeIOm0T6wU2CNl4Ytyzp85V9vTDm92ycv9zV5Zwbv12+vZDMxiKjnBszzHLJXyvsH5nDMkVpIO7NwYrmOXTHrcStomza7Nx1ODyc6eRFcxXSTcCo2xEhQeeBD1H9n8et+2G+CtuCIhX4nNHo3L0BpD53In7BQ6dsKuSZK/X5AEEpLy+zJ1suJ3AwQ/N3qEc6eX5QH0p02dv5qEudMBpmX05Loak7JC3+UWajwFU2qqxBJgnHARqKL2ug== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyIyNWJlMSIsImd1aXgtZGV2ZWxAZ251Lm9yZyIsIjA4NTQ3YSJd Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by 5047cf99936f with SMTP id 660638c6962c6bdb993ad66a (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Fri, 29 Mar 2024 03:43:02 GMT Received: from localhost (p1397154-ipngn4701fukuhanazo.fukushima.ocn.ne.jp [153.206.209.154]) by wilsonb.com (Postfix) with ESMTPSA id 0F327A08C2; Fri, 29 Mar 2024 03:42:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1711683780; bh=UNTm7l7cUIPJVuymONh4FUz8lQOJMPP2oFPq4Kukf1E=; h=Date:To:Cc:Subject:From:References:In-Reply-To:From; b=YMXB3F8sg6QqpdNW08s3LTP1SqKf6OcMyIrJx++POoHBf+oZXEPO88yPWA3yyd450 XKtIrvwJXMn+m7sJPT3MyfZ3gvsKcwKSubqPWxWrt0bPj/CHd+88eH0dbdmyx0XnlI xJ7BTtTj3N1EQRP1FDWUfB6TFi7RZjXZ32hgq4RTxHJwyfWynp53CsnIaavUOLF0m/ anuVZLIBLTpA11o/7YY3iAAQ1hKUrGICfdeOikrTvgXNjbY3amsny9Ai53tSxb6hFo GdtNh05YdyYo2l/LNQ1D/HnbccBOZr0RX8awuq1e20lQqynYQBNwLRtzWTRTHVlmu7 OcMIP9R4c0nZ5zdcsQgK5oJZpIWxZ23H3syP/+SsxYiCcqsFZ6Q6fpBfuPt9bn8616 ziEilLOuFUNlbgG1xiic0N2wR8HhB9PDW+/Qum1ZJl8RQYZQtzMJDbEKWwFx5MKd/E 6Xqm5OJNZVTT6RFkknq3CrHWa3O6sEPqziLgiO/mI8VH3SwKISyDGEWHkC29833av3 VFw52c9uVhi8mAjR5d4jNSKy7YaLIt8R8cu1YckplFu0zcP/ct9weVIbWa0A9fszZW SL281w3Owh4WLamvQYsRINAQ3pzw6LrFuM4AjUWj9+gxXIqGv9v3iqu3y665J4uebK TsG3KhBiCvntcb8kbKpd5U4s= Date: Fri, 29 Mar 2024 12:42:57 +0900 To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Markku Korkeala , guix-devel@gnu.org Subject: Re: Losing signing keys for custom Guix channel From: elaexuotee@wilsonb.com References: <3GFY4DFSZPFIH.26YI5TX7T5BW2@wilsonb.com> <87il16j7my.fsf@gnu.org> In-Reply-To: <87il16j7my.fsf@gnu.org> Message-Id: <2ECJ523SGTEV4.2UB8BK9J3U8GN@wilsonb.com> User-Agent: mblaze/1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=69.72.42.5; envelope-from=bounce+ec9951.08547a-guix-devel=gnu.org@mg.wilsonb.com; helo=m42-5.mailgun.net 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_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: 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -6.37 X-Migadu-Queue-Id: 1712F12A79 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.37 X-TUID: 9DfAMAdFR0tM > > 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. >=20 > Yes, it=E2=80=99s likely the problem; the rest of the description you gav= e > elaexuotee looks fine to me. >=20 > (No need to rewrite the history; changing the introduction is enough.) >=20 > Ludo=E2=80=99. Well, the catch 22 is that I've lost the original key and so can only sign .guix-authorizations with the new one. > (No need to rewrite the history; changing the introduction is enough.) Without the old key, I'm gathering that a history rewrite is the only way r= ight now. Seems like a fresh channel introduction should be enough, but our curr= ent authorization check appears to look at earlier commits even in that case, I= IUC. Maybe forcing history rewrites on key loss is the desired behavior? I'm not= sure. From a client perspective, the only difference is whether or not you = have to specify --allow-downgrades on the next pull. In either case a channel in= tro update is necessary.