From unknown Sat Jun 14 19:34:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45911: authorized-fields is not/badly documented Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 16 Jan 2021 03:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45911 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45911@debbugs.gnu.org X-Debbugs-Original-To: Guix Bugs Received: via spool by submit@debbugs.gnu.org id=B.16107678713865 (code B ref -1); Sat, 16 Jan 2021 03:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jan 2021 03:31:11 +0000 Received: from localhost ([127.0.0.1]:42080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0cIi-0000zk-EJ for submit@debbugs.gnu.org; Fri, 15 Jan 2021 22:31:11 -0500 Received: from lists.gnu.org ([209.51.188.17]:43820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0cId-0000za-Mm for submit@debbugs.gnu.org; Fri, 15 Jan 2021 22:30:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0cIc-0008Hu-MJ for bug-guix@gnu.org; Fri, 15 Jan 2021 22:30:51 -0500 Received: from mx1.riseup.net ([198.252.153.129]:44568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0cIa-0005oh-Nt for bug-guix@gnu.org; Fri, 15 Jan 2021 22:30:50 -0500 Received: from fews1.riseup.net (unknown [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4DHk8G3Z82zFmJj for ; Fri, 15 Jan 2021 19:30:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1610767836; bh=5SOGcQSLEpJ0w+6pgjoNxl4F205JhOla74XtePQ4IeE=; h=Date:From:To:Subject:From; b=fk5jUoWr/zFtS/clgRY00vFWhe6LnliLlTDS7a2yNgBQhon8fnRYripGbInbE3JA/ xXMshg2/c88Th78JN4enUAkphRFpWlVsauaoH+b6jJynWcVKHxKCXgOiLmPwJ5CGMG LgnqbFeOmEtkCGKKQ8RofPD61jfl28wlRpBj6hFw= X-Riseup-User-ID: 7CF458865CEC495C22ABF4ADB9C5FE03B6F4901F048A81CD1AFF12DA7E21993A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4DHk8F550lz5xsH for ; Fri, 15 Jan 2021 19:30:19 -0800 (PST) Date: Sat, 16 Jan 2021 04:16:15 +0100 From: raingloom Message-ID: <20210116041615.27cfa112@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=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-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) guix archive --authorize started issuing a warning some time ago pointing to "authorized-keys" in "operating-system". * that is not a valid field of operating-system * there is no such item in the Guix info page's index * the relevant example loads a single key from a file, without indicating what the syntax of the file is * trying to store /etc/guix/signing-key.pub as a Scheme file results in a parser error due to the hexadecimal syntax being incompatible with some Scheme syntax weirdness So, how the hecc do I add keys permanently the Official Way? Because I have no idea. I'll try to update the docs when I figure it out. OOoor... the person who introduced the change could document it. :| From unknown Sat Jun 14 19:34:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45911: authorized-fields is not/badly documented Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 16 Jan 2021 06:12: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 Cc: 45911@debbugs.gnu.org X-Debbugs-Original-Cc: 45911@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161077746318737 (code B ref -1); Sat, 16 Jan 2021 06:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jan 2021 06:11:03 +0000 Received: from localhost ([127.0.0.1]:42277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0enf-0004s9-3h for submit@debbugs.gnu.org; Sat, 16 Jan 2021 01:11:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:34420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0enc-0004rj-2d for submit@debbugs.gnu.org; Sat, 16 Jan 2021 01:11:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0enb-0005ZO-QZ for bug-guix@gnu.org; Sat, 16 Jan 2021 01:10:59 -0500 Received: from sender4-of-o55.zoho.com ([136.143.188.55]:21527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0enZ-00020T-VF for bug-guix@gnu.org; Sat, 16 Jan 2021 01:10:59 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1610777453; cv=none; d=zohomail.com; s=zohoarc; b=J+DPtC/yJUSKYm7de/mMlkv8JjRsm7yVJewSIPCUZGUdB4UDFdPHpd8SNb+i1BwMRx53eqtvA1tXRe6fkpFdVYqsPsL4aU141D3juPhXqJfZ5qvemKKFPPhYeK6YAjvBySM2x/6l1HsbuIxV+YEZ+7FIH38TekXA3eQcydRe218= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610777453; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=BCYJjzODCj9j74jF33n9ggSB/cGxHJoB+PUUCe3Qbrk=; b=EObVrO+XOh3aqzD74ixbZ+uB+Qh+/hfgqDNN0D3A26SvaXAx+WDQgae1liaPGumWYFwVTfCmAa6pyQLEXyd4StGK6A5T3dkRmKCStLCz/mdRHKA+Eh2IrYztuYddebTNXcZKGVFnAPElRhbbEwhvTJZeIXCEWYfxWEBsWsr7BBI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1610777453; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=BCYJjzODCj9j74jF33n9ggSB/cGxHJoB+PUUCe3Qbrk=; b=bzAjJqQd+uJ+Jc19DqN3QroA/hkibyD7yGV4odo49WumNr4tTb6Yue6h2fFYlrbe 6XlMfae1uuY7Mong1DCXeR4edPYBfrPc8hNI4dyRM0PZLoZvugQo8ifFdESp8bjnaRN Ci19aZwQGJ0I9rZCzjC6uZl/FPvo30O4gBcOOTEc= Received: from localhost (p54ad45cb.dip0.t-ipconnect.de [84.173.69.203]) by mx.zohomail.com with SMTPS id 1610777451166709.1902724974738; Fri, 15 Jan 2021 22:10:51 -0800 (PST) References: <20210116041615.27cfa112@riseup.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus In-reply-to: <20210116041615.27cfa112@riseup.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 16 Jan 2021 07:10:47 +0100 Message-ID: <87o8hpbee0.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.55; envelope-from=rekado@elephly.net; helo=sender4-of-o55.zoho.com X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.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, PDS_TONAME_EQ_TOLOCAL_SHORT=1.997, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) raingloom writes: > guix archive --authorize started issuing a warning some time ago > pointing to "authorized-keys" in "operating-system". > > * that is not a valid field of operating-system That=E2=80=99s right. It=E2=80=99s a field of guix-configuration, which is= documented in 10.8.1 Base Services. --=20 Ricardo From unknown Sat Jun 14 19:34:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45911: authorized-fields is not/badly documented Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 17 Jan 2021 00:42: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: Ricardo Wurmus Cc: 45911@debbugs.gnu.org X-Debbugs-Original-Cc: 45911@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161084410319590 (code B ref -1); Sun, 17 Jan 2021 00:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jan 2021 00:41:43 +0000 Received: from localhost ([127.0.0.1]:44366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0w8U-00055u-Ut for submit@debbugs.gnu.org; Sat, 16 Jan 2021 19:41:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:39620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0w8S-00055f-Sa for submit@debbugs.gnu.org; Sat, 16 Jan 2021 19:41:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0w8S-0003pc-LK for bug-guix@gnu.org; Sat, 16 Jan 2021 19:41:40 -0500 Received: from mx1.riseup.net ([198.252.153.129]:46152) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0w8Q-0007l5-Go for bug-guix@gnu.org; Sat, 16 Jan 2021 19:41:40 -0500 Received: from fews1.riseup.net (unknown [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4DJGM26xGPzDqMr; Sat, 16 Jan 2021 16:41:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1610844095; bh=IRCDcyh05sWui3Qi+MSWb4JrrLJ8vkzlBRx25bwp1H8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nJAttK1TNLHooyayvIYvhte4YSZ0vMqGLgdPkpuuKXhfYSMkiKY+59ux0rqCYT0X7 y8msh2qvHBzwZewkOu8LuHUYRdynZ9xrBO8C+mKW8+p4Hz2g7+6C1c1es7gIp5jf1K iMv/UjWWnPtvgsu+wxaRJ7lU3aTOxBxq4f6O52Sw= X-Riseup-User-ID: CD07B6D85F0A23FBA5485987E81E28FCAD11315DE6E2A7DA71CDC55764E3C64C Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4DJGLz657Vz5wYS; Sat, 16 Jan 2021 16:41:27 -0800 (PST) Date: Sun, 17 Jan 2021 01:34:49 +0100 From: raingloom Message-ID: <20210117013449.1192d841@riseup.net> In-Reply-To: <87o8hpbee0.fsf@elephly.net> References: <20210116041615.27cfa112@riseup.net> <87o8hpbee0.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=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-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) On Sat, 16 Jan 2021 07:10:47 +0100 Ricardo Wurmus wrote: > raingloom writes: >=20 > > guix archive --authorize started issuing a warning some time ago > > pointing to "authorized-keys" in "operating-system". > > > > * that is not a valid field of operating-system =20 >=20 > That=E2=80=99s right. It=E2=80=99s a field of guix-configuration, which = is documented > in 10.8.1 Base Services. >=20 Thanks, I found that out already, that's how I ran into the other issues. I'm still confused about what the proper way to store the config info is. Like how I should even store it as Scheme source code. From unknown Sat Jun 14 19:34:11 2025 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: Sun, 17 Jan 2021 03:23:01 +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 ,Ricardo Wurmus Cc: 45911@debbugs.gnu.org Received: via spool by 45911-submit@debbugs.gnu.org id=B45911.16108537241281 (code B ref 45911); Sun, 17 Jan 2021 03:23:01 +0000 Received: (at 45911) by debbugs.gnu.org; 17 Jan 2021 03:22:04 +0000 Received: from localhost ([127.0.0.1]:44416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0ydf-0000Kb-Vg for submit@debbugs.gnu.org; Sat, 16 Jan 2021 22:22:04 -0500 Received: from lepiller.eu ([89.234.186.109]:53686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0ydd-0000K9-1G for 45911@debbugs.gnu.org; Sat, 16 Jan 2021 22:22:02 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 342237dc; Sun, 17 Jan 2021 03:21:58 +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=QO4XjCoX/xd+tP/cZ0t/Mszrcnl/PvGcbb6eogfNKyk=; b=bOg0aei YOJ49n4lbuV11m1mtiSsKqmpTit5esI+m5L3ghyssH2xSiGQFy9Voykd4Gnwr5Q4 ZU4VQbV4V+Ssk7QM97BB1OZ89xvg03E7d73ngJ6dYkHNw8cwcBrzFiJPKYecR9gz AYem2IjDN61AWP/J6bw04CqhtNPTZdOCVNMelDnesJlHKrOPlPov2jg4lmpjwlxB 2a39y+wqmJPmhXL6qhXduvlAE4zlHfaY96BSMyyaLPRsn6xeUO5zREc+EVkBvV1q n1RSnocjmdO2dgpGZe5B3UHzTd2EZYKOblteAGrZW/ygi/DHDg4xoj5x6nsyXYLG sygGieqUY2B4U5A== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 1a15c921 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sun, 17 Jan 2021 03:21:57 +0000 (UTC) Date: Sat, 16 Jan 2021 22:17:25 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <20210117013449.1192d841@riseup.net> References: <20210116041615.27cfa112@riseup.net> <87o8hpbee0.fsf@elephly.net> <20210117013449.1192d841@riseup.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----QY214ZW916IOP7MJ0DTA14EEVAYDBQ" Content-Transfer-Encoding: 7bit From: Julien Lepiller Message-ID: <936E2328-4662-4330-8BCA-50037B7CE3D7@lepiller.eu> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------QY214ZW916IOP7MJ0DTA14EEVAYDBQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I think you need to pass a file-like object, not a scheme expression=2E Don= 't try to modify or interpret the public key file, just pass it directly as= -is=2E 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: > >> 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, wh= ich is >documented >> 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 ------QY214ZW916IOP7MJ0DTA14EEVAYDBQ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable I think you need to pass a file-like object, not a= scheme expression=2E Don't try to modify or interpret the public key file,= just pass it directly as-is=2E

Le 16 jan= vier 2021 19:34:49 GMT-05:00, raingloom <raingloom@riseup=2Enet> a = =C3=A9crit :
On Sat, 16 Jan 2021 07:10:47 +0100
Ricardo Wurmus= <rekado@elephly=2Enet> wrote:

raingloom <raingloom@riseup=2Enet> writes:

<= blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; bord= er-left: 1px solid #ad7fa8; padding-left: 1ex;"> guix archive --authorize s= tarted issuing a warning some time ago
pointing to "authorized-keys" in= "operating-system"=2E

* that is not a valid field of operating-sys= tem

That=E2=80=99s right=2E It=E2=80=99s a field of = guix-configuration, which is documented
in 10=2E8=2E1 Base Services=2E

Thanks, I found that out already, that's how I ran i= nto 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



------QY214ZW916IOP7MJ0DTA14EEVAYDBQ-- From unknown Sat Jun 14 19:34:11 2025 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: Sun, 17 Jan 2021 03:25: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 ,Ricardo Wurmus Cc: 45911@debbugs.gnu.org Received: via spool by 45911-submit@debbugs.gnu.org id=B45911.16108538751551 (code B ref 45911); Sun, 17 Jan 2021 03:25:02 +0000 Received: (at 45911) by debbugs.gnu.org; 17 Jan 2021 03:24:35 +0000 Received: from localhost ([127.0.0.1]:44420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0yg7-0000Ox-EJ for submit@debbugs.gnu.org; Sat, 16 Jan 2021 22:24:35 -0500 Received: from lepiller.eu ([89.234.186.109]:53696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0yg4-0000On-4L for 45911@debbugs.gnu.org; Sat, 16 Jan 2021 22:24:34 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 37ddf6c1; Sun, 17 Jan 2021 03:24:31 +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=xDNXg1MMW6CVJGaZaULvP/iqiA3JHfMtsT5/ZilSHxI=; b=Sf+o/80 WhLiEia8w+Dn4wO2KNVS5W8UP4DVb5AODgDzETxWFXwk2/WJYMdOZ4ZqYmXjpMku 2V5SKAFtkCOJLoB7KTbsSzh2xSJXmPT0CMcGCFLojG4y3tmhArDnpa/4n1ZjKoky /LiJvvJglOSw/v9LGJy6/OjBzJ+7GSi8hqsQVgW7cT04uUBeJkxfScAyXMbQyNHj Qc2UZKNxHXGlTEWCYVyex78w1/HEI43e+NQYuk5AtzZJ5JT7Ocg1v6nX13QNEQWP 3g6CjahwT0tvFW9CWpBKjrR27vlFInZ4xUGIDRVPjuF3pTd4ghv/mlRNe8RrQblf 9wQ0tjM2AoP5U0w== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 6b2595d5 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sun, 17 Jan 2021 03:24:30 +0000 (UTC) Date: Sat, 16 Jan 2021 22:24:16 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <20210117013449.1192d841@riseup.net> References: <20210116041615.27cfa112@riseup.net> <87o8hpbee0.fsf@elephly.net> <20210117013449.1192d841@riseup.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----RH66XW44QDUH7I2ODLWSLBCVW7H9DK" Content-Transfer-Encoding: 7bit From: Julien Lepiller Message-ID: <08BFBF88-A677-47CE-9859-3B2FC33442F6@lepiller.eu> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------RH66XW44QDUH7I2ODLWSLBCVW7H9DK Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Actually, here's how I use it: https://framagit=2Eorg/tyreunom/system-confi= guration/-/blob/master/systems/tachikoma=2Escm#L69 And the key file is the one generated by guix, unmodified: https://framagi= t=2Eorg/tyreunom/system-configuration/-/blob/master/keys/xana=2Epub 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: > >> 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, wh= ich is >documented >> 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 ------RH66XW44QDUH7I2ODLWSLBCVW7H9DK Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Actually, here's how I use it: https://framagit=2Eorg/tyreunom/system-configuration/-/blob/ma= ster/systems/tachikoma=2Escm#L69

And the key file is the one gen= erated by guix, unmodified: https://framagit=2Eorg/tyre= unom/system-configuration/-/blob/master/keys/xana=2Epub

Le 16 janvier 2021 19:34:49 GMT-05:00, raingloom <rai= ngloom@riseup=2Enet> a =C3=A9crit :
On Sat, 16 Jan 2021 07:10:47 +0100
Ricardo Wurmus= <rekado@elephly=2Enet> wrote:

raingloom <raingloom@riseup=2Enet> writes:

<= blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; bord= er-left: 1px solid #ad7fa8; padding-left: 1ex;"> guix archive --authorize s= tarted issuing a warning some time ago
pointing to "authorized-keys" in= "operating-system"=2E

* that is not a valid field of operating-sys= tem

That=E2=80=99s right=2E It=E2=80=99s a field of = guix-configuration, which is documented
in 10=2E8=2E1 Base Services=2E

Thanks, I found that out already, that's how I ran i= nto 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



------RH66XW44QDUH7I2ODLWSLBCVW7H9DK-- From unknown Sat Jun 14 19:34:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45911: authorized-fields is not/badly documented Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 20 Jan 2021 08:50: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 Cc: Ricardo Wurmus , 45911@debbugs.gnu.org Received: via spool by 45911-submit@debbugs.gnu.org id=B45911.161113255930877 (code B ref 45911); Wed, 20 Jan 2021 08:50:02 +0000 Received: (at 45911) by debbugs.gnu.org; 20 Jan 2021 08:49:19 +0000 Received: from localhost ([127.0.0.1]:52819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l29B0-00081x-US for submit@debbugs.gnu.org; Wed, 20 Jan 2021 03:49:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l29Az-00081h-C7 for 45911@debbugs.gnu.org; Wed, 20 Jan 2021 03:49:17 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46724) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l29At-0007Tx-Gs; Wed, 20 Jan 2021 03:49:11 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=58018 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l29As-0003dM-Q4; Wed, 20 Jan 2021 03:49:11 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210116041615.27cfa112@riseup.net> <87o8hpbee0.fsf@elephly.net> <20210117013449.1192d841@riseup.net> Date: Wed, 20 Jan 2021 09:49:09 +0100 In-Reply-To: <20210117013449.1192d841@riseup.net> (raingloom@riseup.net's message of "Sun, 17 Jan 2021 01:34:49 +0100") Message-ID: <87lfcof0xm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Hi, raingloom skribis: > I'm still confused about what the proper way to store the config info > is. Like how I should even store it as Scheme source code. Did you see this section and do you find it helpful? https://guix.gnu.org/manual/en/html_node/Getting-Substitutes-from-Other-S= ervers.html Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 20 03:49:37 2021 Received: (at control) by debbugs.gnu.org; 20 Jan 2021 08:49:37 +0000 Received: from localhost ([127.0.0.1]:52822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l29BJ-00082Z-7a for submit@debbugs.gnu.org; Wed, 20 Jan 2021 03:49:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l29BI-00082K-6P for control@debbugs.gnu.org; Wed, 20 Jan 2021 03:49:36 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46725) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l29BC-0007ca-VM for control@debbugs.gnu.org; Wed, 20 Jan 2021 03:49:30 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=58022 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l29BC-0003dd-Fd for control@debbugs.gnu.org; Wed, 20 Jan 2021 03:49:30 -0500 Date: Wed, 20 Jan 2021 09:49:29 +0100 Message-Id: <87k0s8f0x2.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #45911 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) retitle 45911 'authorized-keys' field is badly documented quit From unknown Sat Jun 14 19:34:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45911: authorized-fields is not/badly documented Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 20 Jan 2021 20:44: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: Julien Lepiller Cc: Ricardo Wurmus , 45911@debbugs.gnu.org Received: via spool by 45911-submit@debbugs.gnu.org id=B45911.16111753934612 (code B ref 45911); Wed, 20 Jan 2021 20:44:02 +0000 Received: (at 45911) by debbugs.gnu.org; 20 Jan 2021 20:43:13 +0000 Received: from localhost ([127.0.0.1]:56342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2KJt-0001CK-80 for submit@debbugs.gnu.org; Wed, 20 Jan 2021 15:43:13 -0500 Received: from mx1.riseup.net ([198.252.153.129]:54468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2KJq-0001CB-V5 for 45911@debbugs.gnu.org; Wed, 20 Jan 2021 15:43:12 -0500 Received: from fews1.riseup.net (unknown [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4DLct21bSyzDsc6; Wed, 20 Jan 2021 12:43:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1611175388; bh=/kzZEN6s2v9f68VSEFY7cl1rM3pKAE0b+XlR7+PKIRs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RlAOWgWkoFbfn2qymD/Cli0Vg20FwT3tQV/F/Bi+LcSKnbLPTkn73QWahd81nQPwc rhIdObYxvVZnNlfSH9ab+WgrwCvKQ1VII2zsLz9Xcw5fk+aEKLXQeK/l2PZ2Tec8AS RAiKgyQVcDIEmDC7BSecwoyXtvdeE7DatuR6M7pM= X-Riseup-User-ID: BDE7016984C4CF3A619EFB491B5C94985E118482BE98172832888363E403258C Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4DLcss64ZMz5wTB; Wed, 20 Jan 2021 12:42:54 -0800 (PST) Date: Wed, 20 Jan 2021 21:34:11 +0100 From: raingloom Message-ID: <20210120213411.3420d912@riseup.net> In-Reply-To: <08BFBF88-A677-47CE-9859-3B2FC33442F6@lepiller.eu> References: <20210116041615.27cfa112@riseup.net> <87o8hpbee0.fsf@elephly.net> <20210117013449.1192d841@riseup.net> <08BFBF88-A677-47CE-9859-3B2FC33442F6@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Sat, 16 Jan 2021 22:24:16 -0500 Julien Lepiller wrote: > Actually, here's how I use it: > https://framagit.org/tyreunom/system-configuration/-/blob/master/systems/= tachikoma.scm#L69 >=20 > And the key file is the one generated by guix, unmodified: > https://framagit.org/tyreunom/system-configuration/-/blob/master/keys/xan= a.pub >=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". > >> > > >> > * that is not a valid field of operating-system =20 > >>=20 > >> That=E2=80=99s right. It=E2=80=99s a field of guix-configuration, whi= ch is =20 > >documented =20 > >> in 10.8.1 Base Services. > >> =20 > > > >Thanks, I found that out already, that's how I ran into the other > >issues. > >I'm still confused about what the proper way to store the config info > >is. Like how I should even store it as Scheme source code. =20 Thanks, guess I'll go down the file route for now, but this is an unsatisfactory solution IMHO. 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. If no one wants to fix it, mind if I give it a go? From unknown Sat Jun 14 19:34:11 2025 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 Cc: Ricardo Wurmus , 45911@debbugs.gnu.org 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-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 :) From unknown Sat Jun 14 19:34:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45911: authorized-fields is not/badly documented Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 23 Jan 2021 05:40:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Ricardo Wurmus , 45911@debbugs.gnu.org Received: via spool by 45911-submit@debbugs.gnu.org id=B45911.161138037428466 (code B ref 45911); Sat, 23 Jan 2021 05:40:01 +0000 Received: (at 45911) by debbugs.gnu.org; 23 Jan 2021 05:39:34 +0000 Received: from localhost ([127.0.0.1]:33533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3Be2-0007P4-21 for submit@debbugs.gnu.org; Sat, 23 Jan 2021 00:39:34 -0500 Received: from mx1.riseup.net ([198.252.153.129]:35436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3Bdy-0007Ou-0E for 45911@debbugs.gnu.org; Sat, 23 Jan 2021 00:39:32 -0500 Received: from fews1.riseup.net (unknown [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4DN4gz2Nw3zDqGm; Fri, 22 Jan 2021 21:39:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1611380367; bh=wXZbbU+oRSQ/VqY5/l17w0KPxTNQejNDKNwgIPc6GcQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ZwYmOwN1a4aU9mmAd2rz/0jYqf/adU8QyzVup8pdmob9O0m3Fe77mFLckGaEQHToS H1vtbDlWxm0dNBBrcj3mqGwsguB8u/Wuy6BaFgW/JXDpDsiKTWEFAECyAIe2qp6Qh6 F+VdbMT05Khl1UI/CI1ITkC7CuJJ4J0XArq+fGX4= X-Riseup-User-ID: 911B7C21E08C4F7513E490BFE49B2DEEC4A2999575C258CFF18915CD0B6F0134 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4DN4gn5HWNz5vSS; Fri, 22 Jan 2021 21:39:17 -0800 (PST) Date: Sat, 23 Jan 2021 06:39:03 +0100 From: raingloom Message-ID: <20210123063903.66ad778c@riseup.net> In-Reply-To: <87lfcof0xm.fsf@gnu.org> References: <20210116041615.27cfa112@riseup.net> <87o8hpbee0.fsf@elephly.net> <20210117013449.1192d841@riseup.net> <87lfcof0xm.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, 20 Jan 2021 09:49:09 +0100 Ludovic Court=C3=A8s wrote: > Hi, >=20 > raingloom skribis: >=20 > > I'm still confused about what the proper way to store the config > > info is. Like how I should even store it as Scheme source code. =20 >=20 > Did you see this section and do you find it helpful? >=20 > https://guix.gnu.org/manual/en/html_node/Getting-Substitutes-from-Other= -Servers.html >=20 > Ludo=E2=80=99. I have, that's how I found out where the setting even is. An issue that I only now noticed is that it doesn't explain where to obtain the signing key from, or the new behaviour of `guix archive --authorize`. If no one wants to fix it, I'll submit a patch once I'm done setting up Snapper and some backups. Edit after this sat in my queue for a few days: Okay, so I figured out that I should use a G-Expression if I want to compute the file, instead of just include it. Still not sure how to store it as Scheme data, but I have an untested idea involving the "pipe" syntax for symbols. Thanks for the pointers! From unknown Sat Jun 14 19:34:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45911: authorized-fields is not/badly documented Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 23 Jan 2021 09:11: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 Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 45911@debbugs.gnu.org Received: via spool by 45911-submit@debbugs.gnu.org id=B45911.161139304431709 (code B ref 45911); Sat, 23 Jan 2021 09:11:02 +0000 Received: (at 45911) by debbugs.gnu.org; 23 Jan 2021 09:10:44 +0000 Received: from localhost ([127.0.0.1]:33637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3EwO-0008FM-FV for submit@debbugs.gnu.org; Sat, 23 Jan 2021 04:10:44 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21123) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3EwL-0008F9-1h for 45911@debbugs.gnu.org; Sat, 23 Jan 2021 04:10:42 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1611393021; cv=none; d=zohomail.com; s=zohoarc; b=fXU6NMBRiqf9YU03Fh4yOy7g/CviCm8tJNnY5bS8Kiwm1y0a05q+CE4uwcuYbcBmXs595L32FUgl6qbXFUPvWbKGlidh85nXuanvue36Ymlgnlfe+j6O4Vqs6v7D6H1h24je0fa56/lIqJfbGtLYPL8tAyy1agZOipcJJ0xfQwM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611393021; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=goBpACD4D/qd2H9yM2lwIw2S9IJ36D1UQyDgIYl/a90=; b=YPvZinDQ6bCoLDwPJHM3b6fRebrIB0szTjVU8f/XkYzlpg7o8z72Y2fb+E2/JBjFyUHihhQ2zRPboGtalr52DT+umQtC9y1jxaeMg5dxeSX5lvoXr6uo+hzee0ITXlWUPup1SbnujzNMfGCG9+RDyo9VcolUXUdz0WYzPhA46uY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1611393021; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; bh=goBpACD4D/qd2H9yM2lwIw2S9IJ36D1UQyDgIYl/a90=; b=FuLVgqwiIqRciPt7hBF3o772NOMtL8TJnWD0P+VRaqoXcFdp+VmBnFPWGgKptmq4 C0Tt25dcz4NNf1wxZNAC5teUXzVErMkbxlAk8xcoyWdePjIBRaYqLZE5nn80wa6NZF/ MVMGh1L0xzj27ndHF/w7DWR1cuh1Xtj82ExcCgmg= Received: from localhost (p54ad43f8.dip0.t-ipconnect.de [84.173.67.248]) by mx.zohomail.com with SMTPS id 1611393018923703.8853503459661; Sat, 23 Jan 2021 01:10:18 -0800 (PST) References: <20210116041615.27cfa112@riseup.net> <87o8hpbee0.fsf@elephly.net> <20210117013449.1192d841@riseup.net> <87lfcof0xm.fsf@gnu.org> <20210123063903.66ad778c@riseup.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus In-reply-to: <20210123063903.66ad778c@riseup.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 23 Jan 2021 10:10:15 +0100 Message-ID: <87y2gkj9xk.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: raingloom writes: > Okay, so I figured out that I should use a G-Expression if I want to > compute the file, instead of just include it. Still not sure how to > store it as Scheme data, but I have an untested idea invo [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [136.143.188.51 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [136.143.188.51 listed in wl.mailspike.net] 2.0 PDS_TONAME_EQ_TOLOCAL_SHORT Short body with To: name matches everything in local email 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) raingloom writes: > Okay, so I figured out that I should use a G-Expression if I want to > compute the file, instead of just include it. Still not sure how to > store it as Scheme data, but I have an untested idea involving the > "pipe" syntax for symbols. Use computed-file instead of local-file. -- Ricardo From unknown Sat Jun 14 19:34:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45911: authorized-fields is not/badly documented Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 25 Jan 2021 23:05: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: Ricardo Wurmus Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 45911@debbugs.gnu.org Received: via spool by 45911-submit@debbugs.gnu.org id=B45911.161161588015032 (code B ref 45911); Mon, 25 Jan 2021 23:05:02 +0000 Received: (at 45911) by debbugs.gnu.org; 25 Jan 2021 23:04:40 +0000 Received: from localhost ([127.0.0.1]:40284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4AuW-0003uO-IG for submit@debbugs.gnu.org; Mon, 25 Jan 2021 18:04:40 -0500 Received: from mx1.riseup.net ([198.252.153.129]:47576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4AuU-0003uE-1W for 45911@debbugs.gnu.org; Mon, 25 Jan 2021 18:04:38 -0500 Received: from fews1.riseup.net (unknown [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4DPlmy2wqwzFmY0; Mon, 25 Jan 2021 15:04:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1611615874; bh=EO3gAqwxW5MzC/7nmAd8uFUuhgcgl0r4g4izH8oCw5w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cL1BGu17bstk1bHzD8xRJf1KHmjm6j+RZLx4qUX1qVjMA2UMZna2/VhZYUI33qOrJ O5oiqvjmsUr0StgbTdLoM9ByHjP8EyGVppmZU6UAS92k+u1t6lhOnWi8uHjMnPWmQf vzKmKckZzDTiQ4F4KJASOpo7mDOjCxLxwY6kUAZE= X-Riseup-User-ID: 61CC8E358DCC76DB8B9A3653108620C15CDE4B04894A75428B7604DFD531421F Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4DPlmv2n7mz5wF6; Mon, 25 Jan 2021 15:04:31 -0800 (PST) Date: Mon, 25 Jan 2021 18:15:43 +0100 From: raingloom Message-ID: <20210125181543.7f16e903@riseup.net> In-Reply-To: <87y2gkj9xk.fsf@elephly.net> References: <20210116041615.27cfa112@riseup.net> <87o8hpbee0.fsf@elephly.net> <20210117013449.1192d841@riseup.net> <87lfcof0xm.fsf@gnu.org> <20210123063903.66ad778c@riseup.net> <87y2gkj9xk.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: 0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) On Sat, 23 Jan 2021 10:10:15 +0100 Ricardo Wurmus wrote: > raingloom writes: > > > Okay, so I figured out that I should use a G-Expression if I want to > > compute the file, instead of just include it. Still not sure how to > > store it as Scheme data, but I have an untested idea involving the > > "pipe" syntax for symbols. > > Use computed-file instead of local-file. > I know about computed-file, the issue is that the syntax of the key is not strictly Scheme. The long hexadecimal block isn't parsed as a number: ``` (with-input-from-file "/etc/guix/signing-key.pub" read) ... /etc/guix/signing-key.pub:4:8: Unknown # object: #\C ``` Trying to store it as a module results in the same error. So I can't just have an associative list of hostnames and signing keys and filter it based on the hostname, I have to store each key as an opaque file, completely bypassing the module system. From unknown Sat Jun 14 19:34:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45911: authorized-fields is not/badly documented Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 26 Jan 2021 07:15:01 +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 Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 45911@debbugs.gnu.org Received: via spool by 45911-submit@debbugs.gnu.org id=B45911.161164526520760 (code B ref 45911); Tue, 26 Jan 2021 07:15:01 +0000 Received: (at 45911) by debbugs.gnu.org; 26 Jan 2021 07:14:25 +0000 Received: from localhost ([127.0.0.1]:40590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4IYS-0005Om-Va for submit@debbugs.gnu.org; Tue, 26 Jan 2021 02:14:25 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4IYR-0005Od-9f for 45911@debbugs.gnu.org; Tue, 26 Jan 2021 02:14:24 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1611645237; cv=none; d=zohomail.com; s=zohoarc; b=Jvg5sRwgo5y95wbcV4cxfC08DhQbgs404r7C8KzTXkC0Mjngp9ZZwN+ZhSAIoZP9ahQyZ1vSS+neePKDlqbiUoldtYq+cEjLkrruZx8zA+hwhjkLqe4yxSRadXQRpOQfDX2szXwJE+MG0FaYytKK9yAVcXJXPXlclPkbxtmiDYQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611645237; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=y8AIQuFJEOiP6hWBs7OC/pNZbZvLbTi6lcki9pyu1zc=; b=RTZNdWN2boo98c2mq95glMpcQdKTde+06ydbdsE/Ek7EJuSdJYY98DrZxEUCKhmRvpEBuQkWih04BLwgJRcdZ9lBDyOgh8yQpjtYeE6ePldZM6nhG4sOe5ga466xtV6Otcc+4I8FYN2fQB85z3f7VY09AkbgvBFRueBzoUlm/vs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1611645237; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=y8AIQuFJEOiP6hWBs7OC/pNZbZvLbTi6lcki9pyu1zc=; b=c+m10w/4cE8CNoaNcL8Hc7L0cE3enHl0mQ9fGqX+71Zk6vx3gJyu2CGo9nLSeV98 og4kcVMglLW0A0Xz5PT5CSlew7FGehbTvkk/aqHh+bSdQhjRl5UATaQvxrM5O7ZOHDf VGf3iwmomRINJhA4A2qcBy5Nq8JhFJTArGl3oQ58= Received: from localhost (p54ad4e0d.dip0.t-ipconnect.de [84.173.78.13]) by mx.zohomail.com with SMTPS id 161164523417339.58434849778337; Mon, 25 Jan 2021 23:13:54 -0800 (PST) References: <20210116041615.27cfa112@riseup.net> <87o8hpbee0.fsf@elephly.net> <20210117013449.1192d841@riseup.net> <87lfcof0xm.fsf@gnu.org> <20210123063903.66ad778c@riseup.net> <87y2gkj9xk.fsf@elephly.net> <20210125181543.7f16e903@riseup.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus In-reply-to: <20210125181543.7f16e903@riseup.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 26 Jan 2021 08:13:50 +0100 Message-ID: <877do0jhld.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) raingloom writes: > On Sat, 23 Jan 2021 10:10:15 +0100 > Ricardo Wurmus wrote: > >> raingloom writes: >>=20 >> > Okay, so I figured out that I should use a G-Expression if I want to >> > compute the file, instead of just include it. Still not sure how to >> > store it as Scheme data, but I have an untested idea involving the >> > "pipe" syntax for symbols.=20=20 >>=20 >> Use computed-file instead of local-file. >>=20 > > I know about computed-file, the issue is that the syntax of the key is > not strictly Scheme. The long hexadecimal block isn't parsed as a > number: > ``` > (with-input-from-file "/etc/guix/signing-key.pub" read) > ... > /etc/guix/signing-key.pub:4:8: Unknown # object: #\C > ``` These are canonical s-expressions. You can read them with =E2=80=9Cread-file-sexp=E2=80=9D from (gcrypt pk-crypto). Or you can conve= rt them to readable s-expressions with =E2=80=9Ccanonical-sexp->sexp=E2=80=9D. Or you= can create them from strings with =E2=80=9Cstring->canonical-sexp=E2=80=9D. --=20 Ricardo