Assigned
Status Update
Comments
ba...@google.com <ba...@google.com>
ma...@google.com <ma...@google.com> #2
Thanks for the report. I will route this to the appropriate internal team and update this when I hear back from them.
ma...@google.com <ma...@google.com>
me...@google.com <me...@google.com> #3
One more detail, Data Layer event calls from the watch to the phone (running Android 13) do work on if the listener is in an Activity or Fragment.
Description
The user is unable to encrypt/decrypt the file which is larger than 65536/131072 bytes. and asking if there is another way to achieve that. The user is looking to encrypt / decrypt a file of 1.7 MB. The user faced the below error:
ERROR: (gcloud.kms.encrypt) The file [XXXX] is larger than the maximum size of 65536 bytes.
ERROR: (gcloud.kms.decrypt) The file [snapshot-xxxxx] is larger than the maximum size of 131072 bytes.
When facing limitations in encrypting or decrypting files larger than 65,536 or 131,072 bytes with Google Cloud KMS, as per the documentation [1], As per the google document[1],the max size of data that can be encrypted/ decrypt is 64 KiB. The approach is Splitting the data into smaller chunks howeveri don't find alternative approaches.So, I am going ahead and creating a new Feature Request on this.
[1]https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys/encrypt#:~:text=Required.%20The%20data%20to%20encrypt.%20Must%20be%20no%20larger%20than%2064KiB .
Is it possible to encrypt / decrypt the KMS file of 1.7 MB ? Can you provide any other way to encrypt / decrypt which is larger than the default or which meets the user requirements .