GNU bug report logs - #31493
please add null-terminated line output for sha256sum, sha1sum, etc

Previous Next

Package: coreutils;

Reported by: Daniel Kahn Gillmor <dkg <at> fifthhorseman.net>

Date: Fri, 18 May 2018 14:50:01 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daniel Kahn Gillmor <dkg <at> fifthhorseman.net>
To: Pádraig Brady <P <at> draigBrady.com>, 31493 <at> debbugs.gnu.org
Subject: bug#31493: please add null-terminated line output for sha256sum, sha1sum, etc
Date: Mon, 11 Jun 2018 16:17:35 -0400
On Sun 2018-06-10 18:02:02 -0700, Pádraig Brady wrote:
> I used --zero rather than --zero-terminated like other tools that
> only change _output_ format with -z, rather than supporting it also
> as an _input_ format. It would complicate the processing to support
> --check of input with --zero, with no added functionality.
> Having --check support this format, would also an incompat with
> older versions of these tools.

this looks like a fine first step to me, and i hope it will be merged.
thanks for working on it, Pádraig!

I'm not convinced yet that adding --zero for the --check functionality
is a guaranteed incompatibility.  Clearly the same flags would need to
be used on both sides, but i don't see why having it available in
--check would be a problem.

        --dkg




This bug report was last modified 6 years and 209 days ago.

Previous Next


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