Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for very old openssl: try sha256 and sha256sum before "openssl sha256" #1068

Merged
merged 6 commits into from Jan 24, 2018

Conversation

cgsecurity
Copy link
Contributor

Check for sha256 and sha256sum commands before trying openssl as "openssl sha256" doesn't return an error code in some old versions of openssl (OpenSSL 0.9.8g 19 Oct 2007 at least) that doesn't support sha256.

@zachriggle
Copy link
Member

zachriggle commented Nov 21, 2017 via email

@cgsecurity
Copy link
Contributor Author

There are some traces from c438893
If you know how to fix the PR, please let me know, I am not very good with git...

@zachriggle
Copy link
Member

LGTM, and I also just ran into this. The other issue is that openssl sha256 exits with code 0 even though it failed.

@zachriggle zachriggle merged commit 3ff7a9e into Gallopsled:stable Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants