coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] cksum: add --check-stream=CHECKSUM flag


From: Akihiro Suda
Subject: [PATCH] cksum: add --check-stream=CHECKSUM flag
Date: Sun, 15 Dec 2024 08:20:21 +0900

`-S, --check-stream=CHECKSUM` checks the FILE with CHECKSUM and pipes
the FILE to the stdout.

The motivation is to make `curl | sh` secure without breaking one-liner.
e.g., curl https://example.com/install.sh | sha256sum --check-stream
deadbeef | sh

Regards,
Akihiro Suda

Attachment: 0001-cksum-add-check-stream-CHECKSUM-flag.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]