Examples refresh, take 1#219
Merged
mattsb42-aws merged 68 commits intoaws:keyringfrom Mar 12, 2020
mattsb42-aws:keyring-examples-reorg
Merged
Examples refresh, take 1#219mattsb42-aws merged 68 commits intoaws:keyringfrom mattsb42-aws:keyring-examples-reorg
mattsb42-aws merged 68 commits intoaws:keyringfrom
mattsb42-aws:keyring-examples-reorg
Conversation
* Added a check for max_age being greater than 0 * Fixed flake8 by adding missing pydocstyle dependency * Added the dependency to decrypt_oracle as well * Added test for max_age<=0 ValueError * Updated test for max_age<=0.0 ValueError * Added negative test case
Update PR template
…yption-sdk-python into a1b1c1-example
… still working on populating the tests correctly, so the CI will fail, but I tested the code with my own KMS CMK ARNs, so I know it will work once the tests are populated (working with Tejeswini on this)
…d test keys in different regions for this example
…ured (#179) * Fixed KMS master key provider tests for users who have their default AWS region configured * created fixture for botocore session with no region set * add auto-used fixture in KMS master key provider unit tests to test against both with and without default region
acioc
previously approved these changes
Mar 9, 2020
juneb
reviewed
Mar 9, 2020
Contributor
juneb
left a comment
There was a problem hiding this comment.
Got through the intro + streaming example. If you accept a change, please propagate that change throughout the file. I'll review again when you've rev'd the PR.
| for chunk in encryptor: | ||
| ciphertext.write(chunk) | ||
|
|
||
| # Verify that the ciphertext and plaintext are different. |
Member
Author
There was a problem hiding this comment.
It is, but I'm not sure what else we can really make a concrete statement about to demonstrate that "yes, this is encrypted" without getting really complicated.
Co-Authored-By: June Blender <juneb@users.noreply.github.com>
Co-Authored-By: June Blender <juneb@users.noreply.github.com>
juneb
reviewed
Mar 10, 2020
Contributor
juneb
left a comment
There was a problem hiding this comment.
Reviewed until MK/MKP legacy examples. If you need more, let me know.
Co-Authored-By: June Blender <juneb@users.noreply.github.com>
juneb
approved these changes
Mar 12, 2020
This was referenced Mar 12, 2020
WesleyRosenblum
added a commit
to aws/aws-encryption-sdk-java
that referenced
this pull request
Mar 20, 2020
1 task
WesleyRosenblum
added a commit
to aws/aws-encryption-sdk-java
that referenced
this pull request
Mar 31, 2020
* Adding new examples and example test runner to follow the format set in aws/aws-encryption-sdk-python#219 * Updated wording and copyright notice * Adding periods * Adding NIST recommendation for RSA * Adding example for DER formatted RSA keys * Wording changes based on feedback
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Issue #, if available:
#156
#213
resolves: #177
Description of changes:
There are three main things going on here:
legacymodule. I'll be pulling some of them out into their appropriate place later, pending the next item.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Check any applicable: