bug#25999: SHA1SUM: please switch to sha1dc to warn of attempted hash collision attacks

2022-05-09 Thread Pádraig Brady

On 08/05/2022 21:19, Christoph Anton Mitterer wrote:

Hey.

Is this still being considered?


Yes it still does make sense,
especially as sha1 becomes less popular over time,
in which case the extra processing would matter less.

thanks,
Pádraig






bug#55325: (sha|md5)*sum on UNIX should default to binary mode

2022-05-09 Thread Pádraig Brady

tag 55325 wontfix
close 55325
stop

On 08/05/2022 21:18, Christoph Anton Mitterer wrote:

Hey.

Since on UNIX/Linux it is effectively always binary mode, shouldn't the
(sha|md5)*sum tools default to that, and especially also generate
output with the "*" flag set?


Well they do default to binary mode,
but don't use an explicit flag on UNIX systems
(unless -b is specified).

For compatibility reasons we can't really change thing now,
but note the newer `cksum -a ...` interface which uses
a different format without binary tag.

thanks,
Pádraig