Document -> Journalist interface renaming not gracefully handled by securedrop-admin
script
#1951
Labels
Milestone
securedrop-admin
script
#1951
Bug
Description
We renamed the "Document Interface" to the "Journalist Interface" in #1395, and followed up with concerns related to migration and upgrades in #1614. Most of those seem to be resolved, but introduction of the
securedrop-admin
tooling, specifically the new Tails workstation configuration via Ansible (#1803), doesn't honor the oldapp-document-aths
filename gracefully when runningsecuredrop-admin tailsconfig
. Screenshot of failure:Steps to Reproduce
0.3.12
tag.release/0.4
branch../securedrop-admin tailsconfig
and it will fail.Expected Behavior
Running the new scripts with a pre-0.4 config will work reasonably well, and not fail inscrutably due to files being renamed.
Actual Behavior
Running the new scripts with a pre-0.4 config fails inscrutably due to files being renamed.
Comments
We should be able to apply the following logic to handle the secrets on the Admin Workstation:
The question, however, is where that migration logic best fits. It would be ideal to run it automatically, perhaps as a try/except block in the Tails config logic introduced in #1803.
The text was updated successfully, but these errors were encountered: