From 3b69f8e3c6c1494da1ab85c65476efc90fa13dfb Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:24 +0100 Subject: feat(git): configure git send-email via ProtonMail Bridge Add a [sendemail] block targeting the local Bridge SMTP listener (127.0.0.1:1025, STARTTLS) and a credential helper scoped to that URL that fetches the password from pass (proton/bridge-smtp). The helper command is public; the secret stays in the password store. The bridge SMTP username (sensitive but not secret) goes in the per-identity private overlay (~/doxfiles), not here. Also pull in the Perl SMTP modules git send-email needs at runtime. --- dot_config/git/config | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'dot_config/git') diff --git a/dot_config/git/config b/dot_config/git/config index 87947d0..ed0fabd 100644 --- a/dot_config/git/config +++ b/dot_config/git/config @@ -133,3 +133,16 @@ path = config-personal [includeIf "gitdir:~/dev/personal/"] path = config-personal +[sendemail] + smtpServer = 127.0.0.1 + smtpServerPort = 1025 + smtpEncryption = tls + smtpDomain = localhost + confirm = auto + suppresscc = self + chainReplyTo = false + thread = true + annotate = true + assume8bitEncoding = UTF-8 +[credential "smtp://127.0.0.1:1025"] + helper = "!f() { test \"$1\" = get && printf 'password=%s\\n' \"$(pass show proton/bridge-smtp)\"; }; f" -- cgit v1.3.1