-
Notifications
You must be signed in to change notification settings - Fork 85
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
chore(CI): Build test vectors from source #724
Merged
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
ac79bc8
feat: Add MPL and hierarchy keyring example (#634)
lucasmcdonald3 44d9192
feat: Required encryption context CMM (#645)
lucasmcdonald3 91d06ae
chore: Merge from master (#670)
lucasmcdonald3 750bb68
chore: Added KMS keyring example (#659)
RitvikKapila 88e6d58
chore: added raw rsa and raw aes keyring examples (#661)
RitvikKapila 428fe95
chore: added keyring examples (kms_rsa, multi, discovery) (#671)
RitvikKapila 52ad465
chore(examples): Added mrk and mrk_multi keyring examples (#673)
RitvikKapila e47e441
chore(examples): added mrk discovery keyring examples (#675)
RitvikKapila 2a35192
chore(examples): Added file_streaming, migration and set_encryption_a…
RitvikKapila 986f54c
feat(test_vector_handlers): TestVectors test with MPL constructs (#650)
lucasmcdonald3 70d1364
chore(keyring examples): refactor keyring examples and move master ke…
RitvikKapila bd32c79
chore: Sync from master (#682)
lucasmcdonald3 ebbc26b
chore: performance tests for ESDK-python (#680)
RitvikKapila 39d4498
chore(performance_tests): added hierarchy keyring and caching cmm tes…
RitvikKapila 3476816
chore(migration examples): added KMS, raw AES and raw RSA keyring/MKP…
RitvikKapila fc8fd38
chore(custom_cmm_example.py): added test for custom_cmm_example.py (#…
RitvikKapila fceb2b0
chore(MPL): Update README and primary pydocs (#658)
lucasmcdonald3 ca7e159
chore: Change MPL branch, remove PYTHONPATH workarounds (#683)
lucasmcdonald3 0de58cd
feat(test_vector_handlers): Hierarchy keyring test vectors (#674)
lucasmcdonald3 5e813e7
chore(examples): Added raw RSA/AES keyring multithreaded examples (#694)
lucasmcdonald3 ffe28d9
merge
lucasmcdonald3 ff29a05
merge
lucasmcdonald3 1c73a65
test: Required encryption context CMM integration tests (#691)
lucasmcdonald3 1df7dbc
fix(Examples): Validate EC on decrypt (#697)
lucasmcdonald3 91aca72
chore: Refer to renamed MPL libraries (#698)
lucasmcdonald3 0f19a45
Update README.rst
lucasmcdonald3 219c905
fix(CI): Fix oracle linting (#702)
lucasmcdonald3 45f386e
fix(test): Fix building ESDK-Net (#703)
lucasmcdonald3 5b2b116
chore(examples): fix comments (#705)
RitvikKapila ea82181
chore(MPL): Rename MPL Python package (#706)
lucasmcdonald3 f37b355
Merge branch 'master' into mpl-reviewed
lucasmcdonald3 c14f7fe
chore: Point at PyPI MPL (#709)
lucasmcdonald3 cb56504
chore(release): Bump ESDK version, add changelog (#710)
lucasmcdonald3 2bdd114
chore(CI): Fix TestVectors timeout (#711)
lucasmcdonald3 8383b06
Update src/aws_encryption_sdk/internal/formatting/deserialize.py
lucasmcdonald3 9cddd41
feat(TestVectors): Decrypt "golden" manifest (#721)
lucasmcdonald3 abfca22
chore(CI): Bump from macOS 12 to 13 (#723)
lucasmcdonald3 81d6766
m
lucasmcdonald3 bf0b108
m
lucasmcdonald3 ae72693
m
lucasmcdonald3 e9085b7
m
lucasmcdonald3 2e369a3
no tox
lucasmcdonald3 567533c
no tox
lucasmcdonald3 fa28345
no tox
lucasmcdonald3 bb0e64e
m
lucasmcdonald3 234b9a6
m
lucasmcdonald3 3653a2b
m
lucasmcdonald3 bec81a5
spread
lucasmcdonald3 06cd362
chore: Bump to MPL 1.7.4
lucasmcdonald3 a3b85c9
1.7.4
lucasmcdonald3 dcf2de7
chore: Bump to MPL 1.7.4 (#727)
lucasmcdonald3 670b97b
Merge branch 'mpl-reviewed' into build-test-vectors
lucasmcdonald3 c4177fc
m
lucasmcdonald3 f8876fb
m
lucasmcdonald3 a6ef4a6
Merge branch 'master' into build-test-vectors
lucasmcdonald3 4d99d0c
m
lucasmcdonald3 4aa6a26
Merge branch 'master' into build-test-vectors
lucasmcdonald3 d8b6517
Update ci_codebuild-tests.yml
lucasmcdonald3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
aws-cryptography-internal-mpl-testvectors @ git+https://github.com/aws/aws-cryptographic-material-providers-library.git@python-main-with-dafny-code#subdirectory=TestVectorsAwsCryptographicMaterialProviders/runtimes/python | ||
aws-cryptographic-material-providers==1.7.4 |
24 changes: 24 additions & 0 deletions
24
test_vector_handlers/scripts/install_mpl_test_vector_runner.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Builds the Python MPL TestVector runner from source. | ||
# This package is used by the ESDK-Python test vectors for testing with the MPL. | ||
|
||
# This script is intended to be used by ESDK-Python's integration tests. | ||
# You may need or want to make local changes to get this work on your machine. | ||
|
||
# Change to the directory of the script | ||
cd "$(dirname "$0")" | ||
|
||
# Get MPL version specified in requirements.txt | ||
export mplVersion=$(grep 'aws-cryptographic-material-providers==' ../requirements_mpl.txt | sed -E 's/.*==(.+)/\1/') | ||
|
||
# Clone MPL repo to get test vectors runner source code and the Dafny version to use | ||
git clone --branch v$mplVersion --recurse-submodules https://github.com/aws/aws-cryptographic-material-providers-library.git | ||
|
||
# Download Dafny to build the test vector runner; get Dafny version from ESDK's project.properties file | ||
export dafnyVersion=$(grep '^dafnyVersion=' aws-cryptographic-material-providers-library/project.properties | cut -d '=' -f 2) | ||
curl https://github.com/dafny-lang/dafny/releases/download/v$dafnyVersion/dafny-$dafnyVersion-x64-ubuntu-20.04.zip -L -o dafny.zip | ||
unzip -qq dafny.zip && rm dafny.zip | ||
export PATH="$PWD/dafny:$PATH" | ||
|
||
# Build MPL test vector runner from source | ||
cd aws-cryptographic-material-providers-library/TestVectorsAwsCryptographicMaterialProviders/ | ||
make transpile_python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This removes the MPL from the TestVector execution environment.
Before, the MPL was installed for TestVector execution in this step. But this is a
masterkey
step, so the MPL isn't used.