diff options
author | Jason Cox <me@jasoncarloscox.com> | 2024-02-22 20:25:20 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-04-13 21:46:44 +0200 |
commit | 480637d9ed8cf979f4be377cb37fdd14b60ceef3 (patch) | |
tree | b4a42644e0e3b1b2718c4f9f4a638828b61bfc94 /config/aerc.conf | |
parent | f4cf6ca5c13fce8fe1f84f37cdafe62c1d2d8b0c (diff) | |
download | aerc-480637d9ed8cf979f4be377cb37fdd14b60ceef3.tar.gz |
ipc: disable IPC completely when disable-ipc=true
Truly disable IPC when disable-ipc is set to true in aerc.conf. Don't
run commands over IPC and don't start an IPC server.
Being able to disable IPC in the config is useful because it allows
making aerc open mailto links in a new instance without modifying the
aerc.desktop file. There are of course potential security benefits as
well.
Changelog-changed: The `disable-ipc` option in `aerc.conf` completely
disables IPC.
Signed-off-by: Jason Cox <me@jasoncarloscox.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config/aerc.conf')
-rw-r--r-- | config/aerc.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/aerc.conf b/config/aerc.conf index a6f287a1..70f07949 100644 --- a/config/aerc.conf +++ b/config/aerc.conf @@ -38,6 +38,13 @@ # Default: info #log-level=info +# Disable IPC entirely. Don't run commands (including mailto:... and mbox:...) +# in an existing aerc instance, and don't start an IPC server to allow +# subsequent aerc instances to run commands in the current one. +# +# Default: false +#disable-ipc=false + # Set the $TERM environment variable used for the embedded terminal. # # Default: xterm-256color |