-
Notifications
You must be signed in to change notification settings - Fork 63
feat!: Drop Support & Dependency on AWS SDK V2 #1177
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
Conversation
BREAKING CHANGE: The AWS Encryption SDK for JavaScript: - does not supports the AWS SDK for JavaScript V2 - requires the AWS SDK for JavaScript V3's kms-client (if using the KMS Keyring).
All tests passed except for the testVectorsBrowser. That failed while trying to build
So something is not configured to depend on the KMS Client correctly. |
describe('KmsKeyringBrowser can encrypt/decrypt with AWS SDK v2 client', () => { | ||
const generatorKeyId = | ||
'arn:aws:kms:us-west-2:658956600833:alias/EncryptDecrypt' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just because we are changing the default, why are we removing the tests for the old SDK?
@@ -16,7 +16,6 @@ import { | |||
AlgorithmSuiteIdentifier, | |||
WebCryptoDecryptionMaterial, | |||
} from '@aws-crypto/material-management-browser' | |||
import { KMS as V2KMS } from 'aws-sdk' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above. Why does changing the default remove support? Or the need to test that support?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we not testing the SDK v2?
Until we remove support we should continue to test it
In this PR, I went all the way, and removed V2 support entirely. I take it that you object to to that. I will refactor this PR to return SDK V2 Support, but not take a dependency on it. |
Addresses feedback in aws#1177: aws#1177 (review)
Replaced by #1180 |
Issue #, if available: #1100, #922, #865
Description of changes:
Drop Support & Dependency on AWS SDK V2
BREAKING CHANGE:
The AWS Encryption SDK for JavaScript:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Check any applicable: