Re:Eternal Terminal: Remote terminal for the busy and impatient
by nitrix on Monday June 26, 2017 @09:25AM
(#14636581)
How robust is this to man-in-the-middle attacks?
[ Parent
| on HN ]
Re:Eternal Terminal: Remote terminal for the busy and impatient
by falsedan on Monday June 26, 2017 @09:43AM
(#14636707)
Since it uses SSH to transport the initial session password, as robustly as SSH is.
Re:Eternal Terminal: Remote terminal for the busy and impatient
by nitrix on Monday June 26, 2017 @10:01AM
(#14636845)
The initial password is only used for authentication, isn't it? Someone could (unless more details are provided) snoop on the connection or even inject packets.
Re:Eternal Terminal: Remote terminal for the busy and impatient
by Digitalghost on Monday June 26, 2017 @01:15PM
(#14638483)
Hey, Eternal Terminal developer here :-)
A one-time shared passkey is sent over ssh and then this passkey is used to encrypt/decrypt the data in both directions. The server and the client have different initial nonces.
Re:Eternal Terminal: Remote terminal for the busy and impatient
by visarga on Monday June 26, 2017 @08:50PM
(#14641706)
I tried and failed to log in with ssh keys. Does 'et' require password login or can it work with ssh keys as well?
Re:Eternal Terminal: Remote terminal for the busy and impatient
by falsedan on Monday June 26, 2017 @05:53PM
(#14640693)
I should have said, session key (not password).
Re:Eternal Terminal: Remote terminal for the busy and impatient
by notacoward on Monday June 26, 2017 @10:23AM
(#14637012)
That was my concern too. So ssh is used for the initial handshake? BFHD. A lot of the interesting stuff happens afterward. The "how it works" page explicitly says this:
> ET does not implement any of the SSH protocol
That implies they rolled their own wire protocol. Maybe they did a good job (like mosh appears to have done). More likely not. I'd be OK using this on an internal network or over a VPN, but relying on it alone for security would be premature.
Re:Eternal Terminal: Remote terminal for the busy and impatient
by aroch on Monday June 26, 2017 @10:48AM
(#14637192)
I think that sentence implies they're using OpenSSH not that they're rolling their own?
--Edit--
A quick glance at the repo suggests they're using NaCl to handle the encryption + the SSH server for auth
Re:Eternal Terminal: Remote terminal for the busy and impatient
by notacoward on Monday June 26, 2017 @10:59AM
(#14637300)
Well, NaCl is certainly an improvement over a completely NIH approach, but doesn't necessarily provide features like forward secrecy. It would certainly be nice if the ET authors would explain in their "how it works" page how they've solved problems like these. Forward secrecy over resumable channels is not a trivial problem for which the quality of solutions should be assumed.