Daniel Kahn Gillmor [2017-09-06 13:43:14-04] wrote:

> On Wed 2016-12-07 19:59:07 +0200, Teemu Likonen wrote:
>> GnuPG agent's (package: gpg-agent) man/info page says that
>>
>>     You should always add the following lines to your .bashrc or
>>     whatever initialization file is used for all shell invocations:
>>
>>      GPG_TTY=$(tty)
>>      export GPG_TTY

> I'm not convinced this is a good idea, though i confess i've always
> been a bit confused about bash's initialization process, with the
> distinctions between interactive shells, login shells, etc.

> Users who need this setting are generally special cases, and can
> figure out how to put it in themselves if they need it (and they might
> not need it at all anyway).

Maybe you are right. I just based my suggestion on the gpg-agent manual
which says "You should always add the following lines to your .bashrc
[...]". The manual is then misleading and should be rewritten to be more
specific about the issue.

I don't know whether I need GPG_TTY or not. I read the manual but I
doesn't give any answers to "why".

Attachment: signature.asc
Description: PGP signature

Reply via email to