Skip to content

chore: bump @types/sinon from 7.5.2 to 10.0.2 #615

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

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 2, 2021

Bumps @types/sinon from 7.5.2 to 10.0.2.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 2, 2021
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/types/sinon-10.0.2 branch 4 times, most recently from d98c252 to 4efb90e Compare June 11, 2021 00:08
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/types/sinon-10.0.2 branch 2 times, most recently from 6ee61ce to b6eb06a Compare June 16, 2021 17:13
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/types/sinon-10.0.2 branch 2 times, most recently from ecba714 to dfa6935 Compare July 1, 2021 17:55
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 7.5.2 to 10.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon)

---
updated-dependencies:
- dependency-name: "@types/sinon"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/types/sinon-10.0.2 branch from dfa6935 to 20f8970 Compare July 13, 2021 18:22
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 13, 2021

Looks like @types/sinon is no longer a dependency, so this is no longer needed.

@dependabot dependabot bot closed this Jul 13, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/types/sinon-10.0.2 branch July 13, 2021 21:31
seebees added a commit that referenced this pull request Dec 13, 2024
* bump up lerna

* Revert "bump up lerna"

This reverts commit 6b3853ea7e184f485c30d45c50c18ba2d1c7e1d9.

* Revert "feat(branch-keystore): model AWS KMS configuration"

This reverts commit fa8eabcb46290fdd1dbc99baf8ee1a3d2facdc25.

* Reapply "feat(branch-keystore): model AWS KMS configuration"

This reverts commit 96e8b3085530a67fa46fab653e173eb1db01a7e9.

* bump lerna up from 7.3.0 to 8.1.6

* add dependencies to ensure proper build

* npm audit fix

