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

shasum: command not found #42

Closed
ik0 opened this issue Dec 14, 2015 · 4 comments
Closed

shasum: command not found #42

ik0 opened this issue Dec 14, 2015 · 4 comments

Comments

@ik0
Copy link

ik0 commented Dec 14, 2015

Hello,

I use your script on old gentoo instalation and get this error:
./letsencrypt.sh: line 135: shasum: command not found

So i've just changed "shasum -a 256" to "sha256sum" and it works ! I know I use very old instalation, but that's why I don't/can't use official letsencrypt client.

@martinvolf
Copy link

Or you can create a script called shasum in /usr/bin or /usr/local/bin with this in it:

#!/bin/bash
shift 2
sha256sum $@

M.

@ik0
Copy link
Author

ik0 commented Dec 14, 2015

I think shasum comes from Perl and if author want this project to be perl independent this should be changed.

@martinvolf
Copy link

You are right. And "sha256sum" is shorter ;-)

@lukas2511
Copy link
Member

Just to clarify: I was using shasum because sha256sum doesn't seem to be available on bsd systems. Now i switched it to use openssl for generating the hash, which hopefully works everywhere.

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

No branches or pull requests

3 participants