From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6KF0C/Q1ymLb/AAAbAwnHQ (envelope-from ) for ; Sun, 10 Jul 2022 04:14:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GHx5C/Q1ymLTDwAA9RJhRA (envelope-from ) for ; Sun, 10 Jul 2022 04:14:12 +0200 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 C0727AADC for ; Sun, 10 Jul 2022 04:14:11 +0200 (CEST) Received: from localhost ([::1]:50800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAMSZ-0007ps-0z for larch@yhetil.org; Sat, 09 Jul 2022 22:14:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAMRP-0006hs-I7 for help-guix@gnu.org; Sat, 09 Jul 2022 22:13:03 -0400 Received: from mx1.dismail.de ([78.46.223.134]:5482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAMRN-0004hO-AH for help-guix@gnu.org; Sat, 09 Jul 2022 22:12:59 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 1186243e; Sun, 10 Jul 2022 04:12:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date :message-id:from:to:subject:references:mime-version:content-type :content-transfer-encoding; s=20190914; bh=SwFwifsctgT7rMrhu9hAP 98fPB2AkjwgAXr+nN5TqPA=; b=rR26MwOiyP4Upi+CLzarTQc9IHLq6UfZI9IFQ K+Di/7vgIvqnkJgGKSQxalSHhcvZaCOU9PvkUhQ6fwWQKnrWAtEg8XwGArdZZpEt dxYY6v29sar5HB8PY8M//2XTSDx2yyQ8iTaqfUaXzimuHTAp05BDL4+lgMnR/Qpy DCAThTTdBco5Sjnmai4hR1JrmzD4beYbVBaovVY0sqzF4GsMA+4EClVLecVZYIWh eCOlhZK5ffoRkJBrglKYYvEhdpCx5jx3/auN7L4JNGxVbCJ+ltt28gLs5eqZ4/sJ 2vlXQfhWkxMhOOvCMjc1H7o9MOWSKGMZ9BfZMGzDnbeBrg26w== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 47a524a0; Sun, 10 Jul 2022 04:12:53 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 3d16f564; Sun, 10 Jul 2022 04:12:53 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 5a2d92f2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 10 Jul 2022 04:12:52 +0200 (CEST) Date: Sat, 9 Jul 2022 21:12:59 -0500 Message-ID: <20220709211259.GB25347@gac> From: jgart To: Guix Help Subject: How do I verify my hashes? References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657419251; 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: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SwFwifsctgT7rMrhu9hAP98fPB2AkjwgAXr+nN5TqPA=; b=oMG8eEuwYYhWCtd8V95y17ZqnG4pmLAcbX9Q1GqNmq3xkXZwiGi1GYoU9baHOlSKTQY2mM Aa/FbeLspNslgDKG3s4y2JGq6lD7bk9l5qt20iMGKMDuQIM3fK2n+YCu9eMJ+HilvJgONq P+9N/SGKOo2E53CXBBdL8K/QO1biNDyJWLtGkMRjPNV+fFmxCOdXidrOOgLs0ICbzzY10q IwOuEmZVA0RDiQzg10X1kURGr2vhhRkz4NBtKW2w3BdbbUjTZK+1hpL3zANMxRx/OpF4Mu 5Q//5h/3REgo80DE8ZZu/ec7d6NqIJe/M2+ZbUkOPv4dvrZqzT3VL/Pp7EsaQw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657419251; a=rsa-sha256; cv=none; b=Zx3vZ5eV7gOd2jy3qdvb+FDrpqDV5CbFx7DuXMGomrqffqrSqowWQvpprj/Cp9KD3ARgtQ niIQyQp8EOtW8NrnxCtgZxU/RiagfdV6JpupUKfxvdPNRZV2NyUL6pyhVUOHRP8GyPhZhh YABLwsoi6wLUv4pmcchdCKidk//QKzSIY7kHVID/aJMdHP0Ro2obZT3pVXhL8NqD15p6J/ uw8xxyV9GBVUHz/dKKipeBK1Ma8LZ61A9XTsFQCVmioVyvbp70fRv4j6ZXUempWQeA7ypf tBBt2kuWGfa6HmRXCY9dxGO08xSRCokLrE0TqBR8zT5/4dyyrpMM0AqGvvcmTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=rR26MwOi; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=rR26MwOi; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C0727AADC X-Spam-Score: -2.05 X-Migadu-Scanner: scn1.migadu.com X-TUID: MB+NGH9S6SC/ Hi Guixers, Today Bonface mentioned to me that I should be cloning my packages and verifying the hashes with `git hash-object` or `git hash` iirc? Do others do this when packaging? My workflow currently is the lazy way: 1. I change the version in the package definition. 2. build the package 3. package blows up on stdout 4. I retrieve the hash and add it 5. profit! But how can I trust that computed hash? wdyt Am I committing a newbie sin with the above workflow? I know `guix refresh` exists but sometimes it is slowwww (e.g. outdated *.go) I know `make go-clean` exists but sometimes it breaks things in my tree... Should I stop worrying and just `git send-email --to="guix-patches@gnu.org" -1`? all best, jgart