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

Feature Request: Expand download validation to other formats #114

Open
gdevenyi opened this issue Sep 28, 2024 · 1 comment
Open

Feature Request: Expand download validation to other formats #114

gdevenyi opened this issue Sep 28, 2024 · 1 comment

Comments

@gdevenyi
Copy link

The following hash functions are pacakged in coreuitls:
sha1sum sha224sum sha256sum sha384sum sha512sum shasum
in addition there is the older
md5sum

They all follow the same structure/format.

I imagine if more than one is available there would be a rank-ordered preference.

@JoeKar
Copy link

JoeKar commented Sep 30, 2024

As mentioned in zyedidia/micro#3486 (comment) it would be nice to directly support the generic *.sha (chosen for the micro artifacts 😉) file extension for an arbitrary sha hash...may it be sha1, sha224, sha256, sha384 or sha512.
The length of the hash should be sufficient enough to identify the respective sha#sum for validation, in case the core libraries don't do it themself.

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

2 participants