sha1sum.1 (1240B)
- .\" utils-std: Collection of commonly available Unix tools
- .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
- .\" SPDX-License-Identifier: MPL-2.0
- .Dd 2024-08-15
- .Dt SHA1SUM 1
- .Os
- .Sh NAME
- .Nm sha1sum
- .Nd write and verify sha1 checksums
- .Sh SYNOPSIS
- .Nm
- .Op Fl c
- .Op Ar file...
- .Sh DESCRIPTION
- .Nm
- reads each
- .Ar file ,
- or standard input if none were specified,
- and prints each of their SHA1 checksum.
- .Sh OPTIONS
- .Bl -tag -width _c
- .It Fl c
- Verify checksums contained in each
- .Ar file .
- Currently supported format being checksum, whitespace, an optional asterisk
- .Ql *
- and finally a filename.
- .El
- .Sh EXIT STATUS
- .Ex -std
- .Sh EXAMPLES
- Check tarballs in current directory against the
- .Pa sha1sums.txt
- digest and ignore the rest of it:
- .Dl printf %s\en *.tar* | grep -f - sha1sums.txt | sha1sum -c -
- .Sh SEE ALSO
- .Xr sha256sum 1
- .Sh STANDARDS
- SHA1 is standardized both in FIPS 180-4 and RFC 3174.
- .Sh AUTHORS
- .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me
- .Sh SECURITY CONSIDERATIONS
- Due to it's known collisions SHA-1 is deprecated, the
- .Nm
- utility is only provided in the interest of compatibility and
- verification of legacy checksums.
- For non-legacy usage,
- .Xr sha256sum 1
- should be used instead.