Skip to content

Storage: 'Blob.reload' does not pass encryption headers #7440

@tseaver

Description

@tseaver

Per the docs on customer-supplied encryption keys, the X-Goog-Encryption-Key header applies not only the the blob / object's payload, but also to its CRC32c checksum and MD5 hash fields.

Blob.reload (inherited from _helpers._PropertyMixin does not pass those headers, and thus the returned resource will not have the crc32c or md5Hash fields set.

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions