securedrop-admin update
returns indistinguishable error messages for distinct error conditions
#7200
Labels
securedrop-admin update
returns indistinguishable error messages for distinct error conditions
#7200
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: