* wireguard-tools-1.0.20210914.tar.xz hash changed
@ 2024-08-21 7:11 Peter Korsgaard
2024-08-26 7:36 ` Peter Korsgaard
2024-08-26 8:35 ` Jason A. Donenfeld
0 siblings, 2 replies; 7+ messages in thread
From: Peter Korsgaard @ 2024-08-21 7:11 UTC (permalink / raw)
To: Jason A. Donenfeld, wireguard
Hi Jason,
Did you recently upgrade xz on git.zx2c4.com? I see that the hash of
wireguard-tools-1.0.20210914.tar.xz changed:
http://autobuild.buildroot.org/results/d63b8f5b14487f6d79c9779bb7fe4829fae0653b/build-end.log
We have a backup of the original file on sources.buildroot.net:
mkdir a b
wget -q -P a https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-1.0.20210914.tar.xz
wget -q -P b https://sources.buildroot.net/wireguard-tools/wireguard-tools-1.0.20210914.tar.xz
sha256sum */*
942ed32d1d6631932c82ff86c91ae8428d4c90bfec231a14ebdf6c29f068e60b a/wireguard-tools-1.0.20210914.tar.xz
97ff31489217bb265b7ae850d3d0f335ab07d2652ba1feec88b734bc96bd05ac b/wireguard-tools-1.0.20210914.tar.xz
The uncompressed tarball is identical:
unxz */*xz
sha256sum */*tar
22d6d0b12ec69be002313a89dbe2c08c07d48c5b93af528189ceab351b3b718d a/wireguard-tools-1.0.20210914.tar
22d6d0b12ec69be002313a89dbe2c08c07d48c5b93af528189ceab351b3b718d b/wireguard-tools-1.0.20210914.tar
It would be great if we could have a bit-identical .tar.xz.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: wireguard-tools-1.0.20210914.tar.xz hash changed
2024-08-21 7:11 wireguard-tools-1.0.20210914.tar.xz hash changed Peter Korsgaard
@ 2024-08-26 7:36 ` Peter Korsgaard
2024-08-26 8:35 ` Jason A. Donenfeld
1 sibling, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2024-08-26 7:36 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: wireguard
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
Hello Jason,
Was this change done on purpose?
> Hi Jason,
> Did you recently upgrade xz on git.zx2c4.com? I see that the hash of
> wireguard-tools-1.0.20210914.tar.xz changed:
> http://autobuild.buildroot.org/results/d63b8f5b14487f6d79c9779bb7fe4829fae0653b/build-end.log
> We have a backup of the original file on sources.buildroot.net:
> mkdir a b
> wget -q -P a
> https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-1.0.20210914.tar.xz
> wget -q -P b https://sources.buildroot.net/wireguard-tools/wireguard-tools-1.0.20210914.tar.xz
> sha256sum */*
> 942ed32d1d6631932c82ff86c91ae8428d4c90bfec231a14ebdf6c29f068e60b
> a/wireguard-tools-1.0.20210914.tar.xz
> 97ff31489217bb265b7ae850d3d0f335ab07d2652ba1feec88b734bc96bd05ac
> b/wireguard-tools-1.0.20210914.tar.xz
> The uncompressed tarball is identical:
> unxz */*xz
> sha256sum */*tar
> 22d6d0b12ec69be002313a89dbe2c08c07d48c5b93af528189ceab351b3b718d
> a/wireguard-tools-1.0.20210914.tar
> 22d6d0b12ec69be002313a89dbe2c08c07d48c5b93af528189ceab351b3b718d
> b/wireguard-tools-1.0.20210914.tar
> It would be great if we could have a bit-identical .tar.xz.
> --
> Bye, Peter Korsgaard
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: wireguard-tools-1.0.20210914.tar.xz hash changed
2024-08-21 7:11 wireguard-tools-1.0.20210914.tar.xz hash changed Peter Korsgaard
2024-08-26 7:36 ` Peter Korsgaard
@ 2024-08-26 8:35 ` Jason A. Donenfeld
2024-08-26 9:02 ` Peter Korsgaard
1 sibling, 1 reply; 7+ messages in thread
From: Jason A. Donenfeld @ 2024-08-26 8:35 UTC (permalink / raw)
To: Peter Korsgaard; +Cc: wireguard
On Wed, Aug 21, 2024 at 9:11 AM Peter Korsgaard <peter@korsgaard.com> wrote:
>
> Hi Jason,
>
> Did you recently upgrade xz on git.zx2c4.com? I see that the hash of
> wireguard-tools-1.0.20210914.tar.xz changed:
>
> http://autobuild.buildroot.org/results/d63b8f5b14487f6d79c9779bb7fe4829fae0653b/build-end.log
>
> We have a backup of the original file on sources.buildroot.net:
>
> mkdir a b
> wget -q -P a https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-1.0.20210914.tar.xz
> wget -q -P b https://sources.buildroot.net/wireguard-tools/wireguard-tools-1.0.20210914.tar.xz
>
> sha256sum */*
> 942ed32d1d6631932c82ff86c91ae8428d4c90bfec231a14ebdf6c29f068e60b a/wireguard-tools-1.0.20210914.tar.xz
> 97ff31489217bb265b7ae850d3d0f335ab07d2652ba1feec88b734bc96bd05ac b/wireguard-tools-1.0.20210914.tar.xz
>
> The uncompressed tarball is identical:
>
> unxz */*xz
> sha256sum */*tar
> 22d6d0b12ec69be002313a89dbe2c08c07d48c5b93af528189ceab351b3b718d a/wireguard-tools-1.0.20210914.tar
> 22d6d0b12ec69be002313a89dbe2c08c07d48c5b93af528189ceab351b3b718d b/wireguard-tools-1.0.20210914.tar
>
> It would be great if we could have a bit-identical .tar.xz.
I updated xz on the system. Bah, that's annoying.
I've downgraded it now and the hash should check out. But this issue
is sure to come up again in the future....
Jason
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: wireguard-tools-1.0.20210914.tar.xz hash changed
2024-08-26 8:35 ` Jason A. Donenfeld
@ 2024-08-26 9:02 ` Peter Korsgaard
2024-08-26 9:04 ` Jason A. Donenfeld
0 siblings, 1 reply; 7+ messages in thread
From: Peter Korsgaard @ 2024-08-26 9:02 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: wireguard
>>>>> "Jason" == Jason A Donenfeld <Jason@zx2c4.com> writes:
Hi Jason,
>> It would be great if we could have a bit-identical .tar.xz.
> I updated xz on the system. Bah, that's annoying.
> I've downgraded it now and the hash should check out. But this issue
> is sure to come up again in the future....
Thanks! I've verified that it is indeed correct again. Out of interest,
what xz versions were this about exactly?
For Buildroot I will have a look at moving these autogenerated /
snapshot downloads to the .tar.gz variant that is probably more stable
over versions.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: wireguard-tools-1.0.20210914.tar.xz hash changed
2024-08-26 9:02 ` Peter Korsgaard
@ 2024-08-26 9:04 ` Jason A. Donenfeld
2024-08-26 9:14 ` Peter Korsgaard
2024-08-26 9:19 ` Kim Nilsson
0 siblings, 2 replies; 7+ messages in thread
From: Jason A. Donenfeld @ 2024-08-26 9:04 UTC (permalink / raw)
To: Peter Korsgaard; +Cc: wireguard
On Mon, Aug 26, 2024 at 11:02 AM Peter Korsgaard <peter@korsgaard.com> wrote:
>
> >>>>> "Jason" == Jason A Donenfeld <Jason@zx2c4.com> writes:
>
> Hi Jason,
>
> >> It would be great if we could have a bit-identical .tar.xz.
>
> > I updated xz on the system. Bah, that's annoying.
>
> > I've downgraded it now and the hash should check out. But this issue
> > is sure to come up again in the future....
>
> Thanks! I've verified that it is indeed correct again. Out of interest,
> what xz versions were this about exactly?
I downgraded from the latest one to the one that existed before Jia
Tan appeared.
> For Buildroot I will have a look at moving these autogenerated /
> snapshot downloads to the .tar.gz variant that is probably more stable
> over versions.
Long term I intend to move everything over to .zst, I think.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: wireguard-tools-1.0.20210914.tar.xz hash changed
2024-08-26 9:04 ` Jason A. Donenfeld
@ 2024-08-26 9:14 ` Peter Korsgaard
2024-08-26 9:19 ` Kim Nilsson
1 sibling, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2024-08-26 9:14 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: wireguard
>>>>> "Jason" == Jason A Donenfeld <Jason@zx2c4.com> writes:
Hi,
>> For Buildroot I will have a look at moving these autogenerated /
>> snapshot downloads to the .tar.gz variant that is probably more stable
>> over versions.
> Long term I intend to move everything over to .zst, I think.
OK. Do you have reasons to expect .zst output to be bit identical
between versions? It presumably means that the compression ratio can not
improve over time, hence my suggestion for a legacy format like .gz.
The trigger for all of this is the on the fly snapshot generation from
cgit. How about archiving the snapshot tarballs somewhere permanent
instead?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: wireguard-tools-1.0.20210914.tar.xz hash changed
2024-08-26 9:04 ` Jason A. Donenfeld
2024-08-26 9:14 ` Peter Korsgaard
@ 2024-08-26 9:19 ` Kim Nilsson
1 sibling, 0 replies; 7+ messages in thread
From: Kim Nilsson @ 2024-08-26 9:19 UTC (permalink / raw)
To: wireguard
Hi,
FWIW I did a manual byte-for-byte comparison between the two files last
week and the change is that the newer version adds two more headers; one
for compressed file size, and one for uncompressed file size. The values
encoded therein are correct as well. As per the xz specification they
are included to aid decompression software.
Regards,
Kim Nilsson
On 8/26/24 11:04 AM, Jason A. Donenfeld wrote:
> On Mon, Aug 26, 2024 at 11:02 AM Peter Korsgaard <peter@korsgaard.com> wrote:
>>>>>>> "Jason" == Jason A Donenfeld <Jason@zx2c4.com> writes:
>> Hi Jason,
>>
>> >> It would be great if we could have a bit-identical .tar.xz.
>>
>> > I updated xz on the system. Bah, that's annoying.
>>
>> > I've downgraded it now and the hash should check out. But this issue
>> > is sure to come up again in the future....
>>
>> Thanks! I've verified that it is indeed correct again. Out of interest,
>> what xz versions were this about exactly?
> I downgraded from the latest one to the one that existed before Jia
> Tan appeared.
>
>> For Buildroot I will have a look at moving these autogenerated /
>> snapshot downloads to the .tar.gz variant that is probably more stable
>> over versions.
> Long term I intend to move everything over to .zst, I think.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-08-26 9:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-21 7:11 wireguard-tools-1.0.20210914.tar.xz hash changed Peter Korsgaard
2024-08-26 7:36 ` Peter Korsgaard
2024-08-26 8:35 ` Jason A. Donenfeld
2024-08-26 9:02 ` Peter Korsgaard
2024-08-26 9:04 ` Jason A. Donenfeld
2024-08-26 9:14 ` Peter Korsgaard
2024-08-26 9:19 ` Kim Nilsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).