Skip to content

Decrypting non-encrypted content with AmazonS3EncryptionClientV2 #71

@ashishdhingra

Description

@ashishdhingra

Discussed in #63

Originally posted by simenstensas September 30, 2024
Hi! I've upgraded to the latest preview of AmazonS3EncryptionClientV2 and so far it works out of the box with encrypted content.

However it fails when getting non-encrypted content with message "Amazon.Runtime.AmazonServiceException: Unable to decrypt data for object [object] in bucket [bucket]". Since the metadata contains information about whether the content is encrypted or not, could one just not decrypt it if no headers are found?

If this is not possible, what could be a solution for me?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingp2This is a standard priority issuequeuedsEffort estimation: small

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions