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

Decryption errors should return error code. #282

Closed
YuraBeznos opened this issue May 23, 2019 · 1 comment · Fixed by #283
Closed

Decryption errors should return error code. #282

YuraBeznos opened this issue May 23, 2019 · 1 comment · Fixed by #283

Comments

@YuraBeznos
Copy link

Decryption errors should return error code like this:

bash-4.4# eyaml decrypt -f asdf; echo $?
[hiera-eyaml-core] No such file or directory @ rb_sysopen - asdf
1

Bad behavior:

bash-4.4# eyaml decrypt -f test.yaml.enc ; echo $?
[hiera-eyaml-core] Could not parse the PKCS7: nested asn1 error
0
@YuraBeznos
Copy link
Author

@bastelfreak is there any chance to get merged fix for this issue? Could you please have a look on it?

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 a pull request may close this issue.

1 participant