-
Notifications
You must be signed in to change notification settings - Fork 691
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
securedrop-admin update
returns indistinguishable error messages for distinct error conditions
#7200
Labels
Comments
interested, will look into this |
If no one is working on this, can I take this up? |
Hey @rudradeep22, you're welcome to. If you have any questions or need help feel free to join our Matrix room. |
11 tasks
legoktm
pushed a commit
to timini/securedrop
that referenced
this issue
Dec 20, 2024
Don't emit "Signature verification failed" for multiple different error branches, which makes it far more difficult to diagnose exactly what step failed. Fixes freedomofpress#7200.
legoktm
pushed a commit
to timini/securedrop
that referenced
this issue
Dec 20, 2024
Don't emit "Signature verification failed" for multiple different error branches, which makes it far more difficult to diagnose exactly what step failed. Fixes freedomofpress#7200.
legoktm
pushed a commit
to timini/securedrop
that referenced
this issue
Dec 20, 2024
Don't emit "Signature verification failed" for multiple different error branches, which makes it far more difficult to diagnose exactly what step failed. Fixes freedomofpress#7200.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
securedrop-admin update
returns the same error messageSignature verification failed.
for multiple distinct error conditions. It's therefore necessary to step through the logic of theupdate()
function to identify the cause of the error.securedrop/admin/securedrop_admin/__init__.py
Lines 1078 to 1095 in f5ca29b
Steps to Reproduce
Discovered in the course of #7168.
Expected Behavior
Error messages either (a) are self-explanatory or (b) can be traced to a unique point in the code.
Actual Behavior
Neither.
Comments
It would be interesting to run a search for duplicated logging and exception strings across the codebase and see if this is a problem elsewhere.
The text was updated successfully, but these errors were encountered: