fido-device-onboard / client-sdk-fidoiot

This a C-based implementation of the Device component defined in FIDO Device Onboard (FDO) Specification.
Apache License 2.0
20 stars 32 forks source link

[BUG] Sporadic failure with continuous usage of CSDK built with Intel® CSE #226

Open tajnisha opened 1 year ago

tajnisha commented 1 year ago

Describe the bug "TeeConnect failed" error is observed with continuous or repeated usage of CSDK binary built with intel® CSE option. It may happen when the CSDK binary is forcefully terminated (without giving time to exit gracefully).

To Reproduce Occurs sporadically.

Expected behavior "TeeConnect failed" error is not observed.

Workaround to fix Wait for few minutes or rebooting the system will resolve this issue.

Screenshots sudo ./build/cse-clear TeeConnect failed! HECI init failed!! TeeWrite failed (10) [attempted 12 cmd bytes] HECI CLEAR DEVICE STATUS failed!! TeeWrite failed (10) [attempted 12 cmd bytes] HECI CLEAR OVH failed!! Cleared Device Status and OVH from CSE!!

Test Environment Provide details about your test environment.

Additional context Add any other context about the problem here.