Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression between SDK v1 and v2 around client side encryption #5252

Closed
NathanEckert opened this issue May 29, 2024 · 2 comments
Closed

Regression between SDK v1 and v2 around client side encryption #5252

NathanEckert opened this issue May 29, 2024 · 2 comments
Labels
guidance Question that needs advice or information.

Comments

@NathanEckert
Copy link

NathanEckert commented May 29, 2024

Describe the bug

In AWS SDK v1, I was using com.amazonaws.services.s3.AmazonS3EncryptionClientBuilder. In AWS SDK v2, I used software.amazon.encryption.s3.S3EncryptionClient

However, there are some issues when using the new client (S3EncryptionClient.builder().rsaKeyPair(keyPair).wrappedClient(baseClient).build()).

We tracked down the issue and opened aws/amazon-s3-encryption-client-java#231, but as there was no response from the AWS team, I am opening a new ticket here as it is a migration problem from the SDK v1 to v2

Regards,

Expected Behavior

To be able to use Range Queries with RSA based client side encryption in the SDK v2

Current Behavior

Range Queries with RSA based client side encryption raise an Exception

Reproduction Steps

See aws/amazon-s3-encryption-client-java#231

Possible Solution

See aws/amazon-s3-encryption-client-java#231 (comment)

Additional Information/Context

No response

AWS Java SDK version used

  • software.amazon.awssdk:bom: 2.25.18
  • software.amazon.encryption.s3:amazon-s3-encryption-client-java: 3.1.2

JDK version used

openjdk 21.0.3 2024-04-16 LTS

Operating System and version

Ubuntu 22.04.4 LTS

@NathanEckert NathanEckert added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels May 29, 2024
@debora-ito
Copy link
Member

Hi @NathanEckert I'll see if I can raise your issue to the Encryption team, they are the maintainers of aws/amazon-s3-encryption-client-java.

Closing this for now.

@debora-ito debora-ito added guidance Question that needs advice or information. and removed needs-triage This issue or PR still needs to be triaged. bug This issue is a bug. labels May 30, 2024
@debora-ito debora-ito closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

2 participants