From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +E+hNKadCGDADQAA0tVLHw (envelope-from ) for ; Wed, 20 Jan 2021 21:16:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eD5zMKadCGABcQAA1q6Kng (envelope-from ) for ; Wed, 20 Jan 2021 21:16:22 +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 5B39894030E for ; Wed, 20 Jan 2021 21:16:19 +0000 (UTC) Received: from localhost ([::1]:58568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2Kps-0007QO-KZ for larch@yhetil.org; Wed, 20 Jan 2021 16:16:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2Kpf-0007QC-1w for bug-guix@gnu.org; Wed, 20 Jan 2021 16:16:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l2Kpe-00051E-PM for bug-guix@gnu.org; Wed, 20 Jan 2021 16:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l2Kpe-00044t-BZ for bug-guix@gnu.org; Wed, 20 Jan 2021 16:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45911: authorized-fields is not/badly documented Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 20 Jan 2021 21:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45911 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: raingloom Received: via spool by 45911-submit@debbugs.gnu.org id=B45911.161117731715617 (code B ref 45911); Wed, 20 Jan 2021 21:16:02 +0000 Received: (at 45911) by debbugs.gnu.org; 20 Jan 2021 21:15:17 +0000 Received: from localhost ([127.0.0.1]:56363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2Kov-00043m-9d for submit@debbugs.gnu.org; Wed, 20 Jan 2021 16:15:17 -0500 Received: from lepiller.eu ([89.234.186.109]:55058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2Kos-00043d-Of for 45911@debbugs.gnu.org; Wed, 20 Jan 2021 16:15:15 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id a5a8434f; Wed, 20 Jan 2021 21:15:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:cc:from:message-id; s= dkim; bh=lE4QGTqFz8UKClzUz2JlPbIQrfbS86GivnuHqYmyjfM=; b=Tr+HCrj F5Eko8si2hQrlLqhrBj8DvTfilkqOzonyt0XixNZMaLpRYUqZfqLC0XpsaCmYSas ECuYZpzdqbPEJ4mYbzS9rGEwy+kMkPWe666gDlyoaSP830eXP3sAjYfwifxyjhD3 kZSA7PowYNyAeikiNlr3/y0Vb4RjsKFmWziGRbSs1Ycy2xqwKPSGGmstyDQEq2kl phx3AfoiV/Pj7zfmLjl9q40BfExVPYpzMNxiqSxXAZjTi+0VUnrc4unt2Zx439cj Ii+0g26/+8mZG3cHaanhMTN4JbtZTVivH49Izd37PKAZhoKpSURpb1NHtMjcLmOy L+iFzU7S+CRuSZw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id a65f8c46 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 20 Jan 2021 21:15:11 +0000 (UTC) Date: Wed, 20 Jan 2021 16:15:01 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <20210120213411.3420d912@riseup.net> References: <20210116041615.27cfa112@riseup.net> <87o8hpbee0.fsf@elephly.net> <20210117013449.1192d841@riseup.net> <08BFBF88-A677-47CE-9859-3B2FC33442F6@lepiller.eu> <20210120213411.3420d912@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Julien Lepiller Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45911@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.25 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b="Tr+HCrj "; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 5B39894030E X-Spam-Score: -1.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: qMcgyQa2XMcn Le 20 janvier 2021 15:34:11 GMT-05:00, raingloom = a =C3=A9crit : >On Sat, 16 Jan 2021 22:24:16 -0500 >Julien Lepiller wrote: > >> Actually, here's how I use it: >> >https://framagit=2Eorg/tyreunom/system-configuration/-/blob/master/system= s/tachikoma=2Escm#L69 >>=20 >> And the key file is the one generated by guix, unmodified: >> >https://framagit=2Eorg/tyreunom/system-configuration/-/blob/master/keys/x= ana=2Epub >>=20 >> Le 16 janvier 2021 19:34:49 GMT-05:00, raingloom >> a =C3=A9crit : >> >On Sat, 16 Jan 2021 07:10:47 +0100 >> >Ricardo Wurmus wrote: >> > =20 >> >> raingloom writes: >> >> =20 >> >> > guix archive --authorize started issuing a warning some time ago >> >> > pointing to "authorized-keys" in "operating-system"=2E >> >> > >> >> > * that is not a valid field of operating-system =20 >> >>=20 >> >> That=E2=80=99s right=2E It=E2=80=99s a field of guix-configuration,= which is =20 >> >documented =20 >> >> in 10=2E8=2E1 Base Services=2E >> >> =20 >> > >> >Thanks, I found that out already, that's how I ran into the other >> >issues=2E >> >I'm still confused about what the proper way to store the config >info >> >is=2E Like how I should even store it as Scheme source code=2E =20 > >Thanks, guess I'll go down the file route for now, but this is an >unsatisfactory solution IMHO=2E >What if you have multiple keys, or want to only include a subset of >keys in a given machine? >Having to use a file object to store a sexp is an odd choice when every >other part of Guix tries as hard as it can to use sexps and Scheme data >structures for configuration=2E > >If no one wants to fix it, mind if I give it a go? Go ahead :)