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

Provide mime and paxctld configuration for template consolidation #190

Merged
merged 2 commits into from
Sep 9, 2020

Conversation

emkll
Copy link
Contributor

@emkll emkll commented Aug 28, 2020

Closes #188 , test plan can be found in TBD

  • Provides a standard paxctld configuration for all Workstation VMs
  • Provides (but does not enforce) mime type associations for sd-app, sd-devices, and sd-viewer

Due to order-of-operations, we will need to add the defensive mimetype configuration after the clean up and consolidation, as securedrop-client, securedrop-export and securedrop-workstation-svs-disp are competing with /usr/share/applications/mimeapps.list, and we do not want to introduce breakage of the functionality provided by securedrop-export` (I propose we open a follow-up issue)

* Provides files required to open in a DispVM by default
* Provides mime handling definitions for sd-app, sd-devices and sd-viewer AppVMs to be handled by salt
Current versions of securedrop-client, securedrop-export, securedrop-workstation-svs-disp already manage this file in /usr/share/applications/, which causes an error on install. In order to allow the coexistance of these packages, we need to place and move these files manually ourselves. Once we clean up the other packages (at the final phase of template-consolidation) we can manage this file properly directly through the .install file, and have it handled by this package. All other packages (client, export, svs-disp) will not handle the mimetype config, it will be handled via salt in AppVM's private volume.
Copy link
Contributor

@sssoleileraaa sssoleileraaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sssoleileraaa sssoleileraaa merged commit c23e57d into main Sep 9, 2020
conorsch pushed a commit to freedomofpress/securedrop-client that referenced this pull request Oct 19, 2020
As part of template consolidation [0], we've moved all mimetype
associations into the "securedrop-workstation-config" package [1].
The "open-in-dvm" desktop file now resides in the same package [2].

[0] freedomofpress/securedrop-workstation#471
[1] freedomofpress/securedrop-builder#190
[2] freedomofpress/securedrop-builder#198
conorsch pushed a commit to freedomofpress/securedrop-client that referenced this pull request Oct 27, 2020
As part of template consolidation [0], we've moved all mimetype
associations into the "securedrop-workstation-config" package [1].
The "open-in-dvm" desktop file now resides in the same package [2].

[0] freedomofpress/securedrop-workstation#471
[1] freedomofpress/securedrop-builder#190
[2] freedomofpress/securedrop-builder#198
@sssoleileraaa sssoleileraaa deleted the 188-mimetype-handling-in-config branch September 13, 2021 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consolidate MIME type configuration in securedrop-workstation-config package
2 participants