Skip to content

Commit

Permalink
Rescope clipboard permission to sd-app
Browse files Browse the repository at this point in the history
  • Loading branch information
eloquence committed Apr 21, 2020
1 parent 3951038 commit d23dd8c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dom0/sd-dom0-qvm-rpc.sls
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ dom0-rpc-qubes.ClipboardPaste:
- marker_start: "### BEGIN securedrop-workstation ###"
- marker_end: "### END securedrop-workstation ###"
- content: |
@tag:sd-send-clipboard @tag:sd-workstation ask
@tag:sd-workstation @tag:sd-receive-clipboard ask
@tag:sd-send-app-clipboard sd-app ask
sd-app @tag:sd-receive-app-clipboard ask
@anyvm @tag:sd-workstation deny
@tag:sd-workstation @anyvm deny
dom0-rpc-qubes.FeaturesRequest:
Expand Down
2 changes: 1 addition & 1 deletion scripts/remove-tags
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import qubesadmin

q = qubesadmin.Qubes()

TAGS_TO_REMOVE = ["sd-send-clipboard", "sd-receive-clipboard", "sd-receive-logs"]
TAGS_TO_REMOVE = ["sd-send-app-clipboard", "sd-receive-app-clipboard", "sd-receive-logs"]


def main():
Expand Down
4 changes: 2 additions & 2 deletions tests/vars/qubes-rpc.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
- policy: qubes.ClipboardPaste
starts_with: |-
### BEGIN securedrop-workstation ###
@tag:sd-send-clipboard @tag:sd-workstation ask
@tag:sd-workstation @tag:sd-receive-clipboard ask
@tag:sd-send-app-clipboard sd-app ask
sd-app @tag:sd-receive-app-clipboard ask
@anyvm @tag:sd-workstation deny
@tag:sd-workstation @anyvm deny
### END securedrop-workstation ###
Expand Down

0 comments on commit d23dd8c

Please sign in to comment.