-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
--debug is missing and some other flags are handled differently or even inconsistently.
Choosing --algorithm sha2 is invalid and replaced by the more clear sha224, sha256, ...
but sha3 is not even listed in the help output and choosing it (or shake128 or shake256) gives the error message:
--bits required for SHA3 even though the GNU counterpart uses --length (inconsistently I know) and the --bits option doesn't even exist (even though there is code to support it such as uucore::features::checksum::create_sha3).
As far as I know these Issues were not reported / discussed before and the --bits flag being missing seems like an oversight.
(This causes gnu/tests/cksum/cksum to fail due to --debug failing and gnu/tests/cksum/cksum-raw failing due to the difference in algorithm handling)