`-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