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

download_sysext: integrate signature verification #12

Merged
merged 3 commits into from
Oct 25, 2023

Conversation

dongsupark
Copy link
Member

Move the delta update part from test/crau_verify.rs to update-format-crau.
Move verify_sig into update-format-crau, so it can be imported by delta_update.
Integrate signature verification in download_sysext.

@dongsupark dongsupark requested a review from wrl September 27, 2023 15:15
@dongsupark dongsupark force-pushed the dongsu/payload-file-integration branch from 1f3abd9 to 510652a Compare September 28, 2023 13:37
@t-lo t-lo requested a review from pothos September 29, 2023 14:03
@dongsupark dongsupark force-pushed the dongsu/payload-file-integration branch from 510652a to bcb2fe8 Compare October 9, 2023 15:11
src/bin/download_sysext.rs Outdated Show resolved Hide resolved

println!("Parsed signature data from file {:?}", from_path);

self.status = PackageStatus::Verified;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need a call to verify_sig_pubkey() first?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/bin/download_sysext.rs Outdated Show resolved Hide resolved
@dongsupark dongsupark force-pushed the dongsu/payload-file-integration branch 2 times, most recently from 39112d0 to a9b3019 Compare October 11, 2023 10:49
@dongsupark dongsupark force-pushed the dongsu/payload-file-integration branch from a9b3019 to 2898cee Compare October 13, 2023 07:38
Move the delta update part from test/crau_verify.rs to
update-format-crau.
Move verify_sig into update-format-crau, so it can be imported by
delta_update.
Integrate signature verification in download_sysext.
Use argh for parsing cmdline parameters, instead of manually getting
them.
Add example files of OMAHA request/response xml files.
@dongsupark dongsupark force-pushed the dongsu/payload-file-integration branch from 2898cee to 59dcd92 Compare October 18, 2023 13:12
@dongsupark
Copy link
Member Author

Improved minor things.
Used argh for parsing input parameters in test/crau_verify.rs.

Copy link
Collaborator

@wrl wrl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great! lgtm 💯

@dongsupark dongsupark merged commit 30dab6d into trunk Oct 25, 2023
1 check passed
@dongsupark dongsupark deleted the dongsu/payload-file-integration branch October 25, 2023 14:10
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.

3 participants