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 ms0.migadu.com with LMTPS id UJyMCRfxm2FKKwEAgWs5BA (envelope-from ) for ; Mon, 22 Nov 2021 20:35:51 +0100 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 6LItBRfxm2GkGwAAB5/wlQ (envelope-from ) for ; Mon, 22 Nov 2021 19:35:51 +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 CC8C92A7FE for ; Mon, 22 Nov 2021 20:35:50 +0100 (CET) Received: from localhost ([::1]:45654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpF6U-0000Wu-0s for larch@yhetil.org; Mon, 22 Nov 2021 14:35:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpF6G-0000Wc-N3 for guix-devel@gnu.org; Mon, 22 Nov 2021 14:35:36 -0500 Received: from [2a00:1450:4864:20::341] (port=55083 helo=mail-wm1-x341.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpF6F-0007nF-CK; Mon, 22 Nov 2021 14:35:36 -0500 Received: by mail-wm1-x341.google.com with SMTP id i12so16537615wmq.4; Mon, 22 Nov 2021 11:35:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=Rup9QozJWtX75cZ7zxAzWr78X7QN26OglRNbJItaFqI=; b=aXuxL+DZ70K5j9HecxwN3ReCVk+v4aQIlShkEmH/UNA8IhrtNZRlrqd2og5HgyytQH SzsFQ7kkcadm21DaAoNL2cFJLpN9lbG61rvQYAleHYCo39Yya5Ddl78yG4WA4pryYy84 dpWwUYHF+gRfRz6JHTH21DiugFwER6CEMAXlIqgkGfR008zMU6zAxFp1/wwd8QMLOC1Z s6vyn6nsgyjyv9iZWlWWIJ5Y3OOmxo7wgE67QKRbmOOnpuvQcqbW5wOHRgku0lJC+EKN UihtbCM3J+jUmYQLAOBBkEdA8AhR6Tw+XqIDR7GfS9jJtYZphIj7Bx7SEuzY3e7yrpt0 dK/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Rup9QozJWtX75cZ7zxAzWr78X7QN26OglRNbJItaFqI=; b=ooNU4zli0Ms1DhNSd6tuEiNYEmgYlmav3nQ7JEDhis9mFpFFsmBuDExEf3NoOeC/2I pfd96JER7GWqH818xNAWDDRkzcK8i252y+NufSgIaR0XynTIqmt+r2EbpF1OeXCGdmUc 3KRWwno5eWJkWLZYyzurgrkxUVX+Eg2ncMIRQy4jM6A6JX2nIFRb/6+kHJuI7yDo69lN Ee9Ds5PaHw9lpLtB/NgrmiLtNuSedfzK7C1JNPY2Wt103oQUOBK7DbbbSP6Wz3y7mlUk TIJxAML9OEXo6NMu1sVVmhsm3lngF69yPx9Dvnu3kXXJc4plbF8oQ0PKQnKMaHh/a3RT ORGQ== X-Gm-Message-State: AOAM530RU/mAeoXREv70jXulSfbscKsof2DdZkiU/EppbJ61Zt6ODjzW YnMlsfQaISAub1A3ju50RrMH0A4ja/Q= X-Google-Smtp-Source: ABdhPJwG6QF277CzcnXu3OPZafwsBydRAnosW4berbq3p0rV9vCsd4IqKJNQRCjBAHmGqk24KFOo1g== X-Received: by 2002:a7b:c8c2:: with SMTP id f2mr32346833wml.63.1637609732176; Mon, 22 Nov 2021 11:35:32 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id m2sm22221829wml.15.2021.11.22.11.35.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Nov 2021 11:35:31 -0800 (PST) Message-ID: Subject: Re: Using G-Expressions for public keys (substitutes and possibly more) From: Liliana Marie Prikler To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Mon, 22 Nov 2021 20:35:30 +0100 In-Reply-To: <87fsronwvg.fsf@gnu.org> References: <5f7e587c376ed0abffa321152e185cbf4014e05b.camel@gmail.com> <87wnm6w2yz.fsf@gnu.org> <86k0h2jris.fsf@fsfe.org> <87fsronwvg.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::341 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::341; envelope-from=liliana.prikler@gmail.com; helo=mail-wm1-x341.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1637609750; 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=Rup9QozJWtX75cZ7zxAzWr78X7QN26OglRNbJItaFqI=; b=Jz2KXY178JoqEhJkNjDPr5QujZVvnQfrTksB2UCLarOrA/0q4ZAjdZ+3jUfIb6Z2eSSDXR dd0l6QspWqWuC3hSFGYL0p/iSUUEnmuVCTVqFLSZlQjVaB3g8mcpKtAj4OvdHYz6R3ykc7 YqEnJFpYK7RJFrP49ZDNJ50R/Lw8B8IDNfaV/FG5phLlu93CWmmq6K9Gu8Fh0blttVR9jc rAYdFU9Irbos2a/5BK6Kz05I2W4yYlimoCyob5xtICn/EJsua4GVjCRkjGaUfSiX4a8rkb 8ro+Nl2EeEqa9WZNxO/2o5jNRdJGjioY+zVSRx5mW9V2i9VDXv15jbNKJyYkWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637609750; a=rsa-sha256; cv=none; b=gUDgg/cU2zayqj9vhgZrU0uG1QUJJS5GnTG5t0Ew22C9ksexJQmGtq9MxuniC6GgMaVBa/ RuEHsVOkIgRgA19kXV8T6ckIKiSwTUFUPZtV9bICH5tc8QqzXeb5VlCH7Q8YGFUHOspr76 6ybRDunAFf9aa2sD4wnYszG9hpoGqUc6OZPkwXbJoVs7IHPeIQuB2ay1gyo1QU/tgSd5iU 1A3+JIega8ndhvujuC+5fZUSUtTg+8eK7RIyIHiklLLr4/JiQTMEr/rTc0conjSf1ihjpa c6xPAIOWtobhecFInXApQVW5u5xn3zVE4Ndc/wPP/MtgSL7IumHpqbw4f9FyDA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=aXuxL+DZ; 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: -1.78 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=aXuxL+DZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: CC8C92A7FE X-Spam-Score: -1.78 X-Migadu-Scanner: scn1.migadu.com X-TUID: n9o9zKTLYsOK Am Montag, den 22.11.2021, 14:27 +0100 schrieb Ludovic Courtès: > 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’t find it very compelling given there’s already > ‘sexp->canonical-sexp’ & co. WDYT? sexp->canonical-sexp is from the comment surrounding it a rather hacky beast. I think (guile-)gcrypt could very well benefit from having a better sexp construction API, but again that's outside the scope of Guix. But since you're asking, I do feel there's a lot guile-gcrypt could borrow from Guix, just not right now in an efficient manner thanks to needing to jump through the sexp->canonical-sexp hoops. It could have semantic constructors and field sanitization à la (guix records) for example. WDYT?