eriptic / uoscore-uedhoc

C implementations for constrained (and non-constrained) devices of the IETF protocols OSCORE and EDHOC
Other
15 stars 15 forks source link

fixed the startup flow for wrong echo in the request #30

Closed mopsiok closed 1 year ago

mopsiok commented 1 year ago

With current implementation, in case of wrong value of the ECHO option in the second request, the whole flow is blocked until the device is rebooted. A state machine was introduced to properly handle it.

The solution was unit tested locally on commit 0005fc7c4d52d1799259da3cc4c39c15166539e4, as last merges introduced errors in EDHOC responder.