Skip to content

fix: _scan_payload_sync fallback handler #43

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

Closed
wants to merge 1 commit into from

Conversation

agus-ws
Copy link

@agus-ws agus-ws commented Mar 8, 2025

Currently, _fallback() handler in _scan_payload_sync() always receives the key instead of the actual password

@ubernostrum
Copy link
Owner

Interestingly, there also seems to be a bug in the tests for the fallback behavior, which is why this went undetected. I'm going to look a little more deeply into that and see if I can fix it.

ubernostrum added a commit that referenced this pull request Mar 9, 2025
This also fixes the tests for hte fallback behavior, which were
incorrect and as a result masked the fact that the fallback was being
used incorrectly in the sync path.

Thanks Aguswahyudi Steven for noticing the bug with the fallback, and
for the initial patch.
ubernostrum added a commit that referenced this pull request Mar 9, 2025
This also fixes the tests for hte fallback behavior, which were
incorrect and as a result masked the fact that the fallback was being
used incorrectly in the sync path.

Thanks Aguswahyudi Steven for noticing the bug with the fallback, and
for the initial patch.
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