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 package verification to updatemgr #1497

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dpsmith
Copy link
Member

@dpsmith dpsmith commented Apr 22, 2024

This PR adds the ability for updatemgr to verify contents of packages file. For now the changes to updatemgr haskell code is left as a patch. If this is the desired default behavior, the patch can be applied to the haskell code repo, otherwise the patch could be hidden behind a OE feature variable.

Use the hash length to determine which algorithm to use.

Signed-off-by: Jason Andryuk <[email protected]>
Use getopts to allow -d and -p to be specified in any order.

Signed-off-by: Jason Andryuk <[email protected]>
It's better this way to check the signature before looking at the
contents.
Use the new option to check the package hashes.
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

Successfully merging this pull request may close these issues.

2 participants