-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repository context: on download, also consider integrity checksums su…
…fficient The function download{,_and_extract} of a repository context allow to provide checksums that the downloaded file has to have in order for the downlaod considered to be successful. Traditionally, this was done by providing a parameter 'sha256'; however, it is also possible through the recently provided 'integrity' parameter, that can take checksums in different form (currently supporting sha256 and sha512). Consider such a checksum also sufficient for the requirement of not downloading from plain http URLs without a given checksum introduced in #8607. Change-Id: I164e1afcdb65124a361321603c7277dc635c05b9 PiperOrigin-RevId: 259323443
- Loading branch information
1 parent
c1ec34f
commit 02af54d
Showing
2 changed files
with
46 additions
and
2 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