-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
1f3abd9
to
510652a
Compare
510652a
to
bcb2fe8
Compare
|
||
println!("Parsed signature data from file {:?}", from_path); | ||
|
||
self.status = PackageStatus::Verified; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, parse_signature_data()
is already calling verify_sig_pubkey()
.
https://github.com/flatcar/ue-rs/pull/12/files#diff-4bdabfe18b36b123ce8b3873dae3f39543fc6de6a80b796efddc060d34ef1c60R103
39112d0
to
a9b3019
Compare
a9b3019
to
2898cee
Compare
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.
2898cee
to
59dcd92
Compare
Improved minor things. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great! lgtm 💯
Move the delta update part from
test/crau_verify.rs
toupdate-format-crau
.Move
verify_sig
intoupdate-format-crau
, so it can be imported by delta_update.Integrate signature verification in
download_sysext
.