-
Notifications
You must be signed in to change notification settings - Fork 85
Cleanup test vector handlers module and prepare for release #82
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
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e671786
rename "test_vector_generator" dir to "test_vector_handlers"
mattsb42-aws 9c761f0
tweak imports to support older versions of aws-encryption-sdk
mattsb42-aws 42f407b
add aws-encryption-sdk as proper requirement
mattsb42-aws d9a97e1
add tox handlers for testing with different versions of aws-encryptio…
mattsb42-aws 9cb44f2
make required CLI arguments required
mattsb42-aws 55bd62a
add simple readme for test vector handlers
mattsb42-aws b88e9d4
set test vector handlers version to initial 1.0
mattsb42-aws 5116d7e
* pylint should not use conditional dependencies
mattsb42-aws b552aef
add test vector handlers CI to Travis config
mattsb42-aws 4a04d4f
fix Travis multiline script
mattsb42-aws 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 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
Empty file.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
####################################### | ||
aws-encryption-sdk test vector handlers | ||
####################################### | ||
|
||
There modules provide handlers to be used to process existing, or generate new, | ||
test vectors based on test vector manifests. | ||
|
||
*************** | ||
Getting Started | ||
*************** | ||
|
||
Required Prerequisites | ||
====================== | ||
|
||
* Python 2.7 or 3.4+ | ||
* aws-encryption-sdk | ||
|
||
Use | ||
=== | ||
|
||
In addition to direct use of the library, some CLI tools are provided to simplify | ||
processing of common test manifest types. | ||
|
||
Full Message Encrypt | ||
-------------------- | ||
|
||
Used to process an AWS Encryption SDK Full Message Encrypt manifest and produce | ||
a Full Message Decrypt manifest along with all corresponding plaintexts and ciphertexts. | ||
|
||
.. code:: | ||
|
||
usage: awses-full-message-encrypt [-h] --output OUTPUT --input INPUT [--human] | ||
|
||
Build ciphertexts and decrypt manifest from keys and encrypt manifests | ||
|
||
optional arguments: | ||
-h, --help show this help message and exit | ||
--output OUTPUT Directory in which to store results | ||
--input INPUT Existing full message encrypt manifest | ||
--human Output human-readable JSON | ||
|
||
|
||
Full Message Decrypt | ||
-------------------- | ||
|
||
Used to process an AWS Encryption SDK Full Message Decrypt manifest to | ||
decrypt and verify all referenced ciphertexts. | ||
|
||
.. code:: | ||
|
||
usage: awses-full-message-decrypt [-h] --input INPUT | ||
|
||
Decrypt ciphertexts generated by awses-full-message-encrypt | ||
|
||
optional arguments: | ||
-h, --help show this help message and exit | ||
--input INPUT Existing full message decrypt manifest |
1 change: 1 addition & 0 deletions
1
test_vector_generator/requirements.txt → test_vector_handlers/requirements.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
attrs >= 17.4.0 | ||
aws-encryption-sdk | ||
six |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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.
what is awses? Google tell me it's a client for AWS ElasticSeach.
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.
Shorthand for "AWS Encryption SDK" ...I forgot that ElasticSearch uses that too...any suggestions for a better shorthand?
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.
i'm not willing to fight to hard for it. It's an internal tool, so the name collision shouldn't be too bad.