freedomofpress / securedrop

GitHub repository for the SecureDrop whistleblower platform. Do not submit tips here!
https://securedrop.org/
Other
3.6k stars 685 forks source link

HOTP secrets are not validated correctly. #6189

Closed zenmonkeykstop closed 2 years ago

zenmonkeykstop commented 2 years ago

Description

HOTP secrets are not set up correctly in all cases:

On the JI:

Steps to Reproduce

Expected Behavior

Both cases should fail, displaying the add user form again with a message about the length requirement for HOTP secrets

Actual Behavior

Comments

Suggestions to fix, any other relevant information.

zenmonkeykstop commented 2 years ago

This should be closed by #6191