[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
0001-cksum-add-check-stream-CHECKSUM-flag.patch
Description: Binary data
- [PATCH] cksum: add --check-stream=CHECKSUM flag,
Akihiro Suda <=