-
Notifications
You must be signed in to change notification settings - Fork 15
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
swupdate_get_sha256 currently does not search for files in artifactory #10
Comments
Hmmm, I just noticed this function is completely obsolete as process_entry always adds an sha256 to new entries. |
I will check, but obsolete function can be dropped. It is not required to enable CONFIG_SIGNED_IMAGE, just CONFIG_HASH_VERIFY (it is always suggested to set it on) must be set. |
You are correct, CONFIG_HASH_VERIFY should always be set. |
Yes, confirmed, this is a limitation in swugenerator - a flag to disable sha256 should be added. |
I am not sure if a new flag is necessary. |
sw-description is the master, but the generator should help in cases this is mandatory. If sha256 must be added, a missing sha256 in case of signed image will result in runtime error (this is the case when built in Yocto). The only drawback is for the use case where CONFIG_HASH_VERIFY is off (probably your use case), but this is a minority of projects. So I think it is better to tell the generator to disable the computation of the hash, but let it to create in the other cases. |
The sw-description function swupdate_get_sha256 currently does not search for the filename in artifactory.
Meanwhile swupdate_get_size does. This is somewhat inconsistent.
The text was updated successfully, but these errors were encountered: