-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iwa: Added a reader for .swbn of unknown ID
Added a new UnsecureSignedWebBundleReader. This class should be used to read data from unverifiable signed web bundle. The unverifiable signed web bundle is a bundle which ID we don't know. Because of that verification of the file against the public key stored in the file doesn't make sense as attacker can just resign the modified file with their own key. UnsecureSignedWebBundleReader should be used to get info about the file, and NOT for general usage (e.g. reading responses). Bug: b:277233728 Test: Added a unit test and executed already existing tests. Change-Id: I68069fde95cf73b204c4a4fe27b0b0924afc3383 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4604542 Auto-Submit: Oleksandr Peletskyi <peletskyi@google.com> Commit-Queue: Oleksandr Peletskyi <peletskyi@google.com> Reviewed-by: Christian Flach <cmfcmf@chromium.org> Cr-Commit-Position: refs/heads/main@{#1158183}
- Loading branch information
Showing
4 changed files
with
277 additions
and
50 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
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
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
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