help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OSX/MAGIT] git push -u and gpg-agent


From: Xavier Maillard
Subject: Re: [OSX/MAGIT] git push -u and gpg-agent
Date: Tue, 01 Dec 2015 06:43:02 +0100
User-agent: Gnus (0.14), GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

thank you for your feedback.

Magnus Therning <magnus@therning.org> writes:

> On Mon, Nov 30, 2015 at 06:53:08AM +0100, Xavier Maillard wrote:
>
>> when in a Terminal (OSX), pushing upstream is just a matter of me doing:
>> 
>> git push -u origin master
>> 
>> Then, gpg-agent is asking for to type my PIN and /voila/.
>> 
>> I added my ssh identity into my GPG card (and gpg-agent just sees it):
>> 
>> ssh-add -l
>> 
>> 2048 SHA256:<identity> cardno:000603811769 (RSA)
>> 
>> Now, when trying to Push from magit, I am asked to type my remote
>> git account password which is not what I want :)
>> 
>> How can I tell GNU Emacs (with magit) to talk to my gpg-agent and,
>> eventually, ask my for my pin code ?
>
> I have the same problem in my setup.  I was hoping that adding
>
>     allow-emacs-pinentry
>
> to ~/.gnupg/gpg-agent.conf would do it, but it didn't :(

What's weird is that on the other hand, I have no problem with gpg-agent for
mails (signing, encrypting) or even to handle file decryption (eg. opening my
.authinfo.gpg file). THat only happens with `ssh-agent'

Still digging.

- -- Xavier.
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJWXTNmAAoJEDy08nibbhJtjJ4H/0BRHneIVd1Sn7mppakYqO6Q
+B7zEubjTtgMwc/gfFQFhGq/6fkrxJCRWtJGxPUn3dsl9JDuYEwLhTwBgZ+9kqxX
P6YZPaRJKL2go5iQz+ojOqDv++5BIng+R3fqv1+eeT1Vm+Hek60CkuuFoer9kOi+
o2TLk4aEmApkLG1K/7eJv8MMRsMUeR5Iwf0zOjaaSFiZ2qfz5og3cTNe+x2dnGgM
4A/HpRLW16Cw7SKLxfHICClrw2e+xJi5FM+eqKjzYs60jfIOY69t5DHnq9Qfv1XI
lwTMn0QvAP+yh9XtAe0dRBFDu7FJq5qz+2xLXCsrgeBgNvWk0yIYLPHWBLvn35o=
=Vpyg
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]