summaryrefslogtreecommitdiff
path: root/bin/md5
AgeCommit message (Collapse)Author
2012-12-04replace sys/param.h with sys/types.h (and sometimes add limits.h if needed)Theo de Raadt
ok guenther
2012-09-22last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
references into a STANDARDS section;
2012-07-08The algorithm name is "SHA-256" as per FIPS 180-2 (-3).Christian Weisgerber
2012-05-13recommend sha256; from Lawrence TeoJason McIntyre
ok millert
2012-02-26Fix several manpage titles, from Lawrence Teo.Christiano F. Haesbaert
ok dcoppa@ jmc@ schwarze@.
2011-07-05fix memset sizeof, found by jsg. ok krwTed Unangst
2010-11-07more EXIT STATUS bits; from Daniel DickmanJason McIntyre
2010-10-27Use a 32KB data buffer instead of a 1KB buffer.Todd C. Miller
2010-10-25Use stdio when reading in the file to be checksummed. This can improveTodd C. Miller
performance due to the internal buffering stdio does wrt the optimal read size (st_blksize). OK mikeb@
2010-09-03add an EXIT STATUS section for /bin;Jason McIntyre
2010-07-13update our recommended hash function to sha256 and note md5 is broken.Ted Unangst
ok deraadt jmc millert sobrado
2010-07-13no need for userland to refer to section 2/3 pages;Jason McIntyre
2010-07-12replace rmd160 links with sha256. it's way more popular and more better, too.Ted Unangst
too many oks to enumerate. while here, add Xr to the relevant libc functions in each page.
2010-03-26dispense with some wacky escape sequences;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-08-16replace ".Ar file ..." with ".Ar" whenever possible.Igor Sobrado
ok jmc@
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2008-09-06adapt to sha2(3) API changes; ok millert@Damien Miller
2008-07-29md5(1), sha1(1), rmd160(1), cksum(1) and sum(1) have different options;Igor Sobrado
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@
2007-11-07properly exit >0 when encountering bad md5 in cheklistCharles Longeau
ok gilles@ millert@ From Tim van der Molen <tbvdm.lists at xs4all.nl>
2007-10-31clamp -ttttttttt test counter to 1B, so that it does not wrap negative;Theo de Raadt
from Nicholas Marriott, ok otto
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30some i missed...Jason McIntyre
- consistent text for STANDARDS - note which options are extensions to POSIX
2007-04-14if we define a constant for the OPTSTRING, we can as well use it.Alexander von Gernler
ok tedu@
2007-04-13allow multiple -t to increase the test count. cpus are getting too fast.Ted Unangst
ok grunk. with manpage from grunk and jmc
2007-03-29Fix a cust & pastoTodd C. Miller
Correctly compute amount of base64 padding in checklist mode
2007-03-29Do not print a warning that no valid checksums were found if thereTodd C. Miller
was a single fingerprint for a file that could not be opened. The warning that the file could not be opened is sufficient. From espie@
2007-03-28Supress warnings for the first getopt() pass. Otherwise,Todd C. Miller
any "unknown option" messages get printed twice.
2007-03-27Fix spelling of hexadecimal. Noted by jmc@ and Steven Mestdagh.Todd C. Miller
2007-03-27Add base64 support to cksum and friends. Output encoding canTodd C. Miller
be set globally or on a per-algorithm basis when using multiple hash functions. OK espie@ simon@ deraadt@; man help from jmc@
2007-03-20augment the -q option, now if specifed with -c (checklist)Thordur I. Bjornsson
it will only print out the failed cases. OK millert@
2007-02-27Add md5 to the list of unsecure checksums. Adapted from a diff byTodd C. Miller
Tamas TEVESZ.
2007-01-09align usage message correctlyTheo de Raadt
2006-11-19WARNING/BUGS -> CAVEATS; ok millertJason McIntyre
2006-11-17`<' -> \*(LtJason McIntyre
2006-11-17discourage .Tn;Jason McIntyre
2006-11-17.Ex these pages; ok millertJason McIntyre
2006-11-17simplify synopsis and usage(); ok millertJason McIntyre
2006-11-16Add -r and -q options similar to what is supported by FreeBSD's md5Todd C. Miller
OK deraadt@ ckuethe@
2006-11-10Accept upper and lower case letters in a checksum, since this doesn'tTom Cosgrove
alter the value of the digest. Nor, for that matter, does case affect the name of the algorithm used. Partly from Matthew Clarke, clamat (at) telus (dot) net. ok djm@ millert@
2006-03-15Fix signed/unsigned comparisons by using size_tDavid Hill
Sprinkle some const ok ray@ jaredy@
2005-12-20Make "cksum -c" grok checklists generated with cksum, sum and sysvsum.Todd C. Miller
OK deraadt@
2005-08-17Exit unsuccessfully when comparing against a checklist file fails.Marco Pfatschbacher
OK markus@ millert@
2005-05-24-ansi means only expose ANSI interfaces which is not something we want...Todd C. Miller
2005-03-07more macro simplification;Jason McIntyre
2005-02-25avoid specifying which hash to use;Jason McIntyre
this after some discussion w/ otto; started by pr #4120, from andy isaacson;
2004-12-29Add support for multiple using algorithms. OK'd by several peopleTodd C. Miller
a while ago so get this out of my tree...
2004-12-10GNU md5sum uses tab not space to separate filename and hash. FixesTodd C. Miller
parsing of GNU-style checklist files for files with spaces in them. From Emil Mikulic; closes PR 4027
2004-08-24Note that collisions have been found for MD5, so SHA-1 is preferred.Tom Cosgrove
Also fix the reference to RFC 1321, which describes MD5 alone (not MD2 or MD4). ok jmc@, millert@
2004-05-16Tell reader to use cksum(1) to compute SHA-2 digests. ok millert@Otto Moerbeek