On Wed, Apr 25, 2018 at 12:07:35PM +0200, Marius Bakke wrote:
> Pierre Neidhardt <ambre...@gmail.com> writes:
> 
> > Or else how do you people configure `git send-email' to not prompt for a
> > password?
> 
> I use 'msmtp' as the transport and have configured it to look up
> passwords from 'password-store'.
> 
> $ git config --get-regexp sendemail.*
> sendemail.smtpserver /home/marius/.guix-profile/bin/msmtp
> sendemail.envelopesender auto
> 
> My ~/.msmtprc contains a line such as
> 'passwordeval "pass Email/fm/mbakke/out 2>/dev/null"'.  Obviously you
> can use any other shell command here.
> 
> Hope this helps!

The similar line in my .msmtprc is:
passwordeval gpg --no-tty -q -d $HOME/.msmtp.password.gpg


-- 
Efraim Flashner   <efr...@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature

Reply via email to