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

Add support for sha348 #1245

Open
Firesphere opened this issue Nov 26, 2024 · 1 comment
Open

Add support for sha348 #1245

Firesphere opened this issue Nov 26, 2024 · 1 comment

Comments

@Firesphere
Copy link

Is your feature request related to a problem? Please describe

Composer provides a sha348 of the build, but I can't validate it directly in pyinfra, because it doesn't have a sha348 method.

Describe the solution you'd like

Add a sha348 validation for files.download(). Optionally, probably cleaner, a way to give a specific hashing algorithm, e.g.
files.download('https://example.com/download.file', hash=abcxyz123, algorithm=sha512), or similar

@simonhammes
Copy link
Contributor

Good suggestion, I'll propose a PR :)

simonhammes added a commit to simonhammes/pyinfra that referenced this issue Nov 26, 2024
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