Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
- X-seq: zsh-users 20845
- From: shawn wilson <ag4ve.us@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
- Date: Wed, 28 Oct 2015 14:05:31 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=aiJ4AObyOxP4SDroNPYnHe+8FSkp7sFJZ5EX+OIZIoI=; b=zbWG7exf/MwwQ+H5g5e0mMBnZyCRWWUdTOVLmfIdlkHiS5tejKkXte2S0may0745X8 wR8leeuHWutY2pEaHgs9bsBifdFn7RZGwcCsli+6a/DvE5AJ2HjTfyVdDy/n6hk8W4aU PGv+dUb0+CKVXrz3EXNsgYdwIZnRiVMl57PtHrcQUmNJ0SrohTSlvW8cq0bUcZ5wZSOx bgH+5fUFUWQ8EGt5VK2LqIXgdCvhdTiimdOinUuzwlOtCgG/MH6nF2d1Z20jBcaYegOm ZdE/o2tbatSVoncJt6ru+uw2n9lzlo+vwrFshchZynKVSPOdvHJfHAamzEEISgeOp5RF IFfw==
- In-reply-to: <20151028162215.GA3807@laptop.local>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20151028111101.GA3212@laptop.local> <CAH_OBidXA9A=J_h2H9wzjQL2ZrckgvLa_=q66rUoibpG9DSadw@mail.gmail.com> <20151028144739.GB3212@laptop.local> <20151028150201.495472ec@pwslap01u.europe.root.pri> <20151028162215.GA3807@laptop.local>
On Wed, Oct 28, 2015 at 12:22 PM, Andreas Kusalananda Kähäri
<andreas.kahari@xxxxxxx> 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@xxxxxxx> 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.
- References:
- GnuPG 2.1 with Git, problem in zsh, not in ksh
- From: Andreas Kusalananda Kähäri
- Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
- Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
- From: Andreas Kusalananda Kähäri
- Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
- Re: GnuPG 2.1 with Git, problem in zsh, not in ksh
- From: Andreas Kusalananda Kähäri
Messages sorted by:
Reverse Date,
Date,
Thread,
Author