From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qKPEHOQGEmM/kwAAbAwnHQ (envelope-from ) for ; Fri, 02 Sep 2022 15:36:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qMbZG+QGEmNQKAEAG6o9tA (envelope-from ) for ; Fri, 02 Sep 2022 15:36:36 +0200 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 2394317744 for ; Fri, 2 Sep 2022 15:36:36 +0200 (CEST) Received: from localhost ([::1]:52448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU6qY-00049Y-CE for larch@yhetil.org; Fri, 02 Sep 2022 09:36:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU6du-0003hv-0v for guix-devel@gnu.org; Fri, 02 Sep 2022 09:23:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU6dq-00047A-GB; Fri, 02 Sep 2022 09:23:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=oNjzTWQMwEHLXPTNSArTFjkHcFt2X48V2burA36ZHaQ=; b=ma+sgtntpsiFNUN3d8to 1tyJF06rcFaHEz/o04j54HiY+8oU2NgT00vB2BdSKpnKPl7TsQTRlhrrBELJmZh3sRg5FskYaPEcH Udy/PKE+M6HR/wlbeESM5lHfnYrYOR/eKNO3jhSvYvhnC3xwpZVR8l5C6L2+O/lL4mvwQ6+o3iEoG yG5FIDjKOAZaN4O7cOULisDg8GuBNO+o0UM5Q+H2+HRo+uErLm6AzmNKWh3YH2OeuVELpeCAlPZqI 0UzkyVtQN9gT8fVLjPl6PTwqwapc1IeDSQF3fKjQzpu3yxC0mx9aWKnrBC8LIvtCu9PevbUd6yG6m Rn8zP8FfoP12hg==; Received: from [193.50.110.177] (port=41052 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU6dp-000390-En; Fri, 02 Sep 2022 09:23:26 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Andrew Tropin Cc: guix-devel@gnu.org, Tobias Geerinckx-Rice , Efraim Flashner Subject: Re: [POSTMORTEM] Subkey is not authorized by .guix-authorizations References: <87tu6idfgd.fsf@trop.in> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 16 Fructidor an 230 de la =?utf-8?Q?R=C3=A9v?= =?utf-8?Q?olution=2C?= jour du Citron X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 02 Sep 2022 15:23:17 +0200 In-Reply-To: <87tu6idfgd.fsf@trop.in> (Andrew Tropin's message of "Thu, 11 Aug 2022 17:26:10 +0300") Message-ID: <87ilm5x64a.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662125796; 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=oNjzTWQMwEHLXPTNSArTFjkHcFt2X48V2burA36ZHaQ=; b=MxFju8Wlp81Bqqv/aPRHT/Qq0opO4RY6A6Ds0Rj8JG8ic20xyjgYam6AtXNtxoSOoetqW+ ew4my7JJpx5eRDty3lBNwqJuPHq8IeVgv5EBX2VqI2IrVbD4iLWTBs7hRztlf/yZkkpQ99 aXrMYmMCUQDzbvuuRL/0mthCqxcBrKqStvCIqnGlR6/+2igx9RXVIcM3xkdwr3o70L/tNL 87oBs76VcCkRQelpR9RTJbDsNqP0Ilcjjfs6QE1uxFXJxNGG5Hg0+ujMt9/Ihi9LcCEiNg uNj4iSHAPvGPyl8kIGsj4bt9zjWonQ5b5TMUHOFkm8C5JYuF/z/xKtlo7Hxy5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662125796; a=rsa-sha256; cv=none; b=BYwUCprkqdbgacPdio9dY9Cra4T4+XoWHY1isygErUxfX/brHkq+NtXJWYq8bfdZCf6nzf g2yPI96gJwPMd+WGs5hBf29ZK2r9jnBfDsmOCJvxVJDVnk7Wt7ozenvidIhGaVsrvaWZRz oR/hd+bwxl86RQ4nPfROyZomNnCeEREOAYiB+GBy4lZh+LmkqMdsWi/+7AfLDdhXMWoWxz QMOUCHbhctqSRKY1yfC1L+eMZICE5L0/zaQ4ealCOpWMAviAI67kxz5hI+/hNrkiosfVOP 7WHriZgPE2e+7iEbGF1vO32/jUkwx5f5piiHAcwNnyA5FgSRgHthdK+I3blN1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=ma+sgtnt; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -7.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=ma+sgtnt; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 2394317744 X-Spam-Score: -7.77 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2X0RO+6ToUpg Hello! I=E2=80=99m late to the party, but thanks a lot for sending this analysis! Andrew Tropin skribis: > * What could be done better? > - guix pull could be done from local checkout, before pushing. Setting a pre-push hook that invokes =E2=80=98guix git authenticate=E2=80= =99, as recommended in the manual (info "(guix) Commit Access"), should be enough: =E2=80=98git push=E2=80=99 would just fail in that situation. > - Accept subkey on guix pull if master key is in .guix-authorizations. Reported at . > - Add pre-push hook, which checks authorization on Savannah. That one is difficult: Guix is not installed on those machines. Another option would be to push to a different machine, one that we control, and make Savannah a mirror of that one. Thoughts? Ludo=E2=80=99.