我要评分
获取效率
正确性
完整性
易理解

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.