From owner-freebsd-doc@freebsd.org Tue Apr 5 17:32:11 2016 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 949A1B03E66 for ; Tue, 5 Apr 2016 17:32:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 84B7D1BE0 for ; Tue, 5 Apr 2016 17:32:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u35HWB1M009927 for ; Tue, 5 Apr 2016 17:32:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 208542] Signature file contains incorrect hash type description Date: Tue, 05 Apr 2016 17:32:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Website X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bjk@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2016 17:32:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208542 Benjamin Kaduk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bjk@FreeBSD.org Resolution|--- |Not A Bug Status|New |Closed --- Comment #1 from Benjamin Kaduk --- That is the hash used in the PGP signature process; it is unrelated to the = hash used to generate the content that is being signed. That is, there is a file that you want to authenticate (the .iso image or similar); call that file "large". The signature file is generated by compu= ting SHA256(large) and storing to another file; call it "CHECKSUM". Then, gnupg= is used to sign the file CHECKSUM, producing a file with the content and a signature over the other content, call it "CHECKSUM.asc". CHECKSUM.asc contains some metadata describing the way in which the PGP signature was generated. That is a different step than performing sha256(large). You should be able to "gpg --verify CHECKSUM.SHA256-FreeBSD-10.3-RELEASE-amd64.asc" (if you have the appropriate key in your keyring) to verify the GPG signature, and then compare the SHA256sum contained in the file you verified against the SHA256sum of the f= ile you downloaded. --=20 You are receiving this mail because: You are the assignee for the bug.=