-
Notifications
You must be signed in to change notification settings - Fork 46
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
Permit whitelisting VMs for copy/paste & copying logs via tags #533
Changes from 2 commits
956cc10
846105e
38dba62
3951038
d23dd8c
49916a2
a04589a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,8 @@ dom0-rpc-qubes.ClipboardPaste: | |
- marker_start: "### BEGIN securedrop-workstation ###" | ||
- marker_end: "### END securedrop-workstation ###" | ||
- content: | | ||
@tag:send-clipboard-to-sd @tag:sd-workstation ask | ||
@tag:sd-workstation @tag:receive-clipboard-from-sd ask | ||
@anyvm @tag:sd-workstation deny | ||
@tag:sd-workstation @anyvm deny | ||
dom0-rpc-qubes.FeaturesRequest: | ||
|
@@ -35,6 +37,8 @@ dom0-rpc-qubes.Filecopy: | |
- marker_start: "### BEGIN securedrop-workstation ###" | ||
- marker_end: "### END securedrop-workstation ###" | ||
- content: | | ||
sd-log @default ask | ||
sd-log @tag:receive-sd-logs ask | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's make sure all the tags added by the SDW config begin with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The requirement to include There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (This is done.) |
||
sd-proxy @tag:sd-client allow | ||
@anyvm @tag:sd-workstation deny | ||
@tag:sd-workstation @anyvm deny | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
- policy: qubes.ClipboardPaste | ||
starts_with: |- | ||
### BEGIN securedrop-workstation ### | ||
@tag:send-clipboard-to-sd @tag:sd-workstation ask | ||
@tag:sd-workstation @tag:receive-clipboard-from-sd ask | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good to have the tests updated. We also need a clean action, though: uninstalling should handle removal of these custom SDW-related tags. For example:
for each custom tag. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ended up adding a Python script leveraging |
||
@anyvm @tag:sd-workstation deny | ||
@tag:sd-workstation @anyvm deny | ||
### END securedrop-workstation ### | ||
|
@@ -15,6 +17,8 @@ | |
- policy: qubes.Filecopy | ||
starts_with: |- | ||
### BEGIN securedrop-workstation ### | ||
sd-log @default ask | ||
sd-log @tag:receive-sd-logs ask | ||
sd-proxy @tag:sd-client allow | ||
@anyvm @tag:sd-workstation deny | ||
@tag:sd-workstation @anyvm deny | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pleased to report that the directionality appears to work as intended: it's possible to allow clipboard pastes into e.g.
sd-app
, while still forbidding pastes out. Testing is critical here, will likely take the bulk of review time. Fleshing out the test plan with specific targets, even more verbose than already written, is likely to help coordinate testing.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test plan is plenty verbose now :)