Skip to content
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

Support eml #2158

Open
philmcmahon opened this issue Sep 28, 2022 · 1 comment
Open

Support eml #2158

philmcmahon opened this issue Sep 28, 2022 · 1 comment
Assignees
Labels
Milestone

Comments

@philmcmahon
Copy link
Contributor

When a user attempts to open an eml file in securedrop workstation, could the behaviour be to open the file in gedit? Currently with eml files the viewer vm starts up then immediately crashes (related issue #2007)

@micahflee
Copy link
Contributor

I'm looking into this one, as I can see how useful it would be.

We need to choose an email client, and although Thunderbird can be obnoxious, after a brief survey I think it might be the best bet. Here's what I considered:

  • Geary is lightweight and pretty, but after testing it out I discovered that it doesn't support opening EML files, it just supports reading email from connected email services.
  • Claws Mail could work. It's what Tails used years ago before switching to Thunderbird, but it's ugly and old, and I think people will have a better time with Thunderbird.
  • Kmail (KDE's email client) is an option, but it requires loading the template with tons of KDE dependencies.
  • Evolution (GNOME's email client) doesn't require too many crazy dependencies I don't think, but I couldn't get it running in an appvm based on sd-large-bookworm-template because of grsec, even after whitelisting /usr/bin/evolution, because of this error:

    2024-05-30T16:28:32.741159-07:00 fake-sd-viewer kernel: [ 2150.244406] grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/evolution[evolution:5108] uid/euid:1000/1000 gid/egid:1000/1000, parent /usr/bin/bash[bash:4328] uid/euid:1000/1000 gid/egid:1000/1000

So I think Thunderbird is probably the way to go.

In order for Thunderbird to work, we need to add the following line to /etc/paxctld.conf:

/usr/lib/thunderbird/thunderbird-bin	m

Another thing to tackle is that when opening an EML file in thunderbird which hasn't been configured, it tries to run the "set up your existing email address" first run wizard. It would be good to put some sort of empty-ish Thunderbird profile on sd-viewer to prevent this from happening.

@legoktm legoktm transferred this issue from freedomofpress/securedrop-workstation Aug 7, 2024
@legoktm legoktm added this to the 0.15.0 milestone Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Cycle Backlog
Development

No branches or pull requests

4 participants