Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a mechanism to clean DTLS Connection when SecurityInfo is removed #818

Merged
merged 3 commits into from
Mar 17, 2020

Conversation

sbernard31
Copy link
Contributor

@sbernard31 sbernard31 commented Mar 12, 2020

This aims to address #162.

With this fix as soon as the SecurityInfo is removed from the SecurityStore, corresponding DTLS connection is removed and so device is immediately unable to communicate anymore. If device try to send a packet it will be ignored. (as defined in DTLS specification)

This mechanism is enabled only if the SecurityStore implements EditableSecurityStore.

@sbernard31 sbernard31 merged commit 10bf2c5 into master Mar 17, 2020
@sbernard31 sbernard31 deleted the clean_connection branch March 25, 2020 13:21
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.

2 participants