[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-users
Subject:    Re: dirmngr timeout
From:       Laszlo Papp <lpapp () kde ! org>
Date:       2018-04-12 8:30:11
Message-ID: CAOMwXhM=9O2rPA=1A669nP9-Yv4kER4wP+J91FbBsnJi5Wm+LQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wed, Apr 11, 2018 at 8:09 PM, Werner Koch <wk@gnupg.org> wrote:

> On Tue, 10 Apr 2018 17:19, lpapp@kde.org said:
>
> > Proxy request sent, awaiting response... 200 OK
> > Length: 58162 (57K) [application/pgp-keys]
>
> Okay that works.  Now we need to see why dirmngr has a different idea.
> When we first talked on IRC, someone else reported that he had no
> problems with that configuration - but it might not be fully the same.
> Thus I need to try replicating the problem myself - will take some time,
> though.
>
> Do you have the envvar http_proxy set?  If so you also need to have
>
> honor-http-proxy
>
> in your dirmngr.conf.
>

That is an interesting idea as one would think that the environment
variables would be respected by default rather than opting in.

honor-http-proxy did not work, but --http-proxy host[:port] did. Thank you
for pointing me to this direction.

This makes me think that dirmngr does not understand the environment
variable by default, given that it does not work "by default" and when I
try to reinforce this with honor-http-proxy. Is this information lost when
gpg launches dirmngr? If so, should it not be retained?

Is there a command line option for gpg, like for sudo (-E) and similar
software applications, to pass on all the environment variables properly if
this is the issue?

gpg is also used in my docker build process, so the best would be to
respect the environment variable by default. Are there any objections to
that? If so, what exactly?



> Salam-Shalom,
>
>    Werner
>
> --
> #  Please read:  Daniel Ellsberg - The Doomsday Machine  #
> Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users@gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>
>

[Attachment #5 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr \
11, 2018 at 8:09 PM, Werner Koch <span dir="ltr">&lt;<a href="mailto:wk@gnupg.org" \
target="_blank">wk@gnupg.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Tue, 10 Apr 2018 17:19, <a \
href="mailto:lpapp@kde.org">lpapp@kde.org</a> said:<br> <br>
&gt; Proxy request sent, awaiting response... 200 OK<br>
&gt; Length: 58162 (57K) [application/pgp-keys]<br>
<br>
</span>Okay that works.   Now we need to see why dirmngr has a different idea.<br>
When we first talked on IRC, someone else reported that he had no<br>
problems with that configuration - but it might not be fully the same.<br>
Thus I need to try replicating the problem myself - will take some time,<br>
though.<br>
<br>
Do you have the envvar http_proxy set?   If so you also need to have<br>
<br>
honor-http-proxy<br>
<br>
in your dirmngr.conf.<br></blockquote><div><br></div><div>That is an interesting idea \
as one would think that the environment variables would be respected by default \
rather than opting in.</div><div><br></div><div>honor-http-proxy did not work, but  \
--http-proxy host[:port] did. Thank you for pointing me to this \
direction.</div><div><br></div><div>This makes me think that dirmngr does not \
understand the environment variable by default, given that it does not work &quot;by \
default&quot; and when I try to reinforce this with honor-http-proxy. Is this \
information lost when gpg launches dirmngr? If so, should it not be \
retained?</div><div><br></div><div>Is there a command line option for gpg, like for \
sudo (-E) and similar software applications, to pass on all the environment variables \
properly if this is the issue?</div><div><br></div><div>gpg is also used in my docker \
build process, so the best would be to respect the environment variable by default. \
Are there any objections to that? If so, what exactly?</div><div><br></div><div>  \
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px \
solid rgb(204,204,204);padding-left:1ex"> <div class="gmail-HOEnZb"><div \
class="gmail-h5">Salam-Shalom,<br> <br>
     Werner<br>
<br>
--<br>
#   Please read:   Daniel Ellsberg - The Doomsday Machine   #<br>
Die Gedanken sind frei.   Ausnahmen regelt ein Bundesgesetz.<br>
</div></div><br>______________________________<wbr>_________________<br>
Gnupg-users mailing list<br>
<a href="mailto:Gnupg-users@gnupg.org">Gnupg-users@gnupg.org</a><br>
<a href="http://lists.gnupg.org/mailman/listinfo/gnupg-users" rel="noreferrer" \
target="_blank">http://lists.gnupg.org/<wbr>mailman/listinfo/gnupg-users</a><br> \
<br></blockquote></div><br></div></div>



_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic