Skip to content

Security2CC_CannotDecode errors #3894

Answered by AlCalzone
kpine asked this question in Q&A
Discussion options

You must be logged in to vote

This seems to have been a really suboptimal sequence of messages.

The driver controls endpoint 1, but the device reports the change on the root device, so the verification poll is not canceled. Almost at the same time the verification poll is done, the node reports again, causing a collision.
The send attempt was a bit before that, so the shared encryption state has advanced, making the nonce of the incoming message invalid. From there it goes haywire.

I think the proper solution here would be not to increment the encryption state until the message has actually been sent.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kpine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants