tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tramp-connection-timeout have no effect


From: Thierry Volpiatto
Subject: tramp-connection-timeout have no effect
Date: Sat, 22 Mar 2014 11:11:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi Michael,
It seems tramp-connection-timeout have no effect, its default value of
60 is not honoured.

If I do (from emacs -Q):
C-x C-f /sudo:: RET

There is here two use cases:

1) I have an entry for the user passwd in .authinfo.gpg
   I am prompted or not (depending of timeout of gpg-agent)
   for my gpg passwd, and connected, all is fine here.

2) I have no entries for this in .authinfo.gpg and timeout of gpg-agent
   is elapsed.
   I am prompted for gpg passwd (in pinentry for me, maybe emacs if no
   gpg-agent is active)
   once done I am prompted for my user passwd, but the timeout (tramp)
   is nearly elapsed (however about 15s or maxi if I go slowly to type passwd
   20s is elapsed) and at half of my user passwd the prompt go away.

You can verify this like this:

Assume you already entered the gpg passwd.

C-x C-f /sudo:: RET

you are prompted for user passwd, do nothing and wait, you will see you
don't have to wait 60s (tramp-connection-timeout) before the prompt goes
away.

I have solved the problem in helm by disabling the timeout, but I have
no ideas if it have security consequences.

Thanks.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]