Skip to content

Conversation

JordanYates
Copy link
Contributor

If packet decryption from the cloud service fails, proactively send a KEY_IDS packet in response, since the most likely cause is out of date key information.

Proactively notify the cloud service of the current key identifiers on the first connection after boot. This resolves the first packet sent to the device after a complete erase cycle from failing to decrypt.

If packet decryption from the cloud service fails, proactively send a
`KEY_IDS` packet in response, since the most likely cause is out of date
key information.

Signed-off-by: Jordan Yates <[email protected]>
Proactively notify the cloud service of the current key identifiers on
the first connection after boot. This resolves the first packet sent to
the device after a complete erase cycle from failing to decrypt.

Signed-off-by: Jordan Yates <[email protected]>
Copy link

codecov bot commented Jun 3, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
subsys/epacket/interfaces/epacket_udp.c 80.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@JordanYates JordanYates merged commit 31f6624 into main Jun 3, 2025
10 checks passed
@JordanYates JordanYates deleted the bugfix/udp_key_notification branch June 3, 2025 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant