OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.50 / (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.49: +16 -8 lines
Diff to previous 1.49 (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.49 / (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.48: +6 -6 lines
Diff to previous 1.48 (colored)

use imperative tense consistently;  OK jmc

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jan 25 00:19:25 2019 UTC (5 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, 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
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

I am retiring my old email address;  replace it with my OpenBSD one.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Feb 23 20:46:08 2017 UTC (7 years, 3 months ago) by daniel
Branch: MAIN
CVS Tags: 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.46: +4 -9 lines
Diff to previous 1.46 (colored)

SHA-1 collisions have now been found so update some man pages. As noted by
minek van on misc@. Thanks.

ok tb@, tj@

(and jmc@ is ok with the diff but can't ok the technical content).

Revision 1.46 / (download) - annotate - [select for diffs], Tue Sep 20 12:14:42 2016 UTC (7 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.45: +5 -3 lines
Diff to previous 1.45 (colored)

sync the description of -q with that of cksum.1;
from bytevolcano

ok millert

Revision 1.45 / (download) - annotate - [select for diffs], Wed Sep 23 17:39:36 2015 UTC (8 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.44: +2 -7 lines
Diff to previous 1.44 (colored)

remove CAVEATS: the information therein is already (and probably more usefully)
included at the start of this page;

ok tedu

Revision 1.44 / (download) - annotate - [select for diffs], Thu Dec 4 20:10:16 2014 UTC (9 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.43: +6 -3 lines
Diff to previous 1.43 (colored)

obvious cases of missing NAME .Nm entries

Revision 1.43 / (download) - annotate - [select for diffs], Fri Mar 7 04:10:55 2014 UTC (10 years, 2 months ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (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.42 / (download) - annotate - [select for diffs], Wed Jan 15 04:43:36 2014 UTC (10 years, 4 months ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.41: +15 -1 lines
Diff to previous 1.41 (colored)

Add support for a -C option.  It works on a checklist like -c but only
does the checksum comparison for selected files that are specified on
the command line.

idea discussed with deraadt@ and tedu@
manpage feedback jmc@
feedback/OK deraadt@ millert@

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jan 10 21:45:04 2014 UTC (10 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

depluralize
ok jmc

Revision 1.40 / (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.39: +9 -19 lines
Diff to previous 1.39 (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.39 / (download) - annotate - [select for diffs], Fri Jan 10 18:52:22 2014 UTC (10 years, 4 months ago) by lteo
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Add MISSING to the list of possible results of a checklist comparison.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jan 10 17:47:44 2014 UTC (10 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.37: +49 -25 lines
Diff to previous 1.37 (colored)

tedu merged the hash manual pages back together.  This goes even further,
repairing the documentation for the -c option.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jan 10 05:34:46 2014 UTC (10 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.36: +5 -3 lines
Diff to previous 1.36 (colored)

the -c option is really a mode change, incompatible with other options.
(there are some others too, but -c is particularly misleading.) split it
out in synopsis and usage.
ok deraadt

Revision 1.36 / (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.35: +6 -6 lines
Diff to previous 1.35 (colored)

sort options;

Revision 1.35 / (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.34: +7 -2 lines
Diff to previous 1.34 (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.34 / (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.33: +23 -24 lines
Diff to previous 1.33 (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.33 / (download) - annotate - [select for diffs], Sat Sep 22 20:09:43 2012 UTC (11 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.32: +5 -3 lines
Diff to previous 1.32 (colored)

last stage of rfc changes, using consistent Rs/Re blocks, and moving the
references into a STANDARDS section;

Revision 1.32 / (download) - annotate - [select for diffs], Fri Sep 3 09:53:20 2010 UTC (13 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: 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.31: +2 -2 lines
Diff to previous 1.31 (colored)

add an EXIT STATUS section for /bin;

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jul 13 22:34:45 2010 UTC (13 years, 10 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

update our recommended hash function to sha256 and note md5 is broken.
ok deraadt jmc millert sobrado

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jul 13 06:57:37 2010 UTC (13 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.29: +3 -4 lines
Diff to previous 1.29 (colored)

no need for userland to refer to section 2/3 pages;

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 12 23:16:55 2010 UTC (13 years, 10 months ago) by tedu
Branch: MAIN
Changes since 1.28: +5 -4 lines
Diff to previous 1.28 (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.28 / (download) - annotate - [select for diffs], Thu May 31 19:19:15 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

convert to new .Dd format;

Revision 1.27 / (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.26: +5 -1 lines
Diff to previous 1.26 (colored)

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

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 27 20:40:04 2007 UTC (17 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Fix spelling of hexadecimal.  Noted by jmc@ and Steven Mestdagh.

Revision 1.25 / (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.24: +4 -2 lines
Diff to previous 1.24 (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.24 / (download) - annotate - [select for diffs], Sun Nov 19 17:09:15 2006 UTC (17 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

WARNING/BUGS -> CAVEATS; ok millert

Revision 1.23 / (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.22: +3 -1 lines
Diff to previous 1.22 (colored)

.Ex these pages; ok millert

Revision 1.22 / (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.21: +5 -8 lines
Diff to previous 1.21 (colored)

simplify synopsis and usage(); ok millert

Revision 1.21 / (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.20: +9 -2 lines
Diff to previous 1.20 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 24 21:22:25 2004 UTC (19 years, 9 months ago) by tom
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, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.19: +19 -5 lines
Diff to previous 1.19 (colored)

Note that collisions have been found for MD5, so SHA-1 is preferred.
Also fix the reference to RFC 1321, which describes MD5 alone (not MD2
or MD4).

ok jmc@, millert@

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 4 18:32:51 2004 UTC (20 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.18: +11 -8 lines
Diff to previous 1.18 (colored)

- simplify synopses
- correct macros
- various grammatical fixes

ok millert@

Revision 1.18 / (download) - annotate - [select for diffs], Sun May 2 17:53:29 2004 UTC (20 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.17: +10 -12 lines
Diff to previous 1.17 (colored)

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.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jun 17 21:56:23 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.16: +12 -8 lines
Diff to previous 1.16 (colored)

Sync with share/misc/license.template and add missing DARPA credit
where applicable.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jun 3 01:52:39 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.15: +11 -20 lines
Diff to previous 1.15 (colored)

Use an ISC-tyle license for all my code; it is simpler and more permissive.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Mar 14 09:59:20 2003 UTC (21 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.14: +10 -9 lines
Diff to previous 1.14 (colored)

tweaks;
echos -> echoes from millert@

ok millert@

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 12 21:29:48 2003 UTC (21 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.13: +14 -2 lines
Diff to previous 1.13 (colored)

Add -c option similar to GNU md5sum.
Original patch from zyrnix but significantly modified by me.
deraadt@ OK

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 19 17:52:18 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.12: +2 -14 lines
Diff to previous 1.12 (colored)

Back out documentation for (currently) non-existent -c option that
got committed by accident in the license update.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Feb 14 17:33:14 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.11: +37 -2 lines
Diff to previous 1.11 (colored)

Add a 2-clause BSD license.  These files are based on the md5.1
from FreeBSD which says it is public domain so there should be no
license conflict.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 3 17:51:29 2001 UTC (23 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.10: +7 -10 lines
Diff to previous 1.10 (colored)

sync man page with new usage restrictions

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 9 17:51:56 2000 UTC (23 years, 6 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Change all option list specifications to ".Bl -tag -width Ds". Most man
pages just needed their -width parameter tweaked to "Ds", which provides
a nice width of 6 constant characters. For consistency more than anything.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 18 07:17:16 2000 UTC (23 years, 7 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.8: +8 -7 lines
Diff to previous 1.8 (colored)

Properly introduce options.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 17 18:15:14 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

Remove hard sentence breaks.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Dec 15 01:20:23 1998 UTC (25 years, 5 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.net

Revision 1.6 / (download) - annotate - [select for diffs], Wed Sep 23 00:13:49 1998 UTC (25 years, 8 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

alphabetize SEE ALSO entries and numerically order according to section

Revision 1.5 / (download) - annotate - [select for diffs], Mon Sep 14 22:13:50 1998 UTC (25 years, 8 months ago) by aaron
Branch: MAIN
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)

First complete sweep of man pages, bin/. Command/function names previously
(incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS
cleanups, other miscellaneous typos.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 2 07:04:23 1998 UTC (26 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.3: +12 -16 lines
Diff to previous 1.3 (colored)

use getopt; mph@pobox.com

Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 12 14:29:47 1997 UTC (26 years, 6 months ago) by provos
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

correct references.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jul 12 21:26:57 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.1: +40 -31 lines
Diff to previous 1.1 (colored)

Use new-style man macros.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 11 10:37:36 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0

move to bin/md5 for `greater accessibility'

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.