8000 Recovery codes modifications to not tamper sent values by rmartinc · Pull Request #38245 · keycloak/keycloak · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Recovery codes modifications to not tamper sent values #38245

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

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

rmartinc
Copy link
Contributor

Closes #26104
Closes #26105

The recovery codes assign to the auth session the codes generated and the time when they were generated. This way both values are checked at creation time. If they were tampered the codes are generated again and sent to the user to restart the action. Tests added.

Closes keycloak#26104
Closes keycloak#26105

Signed-off-by: rmartinc <rmartinc@redhat.com>
Copy link
Contributor
@mposolda mposolda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rmartinc Thanks for the fixes!

@mposolda mposolda merged commit be4db3a into keycloak:main Mar 19, 2025
75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Users Can Change Recovery Codes Generation Timestamp Improper Input Validation for Recovery Codes Setup
2 participants
0