Skip to content
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

[kmstool-enclave-cli] Add GenerateRandom command and smoke test scripts #132

Merged
merged 6 commits into from
Mar 6, 2024

Conversation

richardfan1126
Copy link
Contributor

@richardfan1126 richardfan1126 commented Dec 15, 2023

Issue #, if available:
#131

Description of changes:

  • Add genrandom command into kmstool-enclave-cli
  • Improve README of kmstool-enclave-cli
  • Add scripts for smoke test on kmstool-enclave-cli

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Fixes issue aws#131.

Signed-off-by: Richard Fan <[email protected]>
Fix incorrect content on genkey command
Improve formatting

Signed-off-by: Richard Fan <[email protected]>
@richardfan1126 richardfan1126 changed the title Kmstool enclave cli add genrandom Add GenerateRandom command into kmstool-enclave-cli Dec 15, 2023
@richardfan1126 richardfan1126 changed the title Add GenerateRandom command into kmstool-enclave-cli [kmstool-enclave-cli] Add GenerateRandom command and smoke test scripts Dec 16, 2023
@richardfan1126
Copy link
Contributor Author

@petreeftime for your review, thanks

@richardfan1126 richardfan1126 force-pushed the kmstool-enclave-cli-add-genrandom branch from d4ea803 to 5bcde49 Compare December 16, 2023 14:23
--aws-access-key-id ${ACCESS_KEY_ID} \
--aws-secret-access-key ${SECRET_ACCESS_KEY} \
--aws-session-token ${SESSION_TOKEN} \
--ciphertext ${CIPHERTEXT}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be more useful to have a status after each test rather than exit the script after the first failure.

Eg:

Decrypt: SUCCESS
GenKey: FAIL
...
===
Status: FAIL

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in 33a67da

@agraf agraf merged commit 498d141 into aws:main Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants