aws / aws/aws-encryption-sdk-cli

Add option to escalate warning to error

Open
#199 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
82
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Hello, I've a feature request here.

It would be useful to exit with status code ≠ 0 where currently there is just a warning.

For example, when decrypting, if the suppplied encryption context does not match that required there is only a `FAILED_VALIDATION` warning. With an error I can handle the different outcome based on the exit code.

I tried setting `PYTHONWARNINGS` to `error` but that only showed an error from ssl. I noticed nothing similar in the code.

Is this a feature you might implement?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.