* fix test compliance issues
seebees added a commit that referenced this pull request Dec 13, 2024
* chore: update package-lock.json (#1425)

run `npm audit fix`

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* fix(CI): bump up lerna from 7.3.0 to 8.1.6 (#615)

* bump up lerna

* Revert "bump up lerna"

This reverts commit 6b3853ea7e184f485c30d45c50c18ba2d1c7e1d9.

* Revert "feat(branch-keystore): model AWS KMS configuration"

This reverts commit fa8eabcb46290fdd1dbc99baf8ee1a3d2facdc25.

* Reapply "feat(branch-keystore): model AWS KMS configuration"

This reverts commit 96e8b3085530a67fa46fab653e173eb1db01a7e9.

* bump lerna up from 7.3.0 to 8.1.6

* add dependencies to ensure proper build

* npm audit fix

* fix test compliance issues

* fix(branch-keystore): modify AWS KMS configuration to only support single region key compatibility for now (#608)

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* made the fix and tested

* remove duplicate compliance citations

* specified compliance tests

* fix compliance tests

* fix duvet

* remove duvet test annotations

* add compliance tests for duvet

* fix compliance tests for duvet

* fix compliance tests for duvet

* change lerna version

* removed getParsedArn

* separate kms config helpers from types

* specified what's a 'bad arn' in tests

* better error msg

* no longer supressing errors from parseAwsKmsKeyArn

* changed tests to assert for specific error messages

* add a notice

* sync lock file with package.json

* consolidate helpers

* compliance test citation

* add additional flag methods to tell us config state

* divide helper function tests and class method tests

* add notice

* Revert "change lerna version"

This reverts commit a9ba112605c76295fb23cfda651f37eff9332e7b.

* Update package-lock.json

* Noop commit

* wrote keystore

* modify tests

* modifying tests

* add constructor tests

* use material management module's branch key material class

* more testing

* create fixtures file to consolidate all test constants

* rename

* more tests and duvet

* add copyright notice

* fix test

* fix test

* change interface name

* change param type to interface

* change method signature

* change return types because this is a node package

* indicate integration tests

* add mock network calls todo

* better error message for getBranchKeyItem helper

* more concise

* leave grant tokens empty

* modify mock todo

* consolidate constants into one file

* add notice

* remove tests involving multi region keys

* moved non-resource info out of fixtures

* reinstall dependencies

* sync lockfile after rebase

* assume SRK

* changes

* rename keystore interface

---------

Co-authored-by: seebees <[email protected]>
seebees added a commit that referenced this pull request Dec 13, 2024
…ction (#609)

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* change macLengthBytes to h as in SP800-108

* change # iterations formula

* removed dead code

* made nonce optional and added a test

* simplify calculation

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* better spacing

* match test file name with src file name

* optional nonce test

* explain why offset is not a param

* correct # iters

* modify preconditions

* chore: update package-lock.json (#1425)

run `npm audit fix`

* chore(CI): Add CodeBuild GHA Runner (#603)

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* fix(CI): bump up lerna from 7.3.0 to 8.1.6 (#615)

* bump up lerna

* Revert "bump up lerna"

This reverts commit 6b3853ea7e184f485c30d45c50c18ba2d1c7e1d9.

* Revert "feat(branch-keystore): model AWS KMS configuration"

This reverts commit fa8eabcb46290fdd1dbc99baf8ee1a3d2facdc25.

* Reapply "feat(branch-keystore): model AWS KMS configuration"

This reverts commit 96e8b3085530a67fa46fab653e173eb1db01a7e9.

* bump lerna up from 7.3.0 to 8.1.6

* add dependencies to ensure proper build

* npm audit fix

* fix test compliance issues

* fix(branch-keystore): modify AWS KMS configuration to only support single region key compatibility for now (#608)

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* made the fix and tested

* remove duplicate compliance citations

* specified compliance tests

* fix compliance tests

* fix duvet

* remove duvet test annotations

* add compliance tests for duvet

* fix compliance tests for duvet

* fix compliance tests for duvet

* change lerna version

* removed getParsedArn

* separate kms config helpers from types

* specified what's a 'bad arn' in tests

* better error msg

* no longer supressing errors from parseAwsKmsKeyArn

* changed tests to assert for specific error messages

* add a notice

* sync lock file with package.json

* consolidate helpers

* compliance test citation

* add additional flag methods to tell us config state

* divide helper function tests and class method tests

* add notice

* Revert "change lerna version"

This reverts commit a9ba112605c76295fb23cfda651f37eff9332e7b.

* Update package-lock.json

* feat(cryptographic-materials-cache): add support for branch key materials (#596)

* support branch key materials

support branch key materials

reinstall uuidv4

* reinstall uuidv4 within specific modules

* install util package

* uninstall uuidv4 package from code that may run in browser runtimes

* generate uuid v4's using uuid package instead of uuidv4

* manually validate uuid v4's

* install uuid package

* remove uuidv4 regex validation

* remove version lowercasing

* add tests for v3 & v5

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* change macLengthBytes to h as in SP800-108

* change # iterations formula

* removed dead code

* made nonce optional and added a test

* simplify calculation

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* better spacing

* match test file name with src file name

* optional nonce test

* explain why offset is not a param

* correct # iters

* modify preconditions

* sync lock file

* chore: update package-lock.json (#1425)

run `npm audit fix`

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* fix(CI): bump up lerna from 7.3.0 to 8.1.6 (#615)

* bump up lerna

* Revert "bump up lerna"

This reverts commit 6b3853ea7e184f485c30d45c50c18ba2d1c7e1d9.

* Revert "feat(branch-keystore): model AWS KMS configuration"

This reverts commit fa8eabcb46290fdd1dbc99baf8ee1a3d2facdc25.

* Reapply "feat(branch-keystore): model AWS KMS configuration"

This reverts commit 96e8b3085530a67fa46fab653e173eb1db01a7e9.

* bump lerna up from 7.3.0 to 8.1.6

* add dependencies to ensure proper build

* npm audit fix

* fix test compliance issues

* fix(branch-keystore): modify AWS KMS configuration to only support single region key compatibility for now (#608)

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* made the fix and tested

* remove duplicate compliance citations

* specified compliance tests

* fix compliance tests

* fix duvet

* remove duvet test annotations

* add compliance tests for duvet

* fix compliance tests for duvet

* fix compliance tests for duvet

* change lerna version

* removed getParsedArn

* separate kms config helpers from types

* specified what's a 'bad arn' in tests

* better error msg

* no longer supressing errors from parseAwsKmsKeyArn

* changed tests to assert for specific error messages

* add a notice

* sync lock file with package.json

* consolidate helpers

* compliance test citation

* add additional flag methods to tell us config state

* divide helper function tests and class method tests

* add notice

* Revert "change lerna version"

This reverts commit a9ba112605c76295fb23cfda651f37eff9332e7b.

* Update package-lock.json

* feat(cryptographic-materials-cache): add support for branch key materials (#596)

* support branch key materials

support branch key materials

reinstall uuidv4

* reinstall uuidv4 within specific modules

* install util package

* uninstall uuidv4 package from code that may run in browser runtimes

* generate uuid v4's using uuid package instead of uuidv4

* manually validate uuid v4's

* install uuid package

* remove uuidv4 regex validation

* remove version lowercasing

* add tests for v3 & v5

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* change macLengthBytes to h as in SP800-108

* change # iterations formula

* removed dead code

* made nonce optional and added a test

* simplify calculation

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* better spacing

* match test file name with src file name

* optional nonce test

* explain why offset is not a param

* correct # iters

* modify preconditions

* sync lock file

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* made nonce optional and added a test

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* match test file name with src file name

* sync lock file after rebase

* chain the calls

* chore: update package-lock.json (#1425)

run `npm audit fix`

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* fix(CI): bump up lerna from 7.3.0 to 8.1.6 (#615)

* bump up lerna

* Revert "bump up lerna"

This reverts commit 6b3853ea7e184f485c30d45c50c18ba2d1c7e1d9.

* Revert "feat(branch-keystore): model AWS KMS configuration"

This reverts commit fa8eabcb46290fdd1dbc99baf8ee1a3d2facdc25.

* Reapply "feat(branch-keystore): model AWS KMS configuration"

This reverts commit 96e8b3085530a67fa46fab653e173eb1db01a7e9.

* bump lerna up from 7.3.0 to 8.1.6

* add dependencies to ensure proper build

* npm audit fix

* fix test compliance issues

* fix(branch-keystore): modify AWS KMS configuration to only support single region key compatibility for now (#608)

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* made the fix and tested

* remove duplicate compliance citations

* specified compliance tests

* fix compliance tests

* fix duvet

* remove duvet test annotations

* add compliance tests for duvet

* fix compliance tests for duvet

* fix compliance tests for duvet

* change lerna version

* removed getParsedArn

* separate kms config helpers from types

* specified what's a 'bad arn' in tests

* better error msg

* no longer supressing errors from parseAwsKmsKeyArn

* changed tests to assert for specific error messages

* add a notice

* sync lock file with package.json

* consolidate helpers

* compliance test citation

* add additional flag methods to tell us config state

* divide helper function tests and class method tests

* add notice

* Revert "change lerna version"

This reverts commit a9ba112605c76295fb23cfda651f37eff9332e7b.

* Update package-lock.json

* feat(cryptographic-materials-cache): add support for branch key materials (#596)

* support branch key materials

support branch key materials

reinstall uuidv4

* reinstall uuidv4 within specific modules

* install util package

* uninstall uuidv4 package from code that may run in browser runtimes

* generate uuid v4's using uuid package instead of uuidv4

* manually validate uuid v4's

* install uuid package

* remove uuidv4 regex validation

* remove version lowercasing

* add tests for v3 & v5

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* change macLengthBytes to h as in SP800-108

* change # iterations formula

* removed dead code

* made nonce optional and added a test

* simplify calculation

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* better spacing

* match test file name with src file name

* optional nonce test

* explain why offset is not a param

* correct # iters

* modify preconditions

* sync lock file

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* made nonce optional and added a test

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* match test file name with src file name

* sync lock file after rebase

* chore: update package-lock.json (#1425)

run `npm audit fix`

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* fix(CI): bump up lerna from 7.3.0 to 8.1.6 (#615)

* bump up lerna

* Revert "bump up lerna"

This reverts commit 6b3853ea7e184f485c30d45c50c18ba2d1c7e1d9.

* Revert "feat(branch-keystore): model AWS KMS configuration"

This reverts commit fa8eabcb46290fdd1dbc99baf8ee1a3d2facdc25.

* Reapply "feat(branch-keystore): model AWS KMS configuration"

This reverts commit 96e8b3085530a67fa46fab653e173eb1db01a7e9.

* bump lerna up from 7.3.0 to 8.1.6

* add dependencies to ensure proper build

* npm audit fix

* fix test compliance issues

* fix(branch-keystore): modify AWS KMS configuration to only support single region key compatibility for now (#608)

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* made the fix and tested

* remove duplicate compliance citations

* specified compliance tests

* fix compliance tests

* fix duvet

* remove duvet test annotations

* add compliance tests for duvet

* fix compliance tests for duvet

* fix compliance tests for duvet

* change lerna version

* removed getParsedArn

* separate kms config helpers from types

* specified what's a 'bad arn' in tests

* better error msg

* no longer supressing errors from parseAwsKmsKeyArn

* changed tests to assert for specific error messages

* add a notice

* sync lock file with package.json

* consolidate helpers

* compliance test citation

* add additional flag methods to tell us config state

* divide helper function tests and class method tests

* add notice

* Revert "change lerna version"

This reverts commit a9ba112605c76295fb23cfda651f37eff9332e7b.

* Update package-lock.json

* feat(cryptographic-materials-cache): add support for branch key materials (#596)

* support branch key materials

support branch key materials

reinstall uuidv4

* reinstall uuidv4 within specific modules

* install util package

* uninstall uuidv4 package from code that may run in browser runtimes

* generate uuid v4's using uuid package instead of uuidv4

* manually validate uuid v4's

* install uuid package

* remove uuidv4 regex validation

* remove version lowercasing

* add tests for v3 & v5

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* made nonce optional and added a test

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* match test file name with src file name

* sync lock file

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* made nonce optional and added a test

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* match test file name with src file name

* chain the calls

* sync lockfile after rebase

---------

Co-authored-by: seebees <[email protected]>
Co-authored-by: José Corella <[email protected]>
seebees added a commit that referenced this pull request Dec 13, 2024
* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

fix(CI): bump up lerna from 7.3.0 to 8.1.6 (#615)

* bump up lerna

* Revert "bump up lerna"

This reverts commit 6b3853ea7e184f485c30d45c50c18ba2d1c7e1d9.

* Revert "feat(branch-keystore): model AWS KMS configuration"

This reverts commit fa8eabcb46290fdd1dbc99baf8ee1a3d2facdc25.

* Reapply "feat(branch-keystore): model AWS KMS configuration"

This reverts commit 96e8b3085530a67fa46fab653e173eb1db01a7e9.

* bump lerna up from 7.3.0 to 8.1.6

* add dependencies to ensure proper build

* npm audit fix

* fix test compliance issues

fix(branch-keystore): modify AWS KMS configuration to only support single region key compatibility for now (#608)

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* made the fix and tested

* remove duplicate compliance citations

* specified compliance tests

* fix compliance tests

* fix duvet

* remove duvet test annotations

* add compliance tests for duvet

* fix compliance tests for duvet

* fix compliance tests for duvet

* change lerna version

* removed getParsedArn

* separate kms config helpers from types

* specified what's a 'bad arn' in tests

* better error msg

* no longer supressing errors from parseAwsKmsKeyArn

* changed tests to assert for specific error messages

* add a notice

* sync lock file with package.json

* consolidate helpers

* compliance test citation

* add additional flag methods to tell us config state

* divide helper function tests and class method tests

* add notice

* Revert "change lerna version"

This reverts commit a9ba112605c76295fb23cfda651f37eff9332e7b.

* Update package-lock.json

feat(cryptographic-materials-cache): add support for branch key materials (#596)

* support branch key materials

support branch key materials

reinstall uuidv4

* reinstall uuidv4 within specific modules

* install util package

* uninstall uuidv4 package from code that may run in browser runtimes

* generate uuid v4's using uuid package instead of uuidv4

* manually validate uuid v4's

* install uuid package

* remove uuidv4 regex validation

* remove version lowercasing

* add tests for v3 & v5

feat(hierarchical-keyring): Uuidv4 byte compression (#626)

* wrote code and added tests from MPL

* explain the ranges

add plain interface (#595)

feat(hierarchical-keyring): add branch keystore (#620)

* chore: update package-lock.json (#1425)

run `npm audit fix`

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* fix(CI): bump up lerna from 7.3.0 to 8.1.6 (#615)

* bump up lerna

* Revert "bump up lerna"

This reverts commit 6b3853ea7e184f485c30d45c50c18ba2d1c7e1d9.

* Revert "feat(branch-keystore): model AWS KMS configuration"

This reverts commit fa8eabcb46290fdd1dbc99baf8ee1a3d2facdc25.

* Reapply "feat(branch-keystore): model AWS KMS configuration"

This reverts commit 96e8b3085530a67fa46fab653e173eb1db01a7e9.

* bump lerna up from 7.3.0 to 8.1.6

* add dependencies to ensure proper build

* npm audit fix

* fix test compliance issues

* fix(branch-keystore): modify AWS KMS configuration to only support single region key compatibility for now (#608)

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* made the fix and tested

* remove duplicate compliance citations

* specified compliance tests

* fix compliance tests

* fix duvet

* remove duvet test annotations

* add compliance tests for duvet

* fix compliance tests for duvet

* fix compliance tests for duvet

* change lerna version

* removed getParsedArn

* separate kms config helpers from types

* specified what's a 'bad arn' in tests

* better error msg

* no longer supressing errors from parseAwsKmsKeyArn

* changed tests to assert for specific error messages

* add a notice

* sync lock file with package.json

* consolidate helpers

* compliance test citation

* add additional flag methods to tell us config state

* divide helper function tests and class method tests

* add notice

* Revert "change lerna version"

This reverts commit a9ba112605c76295fb23cfda651f37eff9332e7b.

* Update package-lock.json

* Noop commit

* wrote keystore

* modify tests

* modifying tests

* add constructor tests

* use material management module's branch key material class

* more testing

* create fixtures file to consolidate all test constants

* rename

* more tests and duvet

* add copyright notice

* fix test

* fix test

* change interface name

* change param type to interface

* change method signature

* change return types because this is a node package

* indicate integration tests

* add mock network calls todo

* better error message for getBranchKeyItem helper

* more concise

* leave grant tokens empty

* modify mock todo

* consolidate constants into one file

* add notice

* remove tests involving multi region keys

* moved non-resource info out of fixtures

* reinstall dependencies

* sync lockfile after rebase

* assume SRK

* changes

* rename keystore interface

---------

Co-authored-by: seebees <[email protected]>

feat(hierarchical-keyring): KDF in counter mode with pseudorandom function (#609)

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* change macLengthBytes to h as in SP800-108

* change # iterations formula

* removed dead code

* made nonce optional and added a test

* simplify calculation

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* better spacing

* match test file name with src file name

* optional nonce test

* explain why offset is not a param

* correct # iters

* modify preconditions

* chore: update package-lock.json (#1425)

run `npm audit fix`

* chore(CI): Add CodeBuild GHA Runner (#603)

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* fix(CI): bump up lerna from 7.3.0 to 8.1.6 (#615)

* bump up lerna

* Revert "bump up lerna"

This reverts commit 6b3853ea7e184f485c30d45c50c18ba2d1c7e1d9.

* Revert "feat(branch-keystore): model AWS KMS configuration"

This reverts commit fa8eabcb46290fdd1dbc99baf8ee1a3d2facdc25.

* Reapply "feat(branch-keystore): model AWS KMS configuration"

This reverts commit 96e8b3085530a67fa46fab653e173eb1db01a7e9.

* bump lerna up from 7.3.0 to 8.1.6

* add dependencies to ensure proper build

* npm audit fix

* fix test compliance issues

* fix(branch-keystore): modify AWS KMS configuration to only support single region key compatibility for now (#608)

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* made the fix and tested

* remove duplicate compliance citations

* specified compliance tests

* fix compliance tests

* fix duvet

* remove duvet test annotations

* add compliance tests for duvet

* fix compliance tests for duvet

* fix compliance tests for duvet

* change lerna version

* removed getParsedArn

* separate kms config helpers from types

* specified what's a 'bad arn' in tests

* better error msg

* no longer supressing errors from parseAwsKmsKeyArn

* changed tests to assert for specific error messages

* add a notice

* sync lock file with package.json

* consolidate helpers

* compliance test citation

* add additional flag methods to tell us config state

* divide helper function tests and class method tests

* add notice

* Revert "change lerna version"

This reverts commit a9ba112605c76295fb23cfda651f37eff9332e7b.

* Update package-lock.json

* feat(cryptographic-materials-cache): add support for branch key materials (#596)

* support branch key materials

support branch key materials

reinstall uuidv4

* reinstall uuidv4 within specific modules

* install util package

* uninstall uuidv4 package from code that may run in browser runtimes

* generate uuid v4's using uuid package instead of uuidv4

* manually validate uuid v4's

* install uuid package

* remove uuidv4 regex validation

* remove version lowercasing

* add tests for v3 & v5

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* change macLengthBytes to h as in SP800-108

* change # iterations formula

* removed dead code

* made nonce optional and added a test

* simplify calculation

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* better spacing

* match test file name with src file name

* optional nonce test

* explain why offset is not a param

* correct # iters

* modify preconditions

* sync lock file

* chore: update package-lock.json (#1425)

run `npm audit fix`

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* fix(CI): bump up lerna from 7.3.0 to 8.1.6 (#615)

* bump up lerna

* Revert "bump up lerna"

This reverts commit 6b3853ea7e184f485c30d45c50c18ba2d1c7e1d9.

* Revert "feat(branch-keystore): model AWS KMS configuration"

This reverts commit fa8eabcb46290fdd1dbc99baf8ee1a3d2facdc25.

* Reapply "feat(branch-keystore): model AWS KMS configuration"

This reverts commit 96e8b3085530a67fa46fab653e173eb1db01a7e9.

* bump lerna up from 7.3.0 to 8.1.6

* add dependencies to ensure proper build

* npm audit fix

* fix test compliance issues

* fix(branch-keystore): modify AWS KMS configuration to only support single region key compatibility for now (#608)

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* made the fix and tested

* remove duplicate compliance citations

* specified compliance tests

* fix compliance tests

* fix duvet

* remove duvet test annotations

* add compliance tests for duvet

* fix compliance tests for duvet

* fix compliance tests for duvet

* change lerna version

* removed getParsedArn

* separate kms config helpers from types

* specified what's a 'bad arn' in tests

* better error msg

* no longer supressing errors from parseAwsKmsKeyArn

* changed tests to assert for specific error messages

* add a notice

* sync lock file with package.json

* consolidate helpers

* compliance test citation

* add additional flag methods to tell us config state

* divide helper function tests and class method tests

* add notice

* Revert "change lerna version"

This reverts commit a9ba112605c76295fb23cfda651f37eff9332e7b.

* Update package-lock.json

* feat(cryptographic-materials-cache): add support for branch key materials (#596)

* support branch key materials

support branch key materials

reinstall uuidv4

* reinstall uuidv4 within specific modules

* install util package

* uninstall uuidv4 package from code that may run in browser runtimes

* generate uuid v4's using uuid package instead of uuidv4

* manually validate uuid v4's

* install uuid package

* remove uuidv4 regex validation

* remove version lowercasing

* add tests for v3 & v5

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* change macLengthBytes to h as in SP800-108

* change # iterations formula

* removed dead code

* made nonce optional and added a test

* simplify calculation

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* better spacing

* match test file name with src file name

* optional nonce test

* explain why offset is not a param

* correct # iters

* modify preconditions

* sync lock file

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* made nonce optional and added a test

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* match test file name with src file name

* sync lock file after rebase

* chain the calls

* chore: update package-lock.json (#1425)

run `npm audit fix`

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* fix(CI): bump up lerna from 7.3.0 to 8.1.6 (#615)

* bump up lerna

* Revert "bump up lerna"

This reverts commit 6b3853ea7e184f485c30d45c50c18ba2d1c7e1d9.

* Revert "feat(branch-keystore): model AWS KMS configuration"

This reverts commit fa8eabcb46290fdd1dbc99baf8ee1a3d2facdc25.

* Reapply "feat(branch-keystore): model AWS KMS configuration"

This reverts commit 96e8b3085530a67fa46fab653e173eb1db01a7e9.

* bump lerna up from 7.3.0 to 8.1.6

* add dependencies to ensure proper build

* npm audit fix

* fix test compliance issues

* fix(branch-keystore): modify AWS KMS configuration to only support single region key compatibility for now (#608)

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* made the fix and tested

* remove duplicate compliance citations

* specified compliance tests

* fix compliance tests

* fix duvet

* remove duvet test annotations

* add compliance tests for duvet

* fix compliance tests for duvet

* fix compliance tests for duvet

* change lerna version

* removed getParsedArn

* separate kms config helpers from types

* specified what's a 'bad arn' in tests

* better error msg

* no longer supressing errors from parseAwsKmsKeyArn

* changed tests to assert for specific error messages

* add a notice

* sync lock file with package.json

* consolidate helpers

* compliance test citation

* add additional flag methods to tell us config state

* divide helper function tests and class method tests

* add notice

* Revert "change lerna version"

This reverts commit a9ba112605c76295fb23cfda651f37eff9332e7b.

* Update package-lock.json

* feat(cryptographic-materials-cache): add support for branch key materials (#596)

* support branch key materials

support branch key materials

reinstall uuidv4

* reinstall uuidv4 within specific modules

* install util package

* uninstall uuidv4 package from code that may run in browser runtimes

* generate uuid v4's using uuid package instead of uuidv4

* manually validate uuid v4's

* install uuid package

* remove uuidv4 regex validation

* remove version lowercasing

* add tests for v3 & v5

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* change macLengthBytes to h as in SP800-108

* change # iterations formula

* removed dead code

* made nonce optional and added a test

* simplify calculation

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* better spacing

* match test file name with src file name

* optional nonce test

* explain why offset is not a param

* correct # iters

* modify preconditions

* sync lock file

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* made nonce optional and added a test

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* match test file name with src file name

* sync lock file after rebase

* chore: update package-lock.json (#1425)

run `npm audit fix`

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* fix(CI): bump up lerna from 7.3.0 to 8.1.6 (#615)

* bump up lerna

* Revert "bump up lerna"

This reverts commit 6b3853ea7e184f485c30d45c50c18ba2d1c7e1d9.

* Revert "feat(branch-keystore): model AWS KMS configuration"

This reverts commit fa8eabcb46290fdd1dbc99baf8ee1a3d2facdc25.

* Reapply "feat(branch-keystore): model AWS KMS configuration"

This reverts commit 96e8b3085530a67fa46fab653e173eb1db01a7e9.

* bump lerna up from 7.3.0 to 8.1.6

* add dependencies to ensure proper build

* npm audit fix

* fix test compliance issues

* fix(branch-keystore): modify AWS KMS configuration to only support single region key compatibility for now (#608)

* feat(branch-keystore): model AWS KMS configuration

* feat(keystore): create class to model AWS KMS configuration for branch keystore

* updated spec submodule to latest master

* Update spec submodule to track master branch

* feat(keystore): complete and test AWS KMS configuration class

* chore: remove version file from branch-keystore-node module

* chore: updated gitignore to ignore auto-generated version files in branch-keystore-node module

* chore: removed changelog from branch-keystore-node module so that git can autogenerate it

* added additional test for 100% coverage

* made the fix and tested

* remove duplicate compliance citations

* specified compliance tests

* fix compliance tests

* fix duvet

* remove duvet test annotations

* add compliance tests for duvet

* fix compliance tests for duvet

* fix compliance tests for duvet

* change lerna version

* removed getParsedArn

* separate kms config helpers from types

* specified what's a 'bad arn' in tests

* better error msg

* no longer supressing errors from parseAwsKmsKeyArn

* changed tests to assert for specific error messages

* add a notice

* sync lock file with package.json

* consolidate helpers

* compliance test citation

* add additional flag methods to tell us config state

* divide helper function tests and class method tests

* add notice

* Revert "change lerna version"

This reverts commit a9ba112605c76295fb23cfda651f37eff9332e7b.

* Update package-lock.json

* feat(cryptographic-materials-cache): add support for branch key materials (#596)

* support branch key materials

support branch key materials

reinstall uuidv4

* reinstall uuidv4 within specific modules

* install util package

* uninstall uuidv4 package from code that may run in browser runtimes

* generate uuid v4's using uuid package instead of uuidv4

* manually validate uuid v4's

* install uuid package

* remove uuidv4 regex validation

* remove version lowercasing

* add tests for v3 & v5

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* made nonce optional and added a test

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* match test file name with src file name

* sync lock file

* kdf

* sync lockfile

* nonce is required

* improve Uint32ToSeq function

* use pre-existing uint32 to big endian byte array

* rename kdf.ts to kdfctr.ts

* made nonce optional and added a test

* remove repeated precondition

Since kdfCtrMode will be exported from this module, its preconditions are also rawDerive's preconditions

* match test file name with src file name

* chain the calls

* sync lockfile after rebase

---------

Co-authored-by: seebees <[email protected]>
Co-authored-by: José Corella <[email protected]>

fix(keystore): Fix kms config (#627)

* change kms config

remove flag methods

remove assertValidNotAliasArn function

* less arn parsing util exports needed

type checks to class constructors and methods (#637)

* type checks to class constructors and methods

* modify grant token initialization

feat(kms-keyring-node): add AWS KMS Hierarchical keyring (#632)

* hkr

* remove timeouts

* fix test timeout issues

* add an additional verification check

* set up mocking

* document mock mechanism

* hkr

* remove timeouts

* fix test timeout issues

* add an additional verification check

* set up mocking

* document mock mechanism

* added runtime type checks to constructor

* try fixing dep errors

* fixes

* add notice

* renaming and modified preconditions

Number attributes like TTL and max cache size can only be stored with precision if they are under JavaScript's Number.MAX_SAFE_INTEGER.

In the MPL, TTL can be a non-negative signed 64-bit integer. However, JavaScript numbers cannot safely store integers beyond Number.MAX_SAFE_INTEGER. Thus, we will cap TTL in seconds such that TTL in ms is <= Number.MAX_SAFE_INTEGER. TTL could be a JS BigInt type but this would require casting back to a number in order to configure the CMC (which only deals with number types not BigInt), which leads to a lossy conversion. This same reasoning is applied to max cache size. Preconditions and tests for these preconditions are updated.

* change in wrapping AAD logic

* Update modules/kms-keyring-node/src/constants.ts

add comment about encrypted key length in the ciphertext

Co-authored-by: Rishav karanjit <[email protected]>

* update constants

change name of the kdf digest algorithm constant to specify sha256. Increases readability

* update constants

change provider id constant name to specify hierarchy

---------

Co-authored-by: Rishav karanjit <[email protected]>

hkr

remove timeouts

fix test timeout issues

add an additional verification check

set up mocking

document mock mechanism

added runtime type checks to constructor

hkr

remove timeouts

fix test timeout issues

add an additional verification check

set up mocking

document mock mechanism

fixes

add notice

renaming and modified preconditions

Number attributes like TTL and max cache size can only be stored with precision if they are under JavaScript's Number.MAX_SAFE_INTEGER.

In the MPL, TTL can be a non-negative signed 64-bit integer. However, JavaScript numbers cannot safely store integers beyond Number.MAX_SAFE_INTEGER. Thus, we will cap TTL in seconds such that TTL in ms is <= Number.MAX_SAFE_INTEGER. TTL could be a JS BigInt type but this would require casting back to a number in order to configure the CMC (which only deals with number types not BigInt), which leads to a lossy conversion. This same reasoning is applied to max cache size. Preconditions and tests for these preconditions are updated.

change in wrapping AAD logic

update constants

change name of the kdf digest algorithm constant to specify sha256. Increases readability

update constants

change provider id constant name to specify hierarchy

create example file

wrote code

add notice and sync lockfile

fix lint issue

document the example

more examples

change class name

add a comment about example branch key id supplier impl

demo code and readme

comment the demo code

update duvet anotations

first cut add storage

Updates to H-Keyring

Update tests

all tests pass and all features “work”

adding duvet anotations

More duvet updates

update the anotations

Add discovery

More citations

Add expiration

Update the spec version

Updates

add uuid to serialize

update package lock

update this one
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants