Skip to content

feat: AWS KMS multi-Region Key support #631

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

Merged
merged 1 commit into from
Jun 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ package.json.decrypt

# local npx cache
/verdaccio/.npx
/specification_compliance_report.html

# These version files are build by genversion
# they track the package.json version
Expand Down
4 changes: 3 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[submodule "aws-encryption-sdk-test-vectors"]
path = aws-encryption-sdk-test-vectors
url = https://github.com/awslabs/private-aws-encryption-sdk-test-vectors-staging.git
branch = known-invalid-test-vectors
[submodule "aws-encryption-sdk-specification"]
path = aws-encryption-sdk-specification
url = https://github.com/awslabs/private-aws-encryption-sdk-specification-staging.git
1 change: 1 addition & 0 deletions aws-encryption-sdk-specification
2 changes: 1 addition & 1 deletion aws-encryption-sdk-test-vectors
22 changes: 20 additions & 2 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,25 @@ version: 0.2
batch:
fast-fail: false
build-list:
- identifier: nodejs10
- identifier: testNodejs10
buildspec: codebuild/nodejs10.yml
- identifier: nodejs12
- identifier: testNodejs12
buildspec: codebuild/nodejs12.yml
- identifier: testNodejs14
buildspec: codebuild/nodejs14.yml
env:
image: aws/codebuild/standard:5.0
- identifier: testBrowser
buildspec: codebuild/browser.yml
- identifier: compliance
buildspec: codebuild/compliance.yml
- identifier: testVectorsNodejs10
buildspec: codebuild/test_vectors/nodejs10.yml
- identifier: testVectorsNodejs12
buildspec: codebuild/test_vectors/nodejs12.yml
- identifier: testVectorsNodejs14
buildspec: codebuild/test_vectors/nodejs14.yml
env:
image: aws/codebuild/standard:5.0
- identifier: testVectorsBrowser
buildspec: codebuild/test_vectors/browser.yml
16 changes: 16 additions & 0 deletions codebuild/browser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 0.2

env:
variables:
NODE_OPTIONS: "--max-old-space-size=4096"

phases:
install:
runtime-versions:
nodejs: latest
commands:
- npm ci --unsafe-perm
- npm run build
build:
commands:
- npm run coverage-browser
16 changes: 16 additions & 0 deletions codebuild/compliance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 0.2

env:
variables:
NODE_OPTIONS: "--max-old-space-size=4096"

phases:
install:
runtime-versions:
nodejs: latest
commands:
- npm ci --unsafe-perm
build:
commands:
- npm run lint
- npm run test_conditions
24 changes: 11 additions & 13 deletions codebuild/nodejs10.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
version: 0.2

env:
variables:
NODE_OPTIONS: "--max-old-space-size=4096"
variables:
NODE_OPTIONS: "--max-old-space-size=4096"

phases:
install:
runtime-versions:
nodejs: 10
commands:
- npm ci --unsafe-perm
- npm run build
build:
commands:
- npm test
- npm run test_conditions
- npm run verdaccio
install:
runtime-versions:
nodejs: 10
commands:
- npm ci --unsafe-perm
- npm run build
build:
commands:
- npm run coverage-node
24 changes: 11 additions & 13 deletions codebuild/nodejs12.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
version: 0.2

env:
variables:
NODE_OPTIONS: "--max-old-space-size=4096"
variables:
NODE_OPTIONS: "--max-old-space-size=4096"

phases:
install:
runtime-versions:
nodejs: 12
commands:
- npm ci --unsafe-perm
- npm run build
build:
commands:
- npm test
- npm run test_conditions
- npm run verdaccio
install:
runtime-versions:
nodejs: 12
commands:
- npm ci --unsafe-perm
- npm run build
build:
commands:
- npm run coverage-node
16 changes: 16 additions & 0 deletions codebuild/nodejs14.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 0.2

env:
variables:
NODE_OPTIONS: "--max-old-space-size=4096"

phases:
install:
runtime-versions:
nodejs: 14
commands:
- npm ci --unsafe-perm
- npm run build
build:
commands:
- npm run coverage-node
18 changes: 18 additions & 0 deletions codebuild/test_vectors/browser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 0.2

env:
variables:
NODE_OPTIONS: "--max-old-space-size=4096"

phases:
install:
runtime-versions:
nodejs: latest
commands:
- npm ci --unsafe-perm
- npm run build
build:
commands:
- npm run verdaccio-publish
- npm run verdaccio-publish-browser-decrypt
- npm run verdaccio-publish-browser-encrypt
18 changes: 18 additions & 0 deletions codebuild/test_vectors/nodejs10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 0.2

env:
variables:
NODE_OPTIONS: "--max-old-space-size=4096"

phases:
install:
runtime-versions:
nodejs: 10
commands:
- npm ci --unsafe-perm
- npm run build
build:
commands:
- npm run verdaccio-publish
- npm run verdaccio-publish-node-decrypt
- npm run verdaccio-publish-node-encrypt
18 changes: 18 additions & 0 deletions codebuild/test_vectors/nodejs12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 0.2

env:
variables:
NODE_OPTIONS: "--max-old-space-size=4096"

phases:
install:
runtime-versions:
nodejs: 12
commands:
- npm ci --unsafe-perm
- npm run build
build:
commands:
- npm run verdaccio-publish
- npm run verdaccio-publish-node-decrypt
- npm run verdaccio-publish-node-encrypt
18 changes: 18 additions & 0 deletions codebuild/test_vectors/nodejs14.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 0.2

env:
variables:
NODE_OPTIONS: "--max-old-space-size=4096"

phases:
install:
runtime-versions:
nodejs: 14
commands:
- npm ci --unsafe-perm
- npm run build
build:
commands:
- npm run verdaccio-publish
- npm run verdaccio-publish-node-decrypt
- npm run verdaccio-publish-node-encrypt
Loading