GNU bug report logs - #26263
sha256sum does not correctly parse file with PGP message header (coreutils 8.26)

Previous Next

Package: coreutils;

Reported by: Toby Kelsey <toby.kelsey <at> gmail.com>

Date: Sun, 26 Mar 2017 10:20:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 26263-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Toby Kelsey <toby.kelsey <at> gmail.com>, 26263-done <at> debbugs.gnu.org
Subject: Re: bug#26263: sha256sum does not correctly parse file with PGP
 message header (coreutils 8.26)
Date: Sun, 26 Mar 2017 17:13:56 -0700
[Message part 1 (text/plain, inline)]
On 26/03/17 03:09, Toby Kelsey wrote:
> I notice sha256sum does not correctly parse a file with a PGP header. Here is a script log:

> toby <at> toby-pc:/tmp/test$ sha256sum -c hashes.txt
> 
> sha256sum: ' monero-win-x64-v0.10.3.0.zip': No such file or directory
>   monero-win-x64-v0.10.3.0.zip: FAILED open or read

> There is a spurious extra space at the start of filenames in the larger file.
> If I just extract the hash lines it works:

> The hash file is from <https://getmonero.org/downloads/hashes.txt>

The attached should fix this issue.

thanks,
Pádraig

[md5sum-bad-bsd-r.patch (text/x-patch, attachment)]

This bug report was last modified 8 years and 62 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.