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

teecd Authentication

Case No.

1.5.1

Test Objective

Verify that the teecd authentication function is normal.

Test Networking

See Test Networking.

Prerequisites

  1. The TrustZone kit has been burnt into the server and the TrustZone license has been activated.
  2. The REE patch has been loaded to the server. The CA and TA can be loaded and can communicate with each other properly.

Test Procedure

  1. Log in to the REE OS and load the TrustZone REE patch tzdriver. (See Expected Result 1.)

    insmod tzdriver

  2. Deploy teecd in the /usr/local/bin directory and load it using /usr/local/bin/teecd&. (See Expected Result 2.)
  3. Run the test CA and TA. (See Expected Result 3.)
  4. Kill the teecd process, redeploy teecd to the /usr/bin directory, and load teecd using /usr/bin/teecd&. (See Expected Result 2.)
  5. Run the test CA and TA. (See Expected Result 4.)
  6. Replace the teecd binary file in the /usr/bin/ directory and then run the test CA and TA again. (See Expected Result 3.)

Expected Result

  1. tzdriver is loaded and no error information is displayed.
  2. teecd is loaded and the ps command output shows that the teecd process is resident.
  3. The CA and TA fail to be loaded. The journalctl log shows that teecd has no request permission.
  4. The CA and TA are running properly and no error information is displayed.

Test Result

  

Remarks

Ask the Huawei R&D to provide the TA and CA source code and binary files for the test.