You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently the tar.gz of gcloud downloaded from GCS is not verified once downloaded. It should be checked against a hash to ensure it was downloaded correctly.
Describe the solution you'd like
GCP Storage APIs for GCS Object Get support fetching a crc32c and md5Hash field in the metadata. We should leverage those to ensure the file is correct once downloaded.
Is your feature request related to a problem? Please describe.
Currently the
tar.gz
ofgcloud
downloaded from GCS is not verified once downloaded. It should be checked against a hash to ensure it was downloaded correctly.Describe the solution you'd like
GCP Storage APIs for GCS Object Get support fetching a
crc32c
andmd5Hash
field in the metadata. We should leverage those to ensure the file is correct once downloaded.Describe alternatives you've considered
NA
Additional context
Google recommends using
crc32c
overmd5
. Importantly,crc32c
is NOT the same ascrc32
.crc32c
installed viapip
in thegcloud
Google Cloud Builder: https://github.com/GoogleCloudPlatform/cloud-builders/blob/cb2df7028a2127d4ac0b8df34fc9d9fb8a5147ad/gcloud/Dockerfile.slim#L20The text was updated successfully, but these errors were encountered: