Date: Tue, 6 Dec 2022 16:02:21 -0500 From: Yonas Yanfa <yonas.yanfa@gmail.com> To: Warner Losh <imp@bsdimp.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Add BLAKE3 hash to ISO checksums Message-ID: <bfe3b518-6c00-c4fa-f6b1-282095b35fbd@gmail.com> In-Reply-To: <CANCZdfpxa9_Twauy5G03vMbaEpZrL8MTOoFG1zT%2Bg1KMZh_52Q@mail.gmail.com> References: <6d973f68-7904-5c23-6c6b-73a76e0a4ef5@gmail.com> <CANCZdfpxa9_Twauy5G03vMbaEpZrL8MTOoFG1zT%2Bg1KMZh_52Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------pYeTV4ifdYtZo0O5X2FpBrJE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 > > --------------pYeTV4ifdYtZo0O5X2FpBrJE Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <p>Added 2022-05-26 03:54:06 : <a class="moz-txt-link-freetext" href="https://www.freshports.org/sysutils/b3sum">https://www.freshports.org/sysutils/b3sum</a> <br> </p> <p>Yonas</p> <p><br> </p> <div class="moz-cite-prefix">On 2022-12-06 10:42 a.m., Warner Losh wrote:<br> </div> <blockquote type="cite" cite="mid:CANCZdfpxa9_Twauy5G03vMbaEpZrL8MTOoFG1zT+g1KMZh_52Q@mail.gmail.com"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <div dir="ltr"> <div dir="ltr"><br> </div> <br> <div class="gmail_quote"> <div dir="ltr" class="gmail_attr">On Mon, Dec 5, 2022 at 9:27 PM Yonas Yanfa <<a href="mailto:yonas.yanfa@gmail.com" moz-do-not-send="true" class="moz-txt-link-freetext">yonas.yanfa@gmail.com</a>> wrote:<br> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br> <br> Can we please add BLAKE3 hashes to <br> <a href="https://www.freebsd.org/releases/13.1R/signatures" rel="noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://www.freebsd.org/releases/13.1R/signatures</a> ?<br> <br> On first run, BLAKE3 runs at the same speed as SHA-512. On my system, <br> the second run is 17x faster.<br> <br> I recommend using <a href="https://crates.io/crates/b3sum" rel="noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://crates.io/crates/b3sum</a></blockquote> <div><br> </div> <div>At the very least, we'd need a b3sum port to integrate this into the release building work flow.</div> <div><br> </div> <div>Warner</div> <div> </div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br> <br> $ for hash in b3sum sha256sum sha512sum ; time $hash <br> FreeBSD-13.1-RELEASE-amd64-disc1.iso ; end<br> 5240012f644cd660f6570823b5fb0090b0cf0b269b1c1e0563c98af26ed2becd <br> FreeBSD-13.1-RELEASE-amd64-disc1.iso<br> <br> ________________________________________________________<br> Executed in 5.05 secs fish external<br> usr time 834.12 millis 4.53 millis 829.58 millis<br> sys time 666.34 millis 0.44 millis 665.90 millis<br> <br> 697d81653fa246b921ddfcf1d15562c55249cc727b11fa3e47f470e2cf2b6a40 <br> FreeBSD-13.1-RELEASE-amd64-disc1.iso<br> <br> ________________________________________________________<br> Executed in 7.46 secs fish external<br> usr time 7.13 secs 287.00 micros 7.13 secs<br> sys time 0.31 secs 146.00 micros 0.31 secs<br> <br> 259e034731c1493740a5a9f2933716c479746360f570312ea44ed9b7b59ed9131284c5f9fe8db13f8f4e10f312033db1447ff2900d65bfefbf5cfb3e3b630ba2 <br> FreeBSD-13.1-RELEASE-amd64-disc1.iso<br> <br> ________________________________________________________<br> Executed in 4.84 secs fish external<br> usr time 4.61 secs 274.00 micros 4.61 secs<br> sys time 0.18 secs 140.00 micros 0.18 secs<br> <br> $ for hash in b3sum sha256sum sha512sum ; time $hash <br> FreeBSD-13.1-RELEASE-amd64-disc1.iso ; end<br> 5240012f644cd660f6570823b5fb0090b0cf0b269b1c1e0563c98af26ed2becd <br> FreeBSD-13.1-RELEASE-amd64-disc1.iso<br> <br> ________________________________________________________<br> Executed in 280.16 millis fish external<br> usr time 852.65 millis 316.00 micros 852.34 millis<br> sys time 86.98 millis 166.00 micros 86.81 millis<br> <br> 697d81653fa246b921ddfcf1d15562c55249cc727b11fa3e47f470e2cf2b6a40 <br> FreeBSD-13.1-RELEASE-amd64-disc1.iso<br> <br> ________________________________________________________<br> Executed in 7.39 secs fish external<br> usr time 7.17 secs 343.00 micros 7.17 secs<br> sys time 0.21 secs 181.00 micros 0.21 secs<br> <br> 259e034731c1493740a5a9f2933716c479746360f570312ea44ed9b7b59ed9131284c5f9fe8db13f8f4e10f312033db1447ff2900d65bfefbf5cfb3e3b630ba2 <br> FreeBSD-13.1-RELEASE-amd64-disc1.iso<br> <br> ________________________________________________________<br> Executed in 4.84 secs fish external<br> usr time 4.57 secs 363.00 micros 4.57 secs<br> sys time 0.23 secs 192.00 micros 0.23 secs<br> <br> <br> Cheers,<br> Yonas<br> <br> <br> </blockquote> </div> </div> </blockquote> </body> </html> --------------pYeTV4ifdYtZo0O5X2FpBrJE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bfe3b518-6c00-c4fa-f6b1-282095b35fbd>