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 ms0.migadu.com with LMTPS id yAKaOxBMcGEIvwAAgWs5BA (envelope-from ) for ; Wed, 20 Oct 2021 19:04:16 +0200 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 4PZfNxBMcGFCOAAA1q6Kng (envelope-from ) for ; Wed, 20 Oct 2021 17:04:16 +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 A8B78B31C for ; Wed, 20 Oct 2021 19:04:16 +0200 (CEST) Received: from localhost ([::1]:48578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdF0h-0002Xd-TP for larch@yhetil.org; Wed, 20 Oct 2021 13:04:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdF04-0002XV-AV for guix-devel@gnu.org; Wed, 20 Oct 2021 13:03:36 -0400 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:46001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdF02-00043q-5W for guix-devel@gnu.org; Wed, 20 Oct 2021 13:03:35 -0400 Received: by mail-qt1-x833.google.com with SMTP id t2so3599309qtn.12 for ; Wed, 20 Oct 2021 10:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=yEWR6Y1gah6hEvLgNHv92QZ2nOi1nXG1WyZQ27xnp2E=; b=dWLGKqPQq64u7DlPcfz74csHF6Suh2BzlNCyhkAT/ZWN1Uy9TFgGRByJ9e14MWTMUS YeIPso8BmX/E8FtX/a1jyOU8VWZ2W9y1oyhbVEJINXVkqquNh+I8vBpAxUsPCVPO9q6h gFMM7+prWS4oXi8mwIhmEYKOleKQUxHAVxVQUwObFEoE8nnf6WRz67Xg9Jh+OXl8LqA9 sQCyrEs/aWzPMRjMP6rKdcdIgyhTEkozDCU3ArfCHR4nkdR2IVK+yAhB4vMjmye7Yu1t m2dXWcJc44Ssw9hKoZwwFGBw3nCTteNbtraXSJ1KksHeaHOauen/tywNv8PhDa/eQujB A3LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=yEWR6Y1gah6hEvLgNHv92QZ2nOi1nXG1WyZQ27xnp2E=; b=mM/P3oB5glUnQ0evhX9HJIA5SeDPdRZyxCssgQRpwzegsDKuKyhLlKWuvxblK5sAyf gTyRdt3zNmMFJkpYqSB8M1UWdKsQ+QEN5GuoYwTzPw7IwGGjH5OCghiLucl3Doa8l+FB hWJG4J0hvRRpKqp60o4eUcIFVSsFdqNT4jfscnbVp0LcKYvBxzwK+JidLpDiiSHyg0j0 ySMWRbbIUc7uyNggJeyQFfqfYdmbeVbLMCWM1b3ha74bAQxiUw7+w1/+CFLalUAI/2NG nkfIZGcZfgmiq5qQ/LJYW9i43dSKbd77ef8N8TEetwTi2nQNjd0vdoaC5puBIMmrYlXj 1lTA== X-Gm-Message-State: AOAM531y6GfQucBYR/pAB+gNQv6qcFFYcQMhlqIr/ID046ZiMdGc8vhD kKl6WXOSze2HfsWhuXugU4eK+ley8Tirr1V03vjNWm9LSBg= X-Google-Smtp-Source: ABdhPJyG/RcQCx6w0WhboBuyyvcr/DI77buAR5x5fUWvsVcifcLXKRIEPOKGQhD6hQ/bs/T0kTBnLYmVv/T7gx4E2y0= X-Received: by 2002:a05:622a:1114:: with SMTP id e20mr333880qty.225.1634749413139; Wed, 20 Oct 2021 10:03:33 -0700 (PDT) MIME-Version: 1.0 References: <86k0i8c7zj.fsf@gmail.com> <868ryoc7v5.fsf@gmail.com> In-Reply-To: <868ryoc7v5.fsf@gmail.com> From: zimoun Date: Wed, 20 Oct 2021 19:03:22 +0200 Message-ID: Subject: Re: Disarchive and SHA To: Guix Devel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::833; envelope-from=zimon.toutoune@gmail.com; helo=mail-qt1-x833.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=1634749456; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=yEWR6Y1gah6hEvLgNHv92QZ2nOi1nXG1WyZQ27xnp2E=; b=anl21PdbFZwFZRaEqD0Fu+bhSkthv5w80KpXwDvKYB4TMPvprMhma/pSal0ecZbybOlqgg /C4+e0J95ULSYl9jHF+1CYx06at18ABDFUAHjOShnGAa94PRJf2AjrgNYYKbpXqOW2IN4t ykbPHXx5XXyCgZ0kbAbdxJuR0+bu+2SxKD/u3pbul4huykGA3osJ9EVqTcvvXxc0vgaMz5 bvM6GqSLGEOt2f//TPyuHQo+vXEVwrmRzYHsxJohO2vzZENQqP+sSAGjmcEYW3ldnYXJg6 OhprFP+vQ+nXlP8SmhYoyFYUhm55PjX1ZCjAe0Lwlf1O22Z56/yXrGBN7w2/WQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634749456; a=rsa-sha256; cv=none; b=t+PMrcjJXFEPQq3A5GpmlM0DmppFb4CUAcnUQka965CGukLTfcMRJr8MclITVNJhJVKtPK RC462CuRDPJhyJDBouByEruGEi65tVDeZ24SPXeeNXCrhvTQJv6L31sUFQ4PqERha0EFTd ftuEC4rgwD6yXue1yXikvcOUb3zEQd2L9EX6N5QPfRrLOYo/k4tcTieiPoL3fROvnkKuDg 0VsFp2cScjKxCEKQygeamUBUALnmYk6QSrtj030zkgkyFbG2ORfwOckMpm/FPj81QkhEEv BMAJHwBPs1Oyps0H2t2rVLO/UEx0W1mKP3iI/5xrCGyS073pdPIrFLLu1npVYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dWLGKqPQ; 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-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=dWLGKqPQ; 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: A8B78B31C X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: S0Oxg4qOPjeh Hi, On Wed, 20 Oct 2021 at 12:23, zimoun wrote: > --8<---------------cut here---------------start------------->8--- > (define-public zabbix-agentd [...] > (sha256 > (base32 "100n1rv7r4pqagxxifzpcza5bhrr2fklzx7gndxwiyq4597p1jvn")))= ) > --8<---------------cut here---------------end--------------->8--- > > it does not match the URL: > > > > and instead, one has to convert to =E2=80=99base16=E2=80=99. I am not aw= are of any tool > to ease this transformation. Maybe, we could add an option to =E2=80=9Cg= uix > hash=E2=80=9D. WDYT? For the interested reader, the trick is to use... --8<---------------cut here---------------start------------->8--- $ guix hash -f base16 $(guix build zabbix-agentd -S) 76cb704f2a04fbc87bb3eff44fa71339c355d467f7bbd8fb53f8927c760e1680 --8<---------------cut here---------------end--------------->8--- > Using =E2=80=99base16=E2=80=99, the URL matches and the file is downloade= d. Neat! > > ...but it must download. Instead, I propose the patch#51307 which convert without downloading. WDYT? 1: Cheers, simon