Rate This Document
Findability
Accuracy
Completeness
Readability

Failed to Check the CA Permission

Symptom

When the CA is being executed, an error is reported stating "open session failed."

The following log is displayed for tlogcat, indicating that the TA caller fails the permission check.

Key Process and Cause Analysis

The CA loading path needs to be specified in the TA code. When loading the TA, the TEE OS checks whether the current caller matches the specified CA loading path. If they do not match, the error message "caller has no permission" is displayed.

Conclusion and Solution

The CA loading path is not correctly specified for the TA. Check the path and recompile and deploy the TA.