You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sha256sum --help
Usage: sha256sum [OPTION]... [FILE]...
Print or check SHA256 (256-bit) checksums.
...
The following four options are useful only when verifying checksums:
--status don't output anything, status code shows success
Workarounds:
install shasum, it will be preferred over sha256sum yum install -y perl-Digest-SHA
The text was updated successfully, but these errors were encountered:
I'm aware of the defect and also received a pullrequest to fix the problem (#73).
However the pullrequest does not fulfill the complete request so I started investigating other options.
In the mean time i noticed there are 3 versions of sha256sum.
1 version (used in apline) which allows the -s option
2 version which supports both -s and --status
3 the version which only supports --status
As i use the alpine version for the docker images i have created a branch in which i try to solve all combinations.
Still need to verify if all setups are working, but feel free to comment.
@quintush thanks for Your quick reply. I was not aware of 'alpine' version. Indeed it does not support full: '--status' option which, I was hoping, could be a good solution :(
When I try to instal plugin on centos 7 I get following error:
It's caused by this part:
curl -s -L "$PROJECT_CHECKSUM" | grep "$DOWNLOAD_FILE" | sha256sum -c -s
While -s is valid option for shasum
It's not ok for sha256sum:
Workarounds:
install shasum, it will be preferred over sha256sum
yum install -y perl-Digest-SHA
The text was updated successfully, but these errors were encountered: