Commit Graph

  • 3efdd5cfbd Removed channel-based server loop goroutine, solving eaten initial byte issue. Made receivers on hkex.Conn mutators *Conn again (whoops) TODO: Padding in ciphertext data! Russ Magee 2018-01-20 20:37:27 -0800
  • 732005d9bf Some cleanup in prep for possible io.ReadFull() fixed-block session-cmd header to resolve the eaten-byte issue handing Accept off to cmdRunner Russ Magee 2018-01-18 21:17:57 -0800
  • 49c589ee8d Added pty lib to give true terminal capability. raw mode/restore for client working Russ Magee 2018-01-18 18:57:37 -0800
  • e8fe31f6d7 Set lots of KEx Printfs to log.Printf (and off by default). Hacky non=tty shell works! Russ Magee 2018-01-17 21:27:00 -0800
  • cca2895526 Took a step back on cmd exec, just getting EOF/hangup on client/server ends working Russ Magee 2018-01-17 20:36:53 -0800
  • ad5366bdfb removed hardcoded op 'e' in client demo; hardcoded test server output Russ Magee 2018-01-17 16:55:10 -0800
  • 9fb9d073ab Completed net.Conn interface implementation for hkex.Conn; some tests of Op protocol in server Russ Magee 2018-01-17 16:39:01 -0800
  • e09f052f45 Just some commented-out SetReadDeadline() experiments Russ Magee 2018-01-16 18:30:57 -0800
  • 942b8865cf Start of proto kexsh tool client/server Russ Magee 2018-01-13 10:01:27 -0800
  • 78edf1c130 Tucked dbg{client/server} away for testing Russ Magee 2018-01-12 22:47:57 -0800
  • 9b3bd6b78b Added client/server host:port, addr:port options Russ Magee 2018-01-12 22:24:40 -0800
  • 1817627234 -Cleaned up lib code with gometalinter.v1 -Added -h opt to demo client (hmac) Russ Magee 2018-01-12 22:13:01 -0800
  • 5493921e9f -Added client -c option to pass cipher alg -Note about blowfish iv len (lack of) bounds check in .NewOFB(); -TODO added to enforce keymat from HKex >= 2*chosen cipher blocksize (assuming keylen == blocksize -- might not be true for all future algs) Russ Magee 2018-01-11 23:01:39 -0800
  • aaa99360be Made server.go and serverp.go (plaintext net example) use same bufsize Russ Magee 2018-01-11 21:32:55 -0800
  • 9054bcb89f Dial() extensions to specify cipher/hmac alg and protocol options Russ Magee 2018-01-11 19:42:42 -0800
  • 02d4d0cd50 Package documentation Russ Magee 2018-01-11 13:44:11 -0800
  • d4c9a1e456 Bit of cleanup in hkex.Read(),Write() and server.go read bufsize to 512 Russ Magee 2018-01-11 09:13:18 -0800
  • c43b13989b Hoorah, got basic crypto working over hkex Conn Russ Magee 2018-01-10 22:50:13 -0800
  • b28ca552bd Got cipher StreamReader/Writer in w/o yet using them. Russ Magee 2018-01-08 23:26:24 -0800
  • 9885067a48 Added hkexchan.go w/o testing for StreamReader/StreamWriter Russ Magee 2018-01-08 23:08:58 -0800
  • 4bccb2512d Added vanilla client.go server.go for comparison Russ Magee 2018-01-08 20:24:10 -0800
  • 3571da5703 Added concept for cipher setup -- nonworking (hkexchan.gox) Russ Magee 2018-01-08 20:23:19 -0800
  • 9aecee7ba3 Split core KEx and net support code Russ Magee 2018-01-08 19:28:04 -0800
  • f7a3be637b Split core KEx and net support code Russ Magee 2018-01-08 19:16:55 -0800
  • 2faee8eae1 HKExConn -> Conn for drop-in to net.Conn Russ Magee 2018-01-08 18:27:01 -0800
  • 11cd7bacfb Working client/server demos w/HEx and trivial XOR crypto test Russ Magee 2018-01-07 22:05:14 -0800
  • 60f2cb7e26 client/server demo hkex.Dial(), hkex.Listen()/hl.Accept() with auto-KEx Russ Magee 2018-01-06 23:58:30 +0000
  • 4dd121b10b client-side read for HKEx PeerD as part of NewHKEx() Russ Magee 2018-01-06 21:18:58 +0000
  • c8b4fa3596 HKExConn captures net.Conn Russ Magee 2018-01-06 20:26:08 +0000
  • 663f2f6d1f Prototype README.md with theory of operation Russ Magee 2018-01-06 15:41:23 +0000
  • ba2c03afe3 Initial commit Russ Magee 2018-01-06 15:30:56 +0000