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

sha1sum not working as expected #255

Open
adriendomoison opened this issue Oct 16, 2019 · 1 comment
Open

sha1sum not working as expected #255

adriendomoison opened this issue Oct 16, 2019 · 1 comment

Comments

@adriendomoison
Copy link

Hello,

Just tried using GOW today because I needed sha1sum on windows and ended up finding that GOW sha1sum doesn't quite work as I expected.

Here is the result using sha1sum on Mac, Linux, Online generators & Cygwin

$ echo -n "hello" | sha1sum
aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d *-

And the result using sha1sum with GOW

echo -n "hello" | sha1sum
aa5916ae7fd159a18b1b72ea905c757207e26689 *-
@adriendomoison
Copy link
Author

From doing more research, this might be considered as "normal" behavior.

https://stackoverflow.com/questions/48836583/git-hash-object-is-yielding-different-sha1-in-powershell-cmd-and-bash

Any input on how to go around this issue?

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

1 participant