You are implementing a request to view secrets in Vaults via A2A and got a problem:
On the "prototype" Linux VM which has to receive secrets from PAM via A2A, when the PAM console sends requests to the A2A Agent for the hash of a script (for integrity checking purposes), the request fails and the following error is found in the logs:
MODULE: cspminterface/scriptservice_unix.c FUNCTION: getScriptIdForUnix MESSAGE: Fail to generate hash (see attached log)
CA PAM 4.2.3
CA PAM do not print a message when the file is not found.
There are two possible causes and resolutions: There is a mistake in the file name or file path, and the file is not found, or the user running the A2A service does not have permission to read the file, which is needed to get a hash.