From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 44D581382C5 for ; Thu, 24 Dec 2020 18:54:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53DBBE0DC9; Thu, 24 Dec 2020 18:54:29 +0000 (UTC) Received: from km35626.keymachine.de (text-idiomas.com [87.118.86.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C61AAE0CBC for ; Thu, 24 Dec 2020 18:54:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by km35626.keymachine.de (Postfix) with ESMTP id 3B6BF11353FD for ; Thu, 24 Dec 2020 19:54:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at km35626.keymachine.de. Received: from km35626.keymachine.de ([127.0.0.1]) by localhost (km35626.keymachine.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y-SAp+hX9Cbh for ; Thu, 24 Dec 2020 19:54:25 +0100 (CET) Received: from grusum.endjinn.de (254-175-142-46.pool.kielnet.net [46.142.175.254]) by km35626.keymachine.de (Postfix) with ESMTPSA id 062E91135160 for ; Thu, 24 Dec 2020 19:54:25 +0100 (CET) Received: by grusum.endjinn.de (Postfix, from userid 500) id 633DF1703A6; Thu, 24 Dec 2020 13:36:06 +0100 (CET) Date: Thu, 24 Dec 2020 13:36:32 +0100 From: David Haller To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ISO verification question. Message-ID: <20201224123632.xgwp4girxyeypfws@grusum.endjinn.de> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <1682737.VLH7GnMWUR@lenovo.localdomain> <46934be0-5242-1d82-db50-1567bf225984@88.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <46934be0-5242-1d82-db50-1567bf225984@88.com> Organization: Nah, not today! X-Clacks-Overhead: GNU Terry Pratchett User-Agent: NeoMutt/20170609 (1.8.3) X-Archives-Salt: 91c79448-a545-4cf4-b0b4-bec74d9c4379 X-Archives-Hash: 9622d19d11032128d4ec18cf149a981d Hello, On Thu, 24 Dec 2020, bobwxc wrote: >With the cryptographic signature validated, next verify the checksum to make >sure the downloaded ISO file is not corrupted. The.DIGESTS.ascfile contains >multiple hashing algorithms, so one of the methods to validate the right one >is to first look at the checksum registered in the.DIGESTS.ascfile. For >instance, to get the SHA512 checksum: > >|user $||grep -A 1 -i sha512 install-amd64-minimal-20141204.iso.DIGESTS.asc| [..] >As both checksums match, the file is not corrupted and the installation can >continue. It's easier not to compare manually: $ grep -A1 SHA512 install-....iso.DIGESTS | sha512sum -c - Analog for whirlpool: $ grep -A1 WHIRLPOOL install-....iso.DIGESTS | whirlpool-hash -c - HTH, -dnh -- To resist the influence of others, knowledge of one's self is most important. -- Teal'C, Stargate SG-1, 9x14 - Stronghold