-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
Goal:
- To make sure the worker receives a payload that nobody hasn't tampered with, the bash script will be signed by trusted employees and the worker needs to verify the signature.
Acceptance Criteria:
- The worker verifies that nobody has tampered with the contents of the bash script
- The worker shall receive the data in a playbook-like format and use insights-client to verify the signature
- Prepend all variables located under /vars/content_vars with RHC_WORKER_* and set them in the unix environment
- Include a go-yaml library in the project to process the incoming yaml.
Notes:
- All needed notes for this work are defined in the comments of this issue.