Pádraig Brady
772173a832
cksum: support digest detection for tagged format
...
Support `cksum --check FILE` without having to specify a digest
algorithm, allowing for more generic file check instructions.
This also supports mixed digest checksum files, supporting
more robust multi digest checks.
* src/digest.c (algorithm_from_tag): A new function to
identify the digest algorithm from a tagged format line.
(split3): Set the algorithm depending on tag, and update
the expected digest length accordingly.
* tests/misc/cksum-c.sh: Add a new test.
* tests/local.mk: Reference the new test.
* tests/misc/md5sum.pl: Adjust to more generic error.
* tests/misc/sha1sum.pl: Likewise.
* doc/coreutils.texi (md5sum invocation): Mention the new -c feature.
* NEWS: Mention the new feature.
2021-09-15 20:44:18 +01:00
..
2021-01-01 16:36:09 +00:00
2021-09-15 20:44:16 +01:00
2021-08-27 17:12:27 -07:00
2021-01-01 16:36:09 +00:00
2021-08-29 22:06:32 -06:00
2021-01-01 16:36:09 +00:00
2021-08-08 00:09:38 +01:00
2021-02-10 14:17:26 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-09-15 20:44:16 +01:00
2021-09-15 20:44:18 +01:00
2021-03-15 12:44:22 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-03-29 15:48:39 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-26 09:24:41 -08:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-08-30 17:02:06 -07:00
2021-01-01 16:36:09 +00:00
2021-09-05 12:10:41 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-09-15 20:44:18 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-09-15 20:44:18 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-09-15 20:44:18 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-06-21 12:01:04 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-08-31 11:33:26 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-09-09 21:35:52 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00