commit: 09eb1ce8d2308d28ce459a9a0bf6d67ea3d9a5af
parent c89509fa7d6b345676b724f8a0564272f4b2982f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 14 Sep 2024 05:46:04 +0200
oasis 5507e08026
Diffstat:
16 files changed, 28 insertions(+), 21 deletions(-)
diff --git a/bin/base64 b/bin/base64
Binary files differ.
diff --git a/bin/cat b/bin/cat
Binary files differ.
diff --git a/bin/cut b/bin/cut
Binary files differ.
diff --git a/bin/id b/bin/id
Binary files differ.
diff --git a/bin/join b/bin/join
Binary files differ.
diff --git a/bin/paste b/bin/paste
Binary files differ.
diff --git a/bin/sha256sum b/bin/sha256sum
Binary files differ.
diff --git a/bin/tee b/bin/tee
Binary files differ.
diff --git a/lib/libbsd.a b/lib/libbsd.a
Binary files differ.
diff --git a/lib/libc.a b/lib/libc.a
Binary files differ.
diff --git a/lib/libcurses.a b/lib/libcurses.a
Binary files differ.
diff --git a/lib/liblua.a b/lib/liblua.a
Binary files differ.
diff --git a/lib/libpanel.a b/lib/libpanel.a
Binary files differ.
diff --git a/lib/libterminfo.a b/lib/libterminfo.a
Binary files differ.
diff --git a/share/man/man1/sha1sum.1 b/share/man/man1/sha1sum.1
@@ -28,6 +28,8 @@ and finally a filename.
.El
.Sh EXIT STATUS
.Ex -std
+.Sh SEE ALSO
+.Xr sha256sum 1
.Sh STANDARDS
SHA1 is standardized both in FIPS 180-4 and RFC 3174.
.Sh AUTHORS
@@ -37,3 +39,6 @@ Due to it's known collissions 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.
diff --git a/share/man/man1/sha256sum.1 b/share/man/man1/sha256sum.1
@@ -1,32 +1,34 @@
-.Dd 2015-10-08
+.\" 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 SHA256SUM 1
-.Os sbase
+.Os
.Sh NAME
.Nm sha256sum
-.Nd compute or check SHA-256 message digests
+.Nd write and verify sha256 checksums
.Sh SYNOPSIS
.Nm
.Op Fl c
-.Op Ar file ...
+.Op Ar file...
.Sh DESCRIPTION
.Nm
-writes SHA-256 (256-bit) checksums of each
-.Ar file
-to stdout.
-If no
-.Ar file
-is given
-.Nm
-reads from stdin.
+reads each
+.Ar file ,
+or standard input if none were specified,
+and prints each of their SHA256 checksum.
.Sh OPTIONS
-.Bl -tag -width Ds
+.Bl -tag -width _c
.It Fl c
-Read list of SHA-256 checksums from each
-.Ar file
-and check them.
-If no
-.Ar file
-is given
-.Nm
-reads from stdin.
+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 STANDARDS
+SHA256 is standardized both in FIPS 180-4 and RFC 6234.
+.Sh AUTHORS
+.An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me