OpenBSD CVS

CVS log for src/bin/md5/cksum.1


[BACK] Up to [local] / src / bin / md5

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.42 / (download) - annotate - [select for diffs], Tue Oct 31 20:42:14 2023 UTC (7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.41: +18 -8 lines
Diff to previous 1.41 (colored)

cksum: better describe the -c (checklist) option

The -c option can handle entries in normal (BSD) and reverse (GNU)
format.  Both hex and base64 entries are supported.  OK jmc@

Revision 1.41 / (download) - annotate - [select for diffs], Fri Aug 18 14:10:33 2023 UTC (9 months, 2 weeks ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.40: +6 -6 lines
Diff to previous 1.40 (colored)

use imperative tense consistently;  OK jmc

Revision 1.40 / (download) - annotate - [select for diffs], Thu Aug 4 06:20:24 2022 UTC (21 months, 4 weeks ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

change some 4.4BSD references to earlier releases
ok schwarze@

Revision 1.39 / (download) - annotate - [select for diffs], Sat Sep 3 17:01:01 2016 UTC (7 years, 9 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

add sha512/256 support to check that the libc code is right :)

Revision 1.38 / (download) - annotate - [select for diffs], Thu Mar 20 22:06:21 2014 UTC (10 years, 2 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.37: +1 -9 lines
Diff to previous 1.37 (colored)

missed a turd

Revision 1.37 / (download) - annotate - [select for diffs], Thu Mar 20 22:03:56 2014 UTC (10 years, 2 months ago) by tedu
Branch: MAIN
Changes since 1.36: +9 -107 lines
Diff to previous 1.36 (colored)

purge sum and sysvsum code. ok deraadt jmc lteo millert
a few initial leftovers spotted by naddy

Revision 1.36 / (download) - annotate - [select for diffs], Thu Mar 20 20:32:42 2014 UTC (10 years, 2 months ago) by naddy
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

remove insecure MD4 checksum algorithm; ok tedu@, man page ok jmc@

"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."

Revision 1.35 / (download) - annotate - [select for diffs], Mon Mar 17 14:21:08 2014 UTC (10 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.34: +3 -8 lines
Diff to previous 1.34 (colored)

use Ex;

Revision 1.34 / (download) - annotate - [select for diffs], Fri Mar 7 04:10:55 2014 UTC (10 years, 2 months ago) by lteo
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

When using the -C option, exit with an exit status of 1 if any of the
files specified on the command line do not exist in the checklist.

ok deraadt@ tedu@

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jan 30 05:12:29 2014 UTC (10 years, 4 months ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Add MISSING to the list of possible results of a checklist comparison
(md5.1 already has this).

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jan 24 23:18:34 2014 UTC (10 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

bump the year for ISO/IEC 8802:3 from 1989 to 1996;
ingo recommends not defining a new St macro for every revision here

ok sobrado schwarze

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jan 20 21:27:39 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.30: +10 -39 lines
Diff to previous 1.30 (colored)

Do not use .Ar for fixed strings, it is intended for argument placeholders.
We could switch to .Cm, but jmc@ thinks that just removing the markup
from the algorith names is better in this case.  Otherwise, the
total amount of markup could be considered excessive.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jan 20 21:10:05 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

The strings "1" and "2" are not placeholders for arguments,
but have to be given verbatim on the command line, so use .Cm.
Found while testing mandocdb(8), ok jmc@.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 15 16:07:27 2014 UTC (10 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.28: +14 -2 lines
Diff to previous 1.28 (colored)

add -C to the man page, and adjust usage();
ok lteo

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jan 10 20:14:08 2014 UTC (10 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.27: +10 -12 lines
Diff to previous 1.27 (colored)

catch up to the fact that md5/sha* got merged, and document -c consistently;
some style and cleanup tweaks while here

ok deraadt

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jan 8 16:12:44 2014 UTC (10 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.26: +8 -8 lines
Diff to previous 1.26 (colored)

sort options;

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jan 8 14:15:54 2014 UTC (10 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.25: +8 -2 lines
Diff to previous 1.25 (colored)

Add support for -h hashfile.  This is very useful with with -p, in a pipeline,
to deliver the hash output to a different location.
ok millert

Revision 1.25 / (download) - annotate - [select for diffs], Sun Dec 29 21:19:11 2013 UTC (10 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored)

update sha256(1) to better reflect that it documents sha512 now too.
that led me to whack some unneccessary mark up and quoting (and phrasing),
and the changes to the other pages are really just to unify the newer
text layout;

tedu provided feedback and answers (thanks);

Revision 1.24 / (download) - annotate - [select for diffs], Mon Apr 15 15:54:17 2013 UTC (11 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

SHA-224 is to SHA-256 as SHA-384 is to SHA-512.  It was added in a
later revision of FIPS-180.  OK miod@ jmc@ guenther@ djm@

Revision 1.23 / (download) - annotate - [select for diffs], Sun Nov 7 08:05:55 2010 UTC (13 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

more EXIT STATUS bits; from Daniel Dickman

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jul 12 23:16:55 2010 UTC (13 years, 10 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

replace rmd160 links with sha256.  it's way more popular and more better, too.
too many oks to enumerate.
while here, add Xr to the relevant libc functions in each page.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Mar 26 19:30:40 2010 UTC (14 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

dispense with some wacky escape sequences;

Revision 1.20 / (download) - annotate - [select for diffs], Sun Aug 16 09:41:08 2009 UTC (14 years, 9 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

replace ".Ar file ..." with ".Ar" whenever possible.

ok jmc@

Revision 1.19 / (download) - annotate - [select for diffs], Sun Feb 8 17:15:09 2009 UTC (15 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jul 29 18:24:31 2008 UTC (15 years, 10 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.17: +7 -2 lines
Diff to previous 1.17 (colored)

md5(1), sha1(1), rmd160(1), cksum(1) and sum(1) have different options;
while here, some KNF improvements.

based on a diff for compress(1) written by millert@,
fixes from guenther@ and pyr@.

ok millert@, pyr@; (for the manual page tweaks) jmc@

Revision 1.17 / (download) - annotate - [select for diffs], Thu May 31 19:19:15 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

convert to new .Dd format;

Revision 1.16 / (download) - annotate - [select for diffs], Wed May 30 06:45:55 2007 UTC (17 years ago) by jmc
Branch: MAIN
Changes since 1.15: +5 -3 lines
Diff to previous 1.15 (colored)

some i missed...
- consistent text for STANDARDS
- note which options are extensions to POSIX

Revision 1.15 / (download) - annotate - [select for diffs], Fri Apr 13 13:57:01 2007 UTC (17 years, 1 month ago) by tedu
Branch: MAIN
Changes since 1.14: +5 -1 lines
Diff to previous 1.14 (colored)

allow multiple -t to increase the test count.  cpus are getting too fast.
ok grunk. with manpage from grunk and jmc

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 27 13:12:41 2007 UTC (17 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.13: +34 -3 lines
Diff to previous 1.13 (colored)

Add base64 support to cksum and friends.  Output encoding can
be set globally or on a per-algorithm basis when using multiple
hash functions.  OK espie@ simon@ deraadt@; man help from jmc@

Revision 1.13 / (download) - annotate - [select for diffs], Tue Mar 20 12:06:48 2007 UTC (17 years, 2 months ago) by thib
Branch: MAIN
Changes since 1.12: +4 -2 lines
Diff to previous 1.12 (colored)

augment the -q option, now if specifed with -c (checklist)
it will only print out the failed cases.

OK millert@

Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 27 21:41:58 2007 UTC (17 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.11: +5 -4 lines
Diff to previous 1.11 (colored)

Add md5 to the list of unsecure checksums.  Adapted from a diff by
Tamas TEVESZ.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Nov 19 17:09:15 2006 UTC (17 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

WARNING/BUGS -> CAVEATS; ok millert

Revision 1.10 / (download) - annotate - [select for diffs], Fri Nov 17 21:19:12 2006 UTC (17 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

`<' -> \*(Lt

Revision 1.9 / (download) - annotate - [select for diffs], Fri Nov 17 21:16:54 2006 UTC (17 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.8: +11 -24 lines
Diff to previous 1.8 (colored)

discourage .Tn;

Revision 1.8 / (download) - annotate - [select for diffs], Fri Nov 17 21:13:16 2006 UTC (17 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

.Ex these pages; ok millert

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 17 16:02:18 2006 UTC (17 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.6: +8 -11 lines
Diff to previous 1.6 (colored)

simplify synopsis and usage(); ok millert

Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 16 23:53:41 2006 UTC (17 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.5: +7 -1 lines
Diff to previous 1.5 (colored)

Add -r and -q options similar to what is supported by FreeBSD's md5
OK deraadt@ ckuethe@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Mar 7 23:41:53 2005 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.4: +2 -5 lines
Diff to previous 1.4 (colored)

more macro simplification;

Revision 1.4 / (download) - annotate - [select for diffs], Fri Feb 25 10:32:06 2005 UTC (19 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

avoid specifying which hash to use;
this after some discussion w/ otto;

started by pr #4120, from andy isaacson;

Revision 1.3 / (download) - annotate - [select for diffs], Wed Dec 29 17:32:44 2004 UTC (19 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.2: +14 -6 lines
Diff to previous 1.2 (colored)

Add support for multiple using algorithms.  OK'd by several people
a while ago so get this out of my tree...

Revision 1.2 / (download) - annotate - [select for diffs], Tue May 4 18:32:51 2004 UTC (20 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.1: +42 -45 lines
Diff to previous 1.1 (colored)

- simplify synopses
- correct macros
- various grammatical fixes

ok millert@

Revision 1.1 / (download) - annotate - [select for diffs], Sun May 2 17:53:29 2004 UTC (20 years, 1 month ago) by millert
Branch: MAIN

Add support for cksum (3 varieties), md4, sha256, sha384, and sha512.
Consequently, cksum moves becomes a link to md5 and moves to /bin.
The cksum man page could use some polishing.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.