Self-test
This operation performs an internal full self-test of the device's critical components, including cryptography primitives, random number generator and key repository integrity.
Allowed users
Allowed
Required access scope
Any. Only a valid access token is required, the access scope is not been checked.
The Authorization
header is not required on fresh, not personalized devices.
Get self-test status
GET
https://my.ence.do/api/system/selftest
Get the last self-test status and rerun a new full test (only if not already ongoing).
Headers
Name | Type | Description |
---|---|---|
Authorization | String | Bearer JWT_TOKEN |
Response data for successful operation
Name | Type | Description |
---|---|---|
| Number | Fail state number, default 0 as 'no errors'. |
| Bool |
|
| Number | Last entropy test timestamp. |
| Number | Last |
| Number | Last KAT timestamp. |
| Number | Last selftest timestamp. |
| Number | Current selftest timestamp. |
| Numbe | (optional) Secure Enclave status (on Encedo PPA). |
Indirectly produced log entries
Event | Result | Source |
---|---|---|
LOG_TYPE_TRNG_FAILED | LOG_RESULT_OK | Entropy test failed |
LOG_TYPE_KEY_INTEGRITY_ERROR | LOG_RESULT_FAILED | Keystore integrity failed |
LOG_TYPE_KEY_INTEGRITY_ERROR | LOG_RESULT_OK | Keystore integrity passed |
LOG_TYPE_NON_SECURE_STATE | LOG_RESULT_OK | Enter FLS state |
LOG_TYPE_SELFTEST_PASSED | LOG_RESULT_FAILED | Powerup self-test failed |
LOG_TYPE_SELFTEST_PASSED | LOG_RESULT_OK | Powerup self-test passed |
Last updated