-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support other checksum algorithms #138
Comments
the dotnet buildpack uses sha512: |
Is there a plan to supports sha512 in newer version? I see dotnet core used sha512. |
Yes. Follow this issue for updates. If you'd like to submit a PR, happy to chat about what that might entail. |
Meanwhile, Do you know if we can add sha512 id manually in dependency secrets. I dont see sha512 field in the dotnet buildpacks builder.toml file. In java we have sha256 field and adding that to mappings works as expected. https://github.com/paketo-buildpacks/dotnet-core-aspnet-runtime/blob/main/buildpack.toml For java How to add it for dontnet since there is no sha512 field in builder.toml Is there a way to add it for these dotnet buildpacks ? |
@doddisam The For example:
The algorithm goes in the first part followed by a So for the binding file, the key would be That should work. We haven't updated the Java-related buildpacks yet, so those still use the old key. At some point we'll get around to it, but it's not particularly urgent as sha256 is good enough. |
@dmikusa Thanks for the reply. I am using K8's dependency mapping and this is how my secrets looks. I don't think key can have ":" in the k8's secrets. That is issue i am facing currently. Can you please check below and advice proper format ? apiVersion: v1 |
Oh, you're right. I forgot about that.
So in your case it would be |
@dmikusa Thanks for your input. Its working fine |
In #26 we added support for
checksum = "algo:hash"
, but only where the algorithm is sha256.This issue is to support additional algorithms. Supporting more algorithms is additional work because it requires modifications to the code that validates the checksums as well.
If you need support for other algorithms, please post here and indicate the algorithms you're using. Thanks
The text was updated successfully, but these errors were encountered: