Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ckdist(1) [freebsd man page]

CKDIST(1)						    BSD General Commands Manual 						 CKDIST(1)

ckdist -- check software distributions SYNOPSIS
ckdist [-airsx] [-d dir] [-n name] [-t type] file ... DESCRIPTION
The ckdist utility reads ``checksum'' files (which are assumed to specify components of a software distribution) and verifies the integrity of the distribution by validating the checksum of each component file. Both MD5 (128-bit ``message digest'') and .inf (32-bit CRC) checksum formats are supported. The file operands may refer to regular files or to directories. Regular files named md5, or which have an .md5 or an .inf extension, are assumed to be of the implied type, otherwise format is determined from content. If a directory is specified, it is searched for appropri- ately-named files only. The options are as follows: -a Report on all distribution components, not just those in respect of which errors are detected. -i Ignore missing distribution components. -r Search specified directories recursively. -s Suppress complaints about inaccessible checksum files and directories. -x Verify the existence of distribution components (and also check sizes, in the case of .inf files), but omit the more time- consuming step of actually computing and comparing checksums. -d dir Look for distribution components in the directory dir. -n name Access distribution components using the filename name. When accessing .inf file components, append the appropriate exten- sion to the filename. -t type Assume that all specified checksum files are of the format type, and search directories only for files in this format (where type is either md5 or inf). EXIT STATUS
The ckdist utility exits with one of the following values: 0 No errors were detected. 1 Errors were found in a distribution. 2 Usage errors, inaccessible input files, or other system errors were encountered. SEE ALSO
cksum(1), md5(1) NOTES
Both BSD and DOS versions of ckdist are available. BSD
January 20, 1997 BSD

Check Out this Related Man Page

MD5(1)							    BSD General Commands Manual 						    MD5(1)

md5 -- calculate a message-digest fingerprint (checksum) for a file SYNOPSIS
md5 [-pqrtx] [-s string] [file ...] DESCRIPTION
Md5 takes as input a message of arbitrary length and produces as output a 128-bit ``fingerprint'' or ``message digest'' of the input. It is conjectured that it is computationally infeasible to produce two messages having the same message digest, or to produce any message having a given prespecified target message digest. The MD5 algorithm is intended for digital signature applications, where a large file must be ``compressed'' in a secure manner before being encrypted with a private (secret) key under a public-key cryptosystem such as RSA. MD5 has not yet (2001-09-03) been broken, but sufficient attacks have been made that its security is in some doubt. The attacks on MD5 are in the nature of finding ``collisions'' -- that is, multiple inputs which hash to the same value; it is still unlikely for an attacker to be able to determine the exact original input given a hash value. The following options may be used in any combination and must precede any files named on the command line. The MD5 sum of each file listed on the command line is printed after the options are processed. -s string Print a checksum of the given string. -p Echo stdin to stdout and appends the MD5 sum to stdout. -q Quiet mode - only the MD5 sum is printed out. Overrides the -r option. -r Reverses the format of the output. This helps with visual diffs. Does nothing when combined with the -ptx options. -t Run a built-in time trial. -x Run a built-in test script. SEE ALSO
cksum(1) R. Rivest, The MD5 Message-Digest Algorithm, RFC1321. ACKNOWLEDGMENTS
This program is placed in the public domain for free general use by RSA Data Security. BSD
February 14, 1994 BSD
Man Page