From 037bc21902e573f1d0d6c57c565eb1481394b8a9 Mon Sep 17 00:00:00 2001 From: Simon Ungar Felding Date: Thu, 12 Dec 2024 12:49:00 +0100 Subject: [PATCH] disable the vault-editor stuff because it is currently broken. --- build/entrypoint.sh | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/build/entrypoint.sh b/build/entrypoint.sh index 5392ec7..5cc170c 100644 --- a/build/entrypoint.sh +++ b/build/entrypoint.sh @@ -54,17 +54,18 @@ else socat TCP-LISTEN:2025,fork TCP:127.0.0.1:1025 & socat TCP-LISTEN:2143,fork TCP:127.0.0.1:1143 & - # check if the vault-editor can read the config - /protonmail/vault-editor read 2>&1 1>/dev/null - # Modify the protonmail config with env variables and expected values - /protonmail/vault-editor read | \ - jq '.Settings.AutoUpdate = env.PROTONMAIL_AutoUpdate - | .Settings.TelemetryDisabled = env.PROTONMAIL_TelemetryDisabled - | .Settings.GluonDir |= "\(env.HOME)/.local/share/protonmail/bridge-v3/gluon" - | .Settings.Autostart = false - | .Settings.SMTPPort = 1025 - | .Settings.IMAPPort = 1143 ' \ - | /protonmail/vault-editor write + # Broken until https://github.com/ProtonMail/proton-bridge/issues/512 is resolved. + # # check if the vault-editor can read the config + # /protonmail/vault-editor read 2>&1 1>/dev/null + # # Modify the protonmail config with env variables and expected values + # /protonmail/vault-editor read | \ + # jq '.Settings.AutoUpdate = env.PROTONMAIL_AutoUpdate + # | .Settings.TelemetryDisabled = env.PROTONMAIL_TelemetryDisabled + # | .Settings.GluonDir |= "\(env.HOME)/.local/share/protonmail/bridge-v3/gluon" + # | .Settings.Autostart = false + # | .Settings.SMTPPort = 1025 + # | .Settings.IMAPPort = 1143 ' \ + # | /protonmail/vault-editor write # Start protonmail /protonmail/proton-bridge --noninteractive $@