This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
Releases: GoogleCloudPlatform/client-side-encryption
Releases · GoogleCloudPlatform/client-side-encryption
0.9.2
The 0.9.2 release adds custom metadata to the client side encrypted objects for both the gsutil
wrapper as well as the Python client library. The metadata can be viewed with gsutil stat
. For example:
root@pkg-test-2004-3:~/client-side-encryption# gsutil stat gs://aw-314374a4-9a5a-4090-a9db-663-storage/testobject
gsutil is being wrapped. Standard gsutil available at: /snap/bin/gsutil
gs://aw-314374a4-9a5a-4090-a9db-663-storage/testobject:
Creation time: Fri, 05 Feb 2021 15:03:01 GMT
Update time: Fri, 05 Feb 2021 15:03:03 GMT
Storage class: REGIONAL
Content-Length: 156
Content-Type: application/octet-stream
Metadata:
client-side-encrypted:true
Hash (crc32c): 6X/SiA==
Hash (md5): JB2ONGnSNEsoJ/AW2HxJ2A==
ETag: CLCvrO6B0+4CEAI=
Generation: 1612537381197744
Metageneration: 2
0.9.1
This release has been tested and found to work on Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
To install it, download the .deb
below, then run:
sudo apt-get install -y /path/to/client_side_encryption_0.9-1.deb
To verify the wrappers' functionality, use the following method to invoke the wrapper unit tests. Note that your service account's JSON key needs to live locally at the path described by CREDS_JSON
:
export PROJECT_ID=cmek-12345678-abcd-ef01-23456789-1
export SERVICE_ACCOUNT_NAME=cse-compute-sa
export REGION=us-central1
export KEYRING_NAME=cse-20210203-1
export KEY_NAME=cse-20210203-1
export CREDS_JSON=/root/serviceaccount_creds.json
export BUCKET_NAME=aw-abcdef12-3456-7890-abcd-ef1-storage
export BLOB_NAME=testobject
pushd client-side-encryption
python3 test_wrapper.py