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

CLI doesn't declare a syntax error for invalid --overwrite parameter #98

Open
juneb opened this issue Nov 17, 2017 · 0 comments
Open

CLI doesn't declare a syntax error for invalid --overwrite parameter #98

juneb opened this issue Nov 17, 2017 · 0 comments
Labels

Comments

@juneb
Copy link
Contributor

juneb commented Nov 17, 2017

The CLI has --no-overwrite and --overwrite-metadata parameters. It has no documented --overwrite parameter. This should be a syntax error.

Environment:

aws-crypto --encrypt --input myData \
           --master-keys key=$cmkArn provider='aws-kms' \
           --output myEncryptedMessage \
           --encryption-context purpose=test \
           --metadata-output ~/metadata \
           --overwrite
2017-11-17 16:32:08,975 - MainThread - aws_encryption_sdk_cli - WARNING - Overwriting existing target file because no action was specified otherwise: myEncryptedMessage

(ENV) [ec2-user@ip-172-31-39-147 test]$ echo $?
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants