From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KCO2NdjBD2D1TwAA0tVLHw (envelope-from ) for ; Tue, 26 Jan 2021 07:16:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0IGQMdjBD2CpRAAAB5/wlQ (envelope-from ) for ; Tue, 26 Jan 2021 07:16:40 +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 C9F02940430 for ; Tue, 26 Jan 2021 07:16:39 +0000 (UTC) Received: from localhost ([::1]:50798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4Iaa-00022m-QS for larch@yhetil.org; Tue, 26 Jan 2021 02:16:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4IZ5-00021q-Ea for bug-guix@gnu.org; Tue, 26 Jan 2021 02:15:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57278) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4IZ4-0001BG-3h for bug-guix@gnu.org; Tue, 26 Jan 2021 02:15:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4IZ3-0005Q0-Uo for bug-guix@gnu.org; Tue, 26 Jan 2021 02:15:01 -0500 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 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-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: 0.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b="c+m10w/4"; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=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: C9F02940430 X-Spam-Score: 0.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: AjCR7we7htEy 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