1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00

announce-gen: Fix instructions for verifying the SHA3-256 checksums.

* build-aux/announce-gen (print_checksums): Use quotes. Fix cksum
invocation for hex SHA3-256 checksum.
This commit is contained in:
Bruno Haible
2026-01-09 11:54:12 +01:00
parent 35c50231e8
commit c27ceb6815
2 changed files with 10 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2026-01-09 Bruno Haible <bruno@clisp.org>
announce-gen: Fix instructions for verifying the SHA3-256 checksums.
* build-aux/announce-gen (print_checksums): Use quotes. Fix cksum
invocation for hex SHA3-256 checksum.
2026-01-09 Bruno Haible <bruno@clisp.org>
doc: Improvements for gnulib git bundle.

View File

@@ -202,9 +202,9 @@ sub print_checksums ($@)
print ' ', digest_file_base64_wrap ($f, "SHA-256"), "\n";
print ' ', digest_file_base64_wrap ($f, "SHA3-256"), "\n";
}
print "\nVerify the base64 SHA256 checksum with cksum -a sha256 --check\n";
print "\nVerify the base64 SHA256 checksum with 'cksum -a sha256 --check'\n";
print "from coreutils-9.2 or OpenBSD's cksum since 2007.\n";
print "\nVerify the base64 SHA3-256 checksum with cksum -a sha3 --check\n";
print "\nVerify the base64 SHA3-256 checksum with 'cksum -a sha3 --check'\n";
print "from coreutils-9.8.\n\n";
}
else
@@ -217,8 +217,8 @@ sub print_checksums ($@)
print "\n";
}
print "Verify the SHA256 checksum with either sha256sum, sha256, or\n";
print "shasum -a 256.\n";
print "\nVerify the SHA3-256 checksum with cksum -a sha3 --check\n";
print "'shasum -a 256'.\n";
print "\nVerify the SHA3-256 checksum with 'cksum -a sha3 -l 256 --base64'\n";
print "from coreutils-9.8.\n\n";
}
}