logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git/

sha512sum.1 (1024B)


  1. .\" utils-std: Collection of commonly available Unix tools
  2. .\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. .\" SPDX-License-Identifier: MPL-2.0
  4. .Dd October 21, 2024
  5. .Dt SHA512SUM 1
  6. .Os
  7. .Sh NAME
  8. .Nm sha512sum
  9. .Nd write and verify sha512 checksums
  10. .Sh SYNOPSIS
  11. .Nm
  12. .Op Fl cq
  13. .Op Ar file...
  14. .Sh DESCRIPTION
  15. .Nm
  16. reads each
  17. .Ar file ,
  18. or standard input if none were specified,
  19. and prints each of their SHA512 checksum.
  20. .Sh OPTIONS
  21. .Bl -tag -width _c
  22. .It Fl c
  23. Verify checksums contained in each
  24. .Ar file .
  25. Currently supported format being checksum, whitespace, an optional asterisk
  26. .Ql *
  27. and finally a filename.
  28. .It Fl q
  29. Quiet, do not print 'OK'
  30. .El
  31. .Sh EXIT STATUS
  32. .Ex -std
  33. .Sh EXAMPLES
  34. Check tarballs in current directory against the
  35. .Pa sha512sums.txt
  36. digest and ignore the rest of it:
  37. .Dl printf %s\en *.tar* | grep -f - sha512sums.txt | sha512sum -c -
  38. .Sh STANDARDS
  39. SHA512 is standardized both in FIPS 180-4 and RFC 6234.
  40. .Sh AUTHORS
  41. .An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me