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

enable replay protection by default #761

Merged
merged 3 commits into from
Feb 2, 2024
Merged

enable replay protection by default #761

merged 3 commits into from
Feb 2, 2024

Conversation

tiniuclx
Copy link
Contributor

@tiniuclx tiniuclx commented Feb 1, 2024

We are starting to test this in EITT, and we don't have imminent demos that would use the new firmware, so I think it's time to enable this globally and see if it causes any issues.

@tiniuclx tiniuclx requested review from WAvdBeek and FrankZRS February 1, 2024 10:41
@tiniuclx
Copy link
Contributor Author

tiniuclx commented Feb 1, 2024

This also fixes a bug discovered through EITT testing. Our replay window is stored in an uint32_t, and as it turns out window = window << 32 is undefined behaviour as the shift result would not fit in the specified type.

@WAvdBeek WAvdBeek merged commit 38fc086 into master Feb 2, 2024
12 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2024
@tiniuclx tiniuclx deleted the enable-replay branch February 6, 2024 16:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants