-
Notifications
You must be signed in to change notification settings - Fork 42
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
Export Fail: Multiple drives detected returns generic error #1021
Comments
This is a known issue until freedomofpress/securedrop-export#25 is fixed. See also discussion in #1736. |
freedomofpress/securedrop-export#25 speaks only to multiple luks-encrypted devices. I'm a Mac user, so have multiple "encrypted devices" tooting around. If more than 1 device is detected, it was discussed a while ago seeing a simple error message thrown to the user, speaking to that. After reading through the detailed comments in freedomofpress/securedrop-export#25 and #1736 I'm still not understanding why a simple "Too many devices, pick one" message cannot be displayed. My read on the comments is that a much smarter solution is being targeted, while overlooking the simpler intermediary option of the "Too many devices, pick one and unplug the others" option. |
Not at all, I agree that having an error message for this case is a useful first iteration, freedomofpress/securedrop-export#25 describes the status code we need in order to do so (it may need re-scoping to also handle the case of non-LUKS block devices being attached). |
Description
As a Journalist user, I go to click "Export" on a file. I have 2 drives plugged into my laptop, one correctly provisioned and one not. One of two scenarios happens:
STR
Expected
There should be 2 distinct error messages for this screen...
sd-devices
VM) Something like... "Too many devices detected. Unplug whichever device you do not want to export your file to."The text was updated successfully, but these errors were encountered: