-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[omaha-client] Use request metadata to verify Omaha server response.
This CL adds a step inside the omaha-client state machine to, if the config contained omaha public keys and the request had |cup_sign_requests| enabled, validate the returned response and reject invalid responses. This CL also uses a stub cupv2handler to mock verification/decoration failures for testing within the Omaha server state machine. This CL adds three tests which exercise verification/decoration failures when |cup_sign_requests| is enabled. Change-Id: I8357f8ae18aab3184d8f76817e820fe6a841199d Bug: 95799 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/664294 Reviewed-by: Sen Jiang <senj@google.com> Commit-Queue: James Buckland <jbuckland@google.com>
- Loading branch information
Showing
3 changed files
with
248 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.