linaro-swg / optee_examples

OP-TEE Sample Applications
Other
163 stars 140 forks source link

optee_example_secure_storage buggy #104

Closed embetrix closed 1 year ago

embetrix commented 1 year ago

Every second pass of optee_example_secure_storage gives the following error:

Test on object "object#2"E/TA: read_raw_object:189 Failed to open persistent object, res=0xffff0008

# optee_example_secure_storage 
Prepare session with the TA

Test on object "object#1"
- Create and load object in the TA secure storage
- Read back the object
- Delete the object

Test on object "object#2"
- Object found in TA secure storage, delete it.

We're done, close and release TEE resources
# optee_example_secure_storage 
Prepare session with the TA

Test on object "object#1"
- Create and load object in the TA secure storage
- Read back the object
- Delete the object

Test on object "object#2"E/TA:  read_raw_object:189 Failed to open persistent object, res=0xffff0008

- Object not found in TA secure storage, create it.

We're done, close and release TEE resources
# optee_example_secure_storage 
Prepare session with the TA

Test on object "object#1"
- Create and load object in the TA secure storage
- Read back the object
- Delete the object

Test on object "object#2"
- Object found in TA secure storage, delete it.

We're done, close and release TEE resources
# optee_example_secure_storage 
Prepare session with the TA

Test on object "object#1"
- Create and load object in the TA secure storage
- Read back the object
- Delete the object

Test on object "object#2"E/TA:  read_raw_object:189 Failed to open persistent object, res=0xffff0008

- Object not found in TA secure storage, create it.

We're done, close and release TEE resources
# optee_example_secure_storage 
Prepare session with the TA

Test on object "object#1"
- Create and load object in the TA secure storage
- Read back the object
- Delete the object

Test on object "object#2"
- Object found in TA secure storage, delete it.

We're done, close and release TEE resources
# optee_example_secure_storage 
Prepare session with the TA

Test on object "object#1"
- Create and load object in the TA secure storage
- Read back the object
- Delete the object

Test on object "object#2"E/TA:  read_raw_object:189 Failed to open persistent object, res=0xffff0008

- Object not found in TA secure storage, create it.

We're done, close and release TEE resources
# optee_example_secure_storage 
Prepare session with the TA

Test on object "object#1"
- Create and load object in the TA secure storage
- Read back the object
- Delete the object

Test on object "object#2"
- Object found in TA secure storage, delete it.

We're done, close and release TEE resources
# optee_example_secure_storage 
Prepare session with the TA

Test on object "object#1"
- Create and load object in the TA secure storage
- Read back the object
- Delete the object

Test on object "object#2"
E/TA:  read_raw_object:189 Failed to open persistent object, res=0xffff0008
- Object not found in TA secure storage, create it.

We're done, close and release TEE resources
github-actions[bot] commented 1 year ago

This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.