Add mu4e mail provisioning with vault-backed iCloud secret

This commit is contained in:
Fabio Scotto di Santolo
2026-03-17 22:12:05 +01:00
parent 1b463e1cb2
commit 576999d864
8 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/usr/bin/env sh
set -eu
printf "Proton Bridge password: "
stty -echo
IFS= read -r proton_bridge_password
stty echo
printf "\n"
if [ -z "$proton_bridge_password" ]; then
printf "Error: empty password, nothing stored.\n" >&2
exit 1
fi
printf "%s" "$proton_bridge_password" \
| secret-tool store --label="ProtonMail Bridge" protonmail-bridge protonmail
printf "ProtonMail Bridge secret updated in GNOME Keyring.\n"