From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: Use .authinfo for git credentials Date: Wed, 25 Apr 2018 12:07:35 +0200 Message-ID: <87r2n38uqg.fsf@fastmail.com> References: <87k1svmygw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBHKz-0002Sd-4u for guix-devel@gnu.org; Wed, 25 Apr 2018 06:07:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBHKv-00019i-Ue for guix-devel@gnu.org; Wed, 25 Apr 2018 06:07:45 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:37849) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fBHKv-000190-O6 for guix-devel@gnu.org; Wed, 25 Apr 2018 06:07:41 -0400 In-Reply-To: <87k1svmygw.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt , guix-devel --=-=-= Content-Type: text/plain Pierre Neidhardt 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! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlrgU2gACgkQoqBt8qM6 VPpjggf8CRtxrAWWhmTOm8xp1Qf0zu5kEYEQU0K+BKPG2evvwaUwCZ1t9PG3WaPw WWxQC0qMf+nx5gOhdYGicaMjvPl00yv3GeJjmtf/uZYgagv7AjjfqVwClulvWQv2 PDNkXgJWDZBDiheRX2gfkWxI86WqjfLGKtBC1egElDoN21rNqmwyQmvZoFsNnh6M LSDxucG9TaTIjrOVDOA/dMm5hdDeGcSl11OCF6dK1R/sqQ3zWg2zZZYW7RuIjf4I iWuXb6osxYePR0S3Zs5BrCY069TltgFv0ObTS2gVKZBwd1xU7/SKTETR+zaZhd2J ZyVZfiBTotadL719+vrUaFv8GmUL4w== =J38+ -----END PGP SIGNATURE----- --=-=-=--