From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ILhMIf6pm2EOdgAAgWs5BA (envelope-from ) for ; Mon, 22 Nov 2021 15:32:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eIHLHP6pm2FQSgAAbx9fmQ (envelope-from ) for ; Mon, 22 Nov 2021 14:32:30 +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 4621D228EC for ; Mon, 22 Nov 2021 15:32:30 +0100 (CET) Received: from localhost ([::1]:45442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpAMv-0000wP-Gb for larch@yhetil.org; Mon, 22 Nov 2021 09:32:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpAMd-0000jC-I5 for guix-devel@gnu.org; Mon, 22 Nov 2021 09:32:11 -0500 Received: from mail1.fsfe.org ([217.69.89.151]:55162) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpAMb-0002xg-60; Mon, 22 Nov 2021 09:32:11 -0500 From: Jelle Licht DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1637591524; h=from:from: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; bh=UlO6+91NIcXl7MlW71SC6dherx1HzHZmpqP1O5fCrYY=; b=gsmL5L8ymN5rCG4YFcsNa07RNs3gHr+bg1YY8oa/ylIXQoh0fGs19iecaavTWA4csy6tQk gK6XVeNJ204fAibu6gohw6KHpCTjpGByd9COLVMuY7UhXu727zvrGoJWuiJLMkQbsZuF0h quUj139RF9B6cYjvukEJIcaJN7UcVR4= To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Liliana Marie Prikler Subject: Re: Using G-Expressions for public keys (substitutes and possibly more) In-Reply-To: <87fsronwvg.fsf@gnu.org> References: <5f7e587c376ed0abffa321152e185cbf4014e05b.camel@gmail.com> <87wnm6w2yz.fsf@gnu.org> <86k0h2jris.fsf@fsfe.org> <87fsronwvg.fsf@gnu.org> Date: Mon, 22 Nov 2021 15:32:03 +0100 Message-ID: <864k84clcs.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.69.89.151; envelope-from=jlicht@fsfe.org; helo=mail1.fsfe.org 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, 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: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637591550; 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=UlO6+91NIcXl7MlW71SC6dherx1HzHZmpqP1O5fCrYY=; b=WnPwv4iwmhnZKExKGywnnqyHJCp+ILe/Kv+H9iqtPZ+8bkBRVUaDYsakcsXUabCWk4RtNE OOk0by5VJBk0BzGO/wAGnxk5pdQAo2bxH4+ceoOx+9XRzwez8oeCPvX6JnIN9Dxwvz4kIC yoFaEmRNzQ45V9u1Ti70qeGJv9MhjKFIWHPmGEa2qKE+aNZeGJAiZ7eQwJIUzceOgTV9Xo 9nceS6t13CTQztFzD4kc9qvvW2e/+D0be/l/HHPLsPaFtPzkIHp0GRBTpaYfwZxAE4NpDc XN7TExHdlfNjh2f0KcwlCfGdgg3W2mAgMSZD7eye+D/GMG4Z1kETXBqBaG0nMw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637591550; a=rsa-sha256; cv=none; b=FdVwrhh/XgW0wyFruxwPo9eAiO9WwxOA6NRetiAI8814/knFz3u1fughqLwRCP0hNkxshl Fcoz01q3jODOM9YvK9hT3N+/EyQBOgCrnugDVI3OOd0VF0ZKroWt8e/01m8R+SGIK28x7w xSXn+1Wvn86QqRCq4yBdmEA7NJF5m5nTwg4YSM+zWV/pKCnshsNosh3d+rMpDPbSmRXDUJ GPr4hK/02GWlMiAyy8H0YErMM1cHQt3Js1JgPKrYzAPPJ0Gk9W5UxH96AR9d3LkOmfny+J k4+sMoczCVyybwFODUpVaITf0wSoR5JtXSC5yOSApgS/zA+a7py+FlQWv5Kj5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fsfe.org header.s=2021100501 header.b=gsmL5L8y; dmarc=pass (policy=none) header.from=fsfe.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -6.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fsfe.org header.s=2021100501 header.b=gsmL5L8y; dmarc=pass (policy=none) header.from=fsfe.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 4621D228EC X-Spam-Score: -6.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: AamxlbQBa9cZ Ludovic Court=C3=A8s writes: > Hi, > > Liliana Marie Prikler skribis: > >> I think we would probably want to improve on this end in the guile- >> gcrypt module, i.e. have a public-key "constructor" that returns a >> canonical-sexp and so on. WDYT? > > I don=E2=80=99t find it very compelling given there=E2=80=99s already > =E2=80=98sexp->canonical-sexp=E2=80=99 & co. WDYT? Well, the issue here is 'knowing' what sexp to pass along to that function in the first place. Are Liliana & I missing something obvious here? I had to take a string representation of a valid canonical-sexp, and pass it through string->canonical-sexp and canonical-sexp->sexp. It's definitely not an issue for managing my local configuration, but it seems silly to force _anyone_ wanting to write a canonical-sexp as a sexp through this REPL adventure, for each kind of canonical-sexp. - Jelle