Re: Add BLAKE3 hash to ISO checksums
- In reply to: Warner Losh : "Re: Add BLAKE3 hash to ISO checksums"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Dec 2022 21:02:21 UTC
Added 2022-05-26 03:54:06 : https://www.freshports.org/sysutils/b3sum Yonas On 2022-12-06 10:42 a.m., Warner Losh wrote: > > > On Mon, Dec 5, 2022 at 9:27 PM Yonas Yanfa <yonas.yanfa@gmail.com> wrote: > > Hi, > > Can we please add BLAKE3 hashes to > https://www.freebsd.org/releases/13.1R/signatures ? > > On first run, BLAKE3 runs at the same speed as SHA-512. On my system, > the second run is 17x faster. > > I recommend using https://crates.io/crates/b3sum > > > At the very least, we'd need a b3sum port to integrate this into the > release building work flow. > > Warner > > > > $ for hash in b3sum sha256sum sha512sum ; time $hash > FreeBSD-13.1-RELEASE-amd64-disc1.iso ; end > 5240012f644cd660f6570823b5fb0090b0cf0b269b1c1e0563c98af26ed2becd > FreeBSD-13.1-RELEASE-amd64-disc1.iso > > ________________________________________________________ > Executed in 5.05 secs fish external > usr time 834.12 millis 4.53 millis 829.58 millis > sys time 666.34 millis 0.44 millis 665.90 millis > > 697d81653fa246b921ddfcf1d15562c55249cc727b11fa3e47f470e2cf2b6a40 > FreeBSD-13.1-RELEASE-amd64-disc1.iso > > ________________________________________________________ > Executed in 7.46 secs fish external > usr time 7.13 secs 287.00 micros 7.13 secs > sys time 0.31 secs 146.00 micros 0.31 secs > > 259e034731c1493740a5a9f2933716c479746360f570312ea44ed9b7b59ed9131284c5f9fe8db13f8f4e10f312033db1447ff2900d65bfefbf5cfb3e3b630ba2 > > FreeBSD-13.1-RELEASE-amd64-disc1.iso > > ________________________________________________________ > Executed in 4.84 secs fish external > usr time 4.61 secs 274.00 micros 4.61 secs > sys time 0.18 secs 140.00 micros 0.18 secs > > $ for hash in b3sum sha256sum sha512sum ; time $hash > FreeBSD-13.1-RELEASE-amd64-disc1.iso ; end > 5240012f644cd660f6570823b5fb0090b0cf0b269b1c1e0563c98af26ed2becd > FreeBSD-13.1-RELEASE-amd64-disc1.iso > > ________________________________________________________ > Executed in 280.16 millis fish external > usr time 852.65 millis 316.00 micros 852.34 millis > sys time 86.98 millis 166.00 micros 86.81 millis > > 697d81653fa246b921ddfcf1d15562c55249cc727b11fa3e47f470e2cf2b6a40 > FreeBSD-13.1-RELEASE-amd64-disc1.iso > > ________________________________________________________ > Executed in 7.39 secs fish external > usr time 7.17 secs 343.00 micros 7.17 secs > sys time 0.21 secs 181.00 micros 0.21 secs > > 259e034731c1493740a5a9f2933716c479746360f570312ea44ed9b7b59ed9131284c5f9fe8db13f8f4e10f312033db1447ff2900d65bfefbf5cfb3e3b630ba2 > > FreeBSD-13.1-RELEASE-amd64-disc1.iso > > ________________________________________________________ > Executed in 4.84 secs fish external > usr time 4.57 secs 363.00 micros 4.57 secs > sys time 0.23 secs 192.00 micros 0.23 secs > > > Cheers, > Yonas > >