unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xavier Maillard <lists.emacs.help@xavier.maillard.im>
To: help-gnu-emacs@gnu.org
Subject: Re: [OSX/MAGIT] git push -u and gpg-agent
Date: Tue, 01 Dec 2015 06:43:02 +0100	[thread overview]
Message-ID: <m0io4iafmh.fsf@kcals.intra.maillard.im> (raw)
In-Reply-To: <20151130093803.GA16017@sobel.cipherstone.com> (Magnus Therning's message of "Mon, 30 Nov 2015 10:38:03 +0100")

-----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	other threads:[~2015-12-01  5:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-30  5:53 [OSX/MAGIT] git push -u and gpg-agent Xavier Maillard
2015-11-30  9:38 ` Magnus Therning
2015-12-01  5:43   ` Xavier Maillard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m0io4iafmh.fsf@kcals.intra.maillard.im \
    --to=lists.emacs.help@xavier.maillard.im \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).