Add symmetric SSL encryption to AIX agent#118
Closed
mike1098 wants to merge 1 commit into
Closed
Conversation
exec > >() doenst work in ksh, thats why we have to redirect to file and restore stdout as soon as agent is finished
Contributor
|
Hi Mike! I don't have an AIX host available to test against, so I was wondering if you were able/willing if you could give this proposed agent a run and let me know if you find any problems: https://github.com/rawiriblundell/checkMK/blob/merged_nix_agent/agents/check_mk_agent.merged (This is PR #28 ) Thanks either way |
Contributor
|
Hello Mike, thank you for this pull request. We will have a closer look at your patch and discuss internally on how and if we can implement it into the official code base. Internal Ref: CMK-3705 |
anthonyh209
reviewed
Mar 30, 2020
| else | ||
| exec 1>&6 6>&- | ||
| printf "00" | ||
| openssl enc -aes-256-cbc -md md5 -k "$PASSPHRASE" -nosalt |
Contributor
There was a problem hiding this comment.
Is the "-in /tmp/agent_out" also not required here?
Contributor
Author
There was a problem hiding this comment.
That looks like I missed that. Feel free to add.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
exec > >() doesnt work in ksh, thats why we have to redirect to file and restore stdout as soon as agent is finished