Commit graph

9 commits

Author SHA1 Message Date
Ian Scott
b9bebe3a11 Unpack handshake error 2016-05-18 18:14:03 -07:00
Ian Scott
bbaf2a8654 Refactor to keep number of parsed depths in a counter 2016-05-17 14:42:42 -07:00
Ian Scott
7ed7e896e1 Handle cases where depths appear multiple times 2016-05-17 14:41:53 -07:00
Ian Scott
a42f043768 Emit error when handshake fails, such as with bad xauth 2016-05-13 18:59:41 -07:00
Ian Scott
e8883275bf Fix auth for remote hosts and handle different auth families
- Use the remote address to find the auth cookie instead of the local
  hostname
- Read family type as big endian in Xauthority file
- Don't upgrade 127.0.0.1 TCP connections to unix domain socket (libX11
  and xcb don't do this)
- Don't error if no auth cookie is found; continue without auth
2016-03-21 16:00:52 -07:00
Ian Scott
e90c1fd239 Find cookie with same logic as libXau 2016-01-28 14:50:24 -08:00
Andrey Sidorov
70519cbb38 handle Internet cookie addresses correctly. Fixes #121 2016-01-15 16:01:54 +11:00
Minko Gechev
9b0457817a Byte order specified 2013-06-02 01:23:33 +03:00
Andrey Sidorov
3f064b218e get rid of lib/x11 nested subdirectory, lib/x11 -> lib 2013-02-19 16:23:53 +11:00
Renamed from lib/x11/handshake.js (Browse further)