Skip to content

Drop support for DUNST_COMMAND_*#830

Merged
tsipinakis merged 1 commit into
dunst-project:masterfrom
tsipinakis:drop-commands
Feb 20, 2021
Merged

Drop support for DUNST_COMMAND_*#830
tsipinakis merged 1 commit into
dunst-project:masterfrom
tsipinakis:drop-commands

Conversation

@tsipinakis

Copy link
Copy Markdown
Member

These commands may be used for a DoS attack. Specifically, an
application that's running from a sandbox (e.g. websites with
notification permission) can toggle the permissions.

This is a low severity issue but since dunstctl is available which
performs the exact same task there is no reason to leave this in.

Credit to Vít Šesták for reporting this.

These commands may be used for a DoS attack. Specifically, an
application that's running from a sandbox (e.g.  websites with
notification permission) can toggle the permissions.

This is a low severity issue but since dunstctl is available which
performs the exact same task there is no reason to leave this in.

Credit to Vít Šesták for reporting this.
@tsipinakis

Copy link
Copy Markdown
Member Author

Drop in replacements for the removed commands:

  • notify-send DUNST_COMMAND_PAUSE -> dunstctl set-paused true
  • notify-send DUNST_COMMAND_RESUME -> dunstctl set-paused false
  • notify-send DUNST_COMMAND_TOGGLE -> dunstctl set-paused toggle

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.

1 participant