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

Activate AppVM MIME type configuration via securedrop-workstation-config package #603

Closed
eloquence opened this issue Aug 24, 2020 · 1 comment · Fixed by #605
Closed

Comments

@eloquence
Copy link
Member

As part of template consolidation (#471), once freedomofpress/securedrop-builder#188 is resolved, we can transition to using the securedrop-workstation-config package to configure MIME types in all AppVMs. In order to do so, we will need to symlink the correct MIME type configuration (provided by the securedrop-workstation-config package) for a given AppVM into its private volume, e.g. to /home/user/.local/share/applications/mimeapps.list.

The MIME database is updated from this source file via the update-mime-database command. We need to ensure that the database is updated whenever required, and have so far discussed two implementation options:

  • at boot time via /rw/config/rc.local, and/or
  • during provisioning

The initial work here is to complete a research spike to better understand which implementation strategy is viable (e.g., in a VM like sd-proxy).

Acceptance Criteria

To fully resolve this issue:

  • MIME type configurations for all Workstation AppVMs are selected from the configurations included in the securedrop-workstation-config package
  • Now redundant MIME type configurations provisioned via Salt or Debian packages have been removed.
@eloquence
Copy link
Member Author

Possibly related: #567 discusses implementation of a generic mechanism for enforcing Salt states beyond dom0, which could come in handy if we don't want to rely on boot time updates. Basically, whenever we update the MIME configuration, we'd have to ship an RPM update that instructs the updater to enforce the Salt state for the impacted AppVMs.

@eloquence eloquence added this to SecureDrop Sprint #56 - 8/20-9/2 in SecureDrop Team Board Aug 25, 2020
@emkll emkll moved this from SecureDrop Sprint #56 - 8/20-9/2 to In Development in SecureDrop Team Board Aug 27, 2020
SecureDrop Team Board automation moved this from In Development to Done Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
1 participant