Decrypted password displayed in report when using PCK.AUTOMIC_NEXUS

book

Article ID: 84704

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
N/A

When using the action package, PCK.AUTOMIC_NEXUS.PUB.ACTION.RETRIEVE_ARTIFACT with a Userid that uses a default shell of CSH, the unencrypted password is displayed in the report.
 
UC4_DECRYPTED_PWD=`java -jar "/local/0/opt/automic_test/agents/linux/resources/0200/itpa-tool.jar" ARB -cmd cipher decrypt "--102421A2B92E30AA4A" | grep "^Decrypted: " | sed 's/^Decrypted: //'` 
java -jar "/local/0/opt/automic_test/agents/linux/resources/0200/itpa-tool.jar" ARB -cmd cipher decrypt "--102421A2B92E30AA4A" | grep "^Decrypted: " | sed 's/^Decrypted: //' 
++ java -jar /local/0/opt/automic_test/agents/linux/resources/0200/itpa-tool.jar ARB -cmd cipher decrypt --102421A2B92E30AA4A 
++ grep '^Decrypted: ' 
++ sed 's/^Decrypted: //' 
+ UC4_DECRYPTED_PWD=123456789

Cause

Cause type:
Defect
Root Cause: The Unix agent turns on debug mode by default when a user uses the csh shell.

Environment

OS: Unix
OS Version: N/A

Resolution

Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Component(s): Unix agent

Automation.Engine 12.1.1 - Available
Automation Engine 12.0.4 - Available

Additional Information

Workaround :
  1. Use a different shell, such as the Bash shell
OR
  1. Create a UNIX.HEADER with a  value of:
:PUT_ATT UNIX_SHELL_OPTIONS = '+xv'