zsh-users
 help / color / mirror / code / Atom feed
From: shawn wilson <ag4ve.us@gmail.com>
To: Peter Stephenson <p.stephenson@samsung.com>,
	Zsh Users <zsh-users@zsh.org>
Subject: Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
Date: Wed, 28 Oct 2015 14:05:31 -0400	[thread overview]
Message-ID: <CAH_OBif1Joh3famU-nDMoZvzN7Y4uM7yDT5FQQRA2G9rb71mfw@mail.gmail.com> (raw)
In-Reply-To: <20151028162215.GA3807@laptop.local>

On Wed, Oct 28, 2015 at 12:22 PM, Andreas Kusalananda Kähäri
<andreas.kahari@bils.se> wrote:
> On Wed, Oct 28, 2015 at 03:02:01PM +0000, Peter Stephenson wrote:
>> On Wed, 28 Oct 2015 15:47:39 +0100
>> Andreas Kusalananda Kähäri <andreas.kahari@bils.se> wrote:
>> > Setting GPG_TTY=$( tty ) solved it for me!
>> >
>> > GnuPG 2.1 doesn't use GPG_AGENT_INFO any longer, according to the
>> > gpg2(1) manual.
>> >
>> > I still don't know why it worked in ksh though... (but never mind).
>>
>> Maybe something in your ksh set up is marking the variables for export?
>> It won't do that automatically, though.
>>
>> pws
>>
>
> I don't think that's it. I don't have a ~/.profile file or point $ENV
> to anything and ksh93 (standard on OS X, which I use) don't parse any
> other startup files. The system /etc/profile only sets the $PATH. The
> environment is inherited from my zsh session when I start up ksh, that's
> about it, and it worked in ksh but not in zsh (does now, since I set
> $GPG_TTY).
>

anything in {,/usr/local}/etc/<whatever files ksh uses> ?

> I'm wondering if there's some magic happening behind the scenes that I
> don't know about. Maybe something in $FPATH gets triggered and does the
> wrong thing?
>

IDK what gpg 2 does - I'm still on 1, but your shell doesn't do magic
out of the box - you have to wave (and throw things) at it to make
that happen.


  reply	other threads:[~2015-10-28 18:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-28 11:11 Andreas Kusalananda Kähäri
2015-10-28 14:33 ` shawn wilson
2015-10-28 14:47   ` Andreas Kusalananda Kähäri
2015-10-28 15:02     ` Peter Stephenson
2015-10-28 16:22       ` Andreas Kusalananda Kähäri
2015-10-28 18:05         ` shawn wilson [this message]
2015-10-28 19:50           ` Andreas Kusalananda Kähäri
2015-10-28 23:49             ` Bart Schaefer
2015-10-29  6:47               ` Andreas Kusalananda Kähäri
2015-10-29 11:47                 ` Simon Ruderich
2015-10-29 17:22                   ` Andreas Kusalananda Kähäri

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

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

  git send-email \
    --in-reply-to=CAH_OBif1Joh3famU-nDMoZvzN7Y4uM7yDT5FQQRA2G9rb71mfw@mail.gmail.com \
    --to=ag4ve.us@gmail.com \
    --cc=p.stephenson@samsung.com \
    --cc=zsh-users@zsh.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).