coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please, use --check=crc32 or switch to a safe format


From: Pádraig Brady
Subject: Re: Please, use --check=crc32 or switch to a safe format
Date: Sat, 25 Mar 2017 15:07:17 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 25/03/17 06:26, Ariel Santana Naranjo wrote:
> Dear maintainers,
> 
> I have made an unsettling discovery:
> http://www.nongnu.org/lzip/lzip_benchmark.html#busybox
> "error detection in the xz format is silently broken."
> 
> If this is true (and it might be, because it provides a reproducer), why
> is such a central project as GNU Coreutils being distributed in xz
> format only? Shouldn't Coreutils switch to a safe-by-default compressed
> format, as the above link suggests?

This request is a little light on info.
Looking for a few mins I see these checks are currently in place:

 - The compressed data is checked with gpg
 - xz headers are always checksummed with crc32
 - xz uncompressed data is checksummed with crc64 by default

Your proposal is to specify --check=crc32 when compressing
to support checks with busybox unxz.

This seems fair enough, but would also probably hit
the pristine-tar issue mentioned in this thread:
https://lists.gnu.org/archive/html/coreutils/2017-01/msg00014.html

cheers,
Pádraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]