-
Notifications
You must be signed in to change notification settings - Fork 687
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 desktop shortcuts not displayed correctly on Tails 3.3 #2586
Comments
Thanks for filing @DonnchaC. We need to run |
Hey @kushaldas and @emkll since y'all are going to take a look at fixing this for 0.5 - recall that in the tails-config role, we have |
I tried manually run the On the other hand, the verified Tails 3.3 ISO failed to boot after installation from a USB device in a VM. |
I will submit a small python code based PR for the |
@kushaldas I had the same problem: It seems like the metadata doesn't get applied to the |
@emkll I was trying on a real file on the Desktop directory in my test. |
Finally found the issue into my code. For the record, this For any new desktop file, I had to follow two steps. This also explains the comment about setting the metadata on the real link instead of the symlink, as |
One other issue I've encountered is that these commands throw an error when you are uid 0, which is the privileges with which |
The commands I have mentioned above will work for any directory except
I have filed the upstream bug here. This comment in the source explains why this is not a problem when we double click and mark as trusted. Sadly this can not be done by any command. Possible solution
I will try out the options now, and update this issue as I find out more details. |
@kushaldas I got it to work by deleting and re-creating the symlink. If you run this as
|
Rebooting and following the steps mentioned in the above comment is not working for me. If you have marked the file trusted once, and then if you remove and follow the rest of the steps, then it will work. After reboot we are back to the same old untrusted desktop files. |
@kushaldas I seem to have made both progress and regression (see https://github.com/freedomofpress/securedrop/tree/tails_3.3_desktop_icons), it seems like environment variables are required to set the metadata. |
Bug
The desktop shortcuts for the SecureDrop Source and Journalist interfaces do not show the correct title and logo on Tail 3.3. Tails 3.3 introduces a fix for the
.desktop
file security issue. The fix requires.desktop
files to have atrusted
metadata parameter set before the.desktop
file is parsed and displayed with a custom name and icon.The shortcuts are displayed with a name like
source.desktop
and requires a user to click "Trust and Launch" before the shortcut is displayed with the correct name and icon. Requiring users to click-through this warning could cause warning fatigue and result in unsafe user behavior.Steps to reproduce
Click a SecureDrop .desktop shortcut on a Journalist Workstation running Tails 3.3.
Expected Behavior
The SecureDrop .onion opens in Tor Browser.
Actual Behavior
The user receives a warning about an untrusted .desktop file.
Comments
The SecureDrop
tails-config
Ansible role should set the Nautilusmetadata::trusted
parameter for both the Source and Journalist .desktop files.The text was updated successfully, but these errors were encountered: