authy/authy-ssh — pull request #6 by dimaulupov (2012-09-01 23:52:57+00:00)
Title: 60 seconds timeout on read of authy token

When ssh connects from the scripts on the local side
(this should not normally occur) authy-ssh script was waiting
for authy token, which was never coming.

One example is bash-completion that connects in background
to check for remote folders, and bash just stops responding
when you press tab.

This commit introduces 60 seconds timeout on authy token input.
This way scripts are no longer locking up forever.
Downside - user must enter token quicker.
In case of sms there maybe not enough time for sms to arrive.