Russ Magee
a425afe9b6
Tunnels working again to basic level w/o re-connect or re-dial
2018-11-01 18:52:01 -07:00
Russ Magee
081d88b9ad
tunnel setup stubs moved into Conn Read()/Write() handling
2018-10-31 20:11:00 -07:00
Russ Magee
8ee0aea0b4
(non-working) begin of total tunnel redesign
2018-10-31 09:15:28 -07:00
Russ Magee
fcbdb77c79
Cleaned up error handling in hkexnet.Conn.Read() a bit
2018-10-30 21:07:42 -07:00
Russ Magee
e75ed159f6
two-way tunnel traffic working. Hangup/re-dial on server side needs work
2018-10-28 21:46:29 -07:00
Russ Magee
632f24354b
Tunnel rough work-in-progress; data sent (wrong length) and CSOTunClose handling needs work, but it's a start...
2018-10-28 19:17:47 -07:00
Russ Magee
1e6da733a2
Work on setup for tunnels
...
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-10-27 01:51:40 -07:00
Russ Magee
48b0c41f62
Prototyped TunEndpoint struct, data flow commentary
2018-10-26 20:31:57 -07:00
Russ Magee
25d85f6759
Cleaned up hkexshd.go to use new logger as well
...
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-10-26 18:20:32 -07:00
Russ Magee
2f83d488d6
Pushed logging into sub-package to preserve windows client build
...
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-10-26 16:05:01 -07:00
Russ Magee
871f1e0dfa
Moved CSE (extended err types) back up out of UNIX shell status space
2018-10-25 22:49:08 -07:00
Russ Magee
752dbf6080
logging now uses syslog
2018-10-25 22:14:18 -07:00
Russ Magee
90deb5b1ff
Updated README.md for new CryptMTv1 cipher
2018-10-24 00:31:32 -07:00
Russ Magee
4cb535fcc9
Added support for cryptMTv1
...
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-10-24 00:16:34 -07:00
Russ Magee
97791544ab
Bump version
...
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-10-21 20:32:57 -07:00
Russ Magee
a6950408f2
Merge branch 'kex-spurious-failures'
2018-10-19 13:52:14 -07:00
Russ Magee
3991fc5065
Added keymat expansion for smallest KEX modes
...
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-10-19 13:51:57 -07:00
Russ Magee
fc4b1bf7bb
Added clause 11a. to cover crypto regs
...
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-10-19 11:56:09 -07:00
Russ Magee
d13e340895
Added clause 11a. to cover crypto regs
...
Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-10-19 11:50:17 -07:00
Russ Magee
798661a0cf
kex-spurious-failures branch:
...
-Modified KyberDialSetup()/KyberAcceptSetup() to use []byte for reading/writing
ciphertext to avoid errors caused by leading zero bytes (big.Int can't explicitly
represent these)
-TODO: Consider the same for HerraduraKEx HKexDialSetup()/HKexAcceptSetup()
2018-10-18 20:44:23 -07:00
Russ Magee
6aed5ab54f
Merge branch 'master' of ssh://blitter.com/var/git/hkexsh
2018-10-16 00:35:59 -07:00
Russ Magee
9cf55ed4ca
Adopt the Code of Merit ( http://code-of-merit.org/ )
2018-10-16 00:35:36 -07:00
Russ Magee
65953d0d99
Silence GitHub's reminder to add a code of conduct.
2018-10-16 00:29:12 -07:00
Russ Magee
a060ae39b1
HMAC portion made into symbolic const
2018-10-14 00:20:30 -07:00
Russ Magee
5d9a110d57
Added more (explicit) sizes for all KEX algs
2018-10-12 16:16:49 -07:00
Russ Magee
361fa2a7c3
Added hkexnet to LICENSE file
2018-10-10 22:37:25 -07:00
Russ Magee
703c8851b3
Moved HerraduraKEx-specific LICENSE files into component subdir
...
Added overall hkexsh LICENSE file to toplevel
2018-10-10 22:35:49 -07:00
Russ Magee
1d265c923e
Updated README.md
2018-10-10 22:08:57 -07:00
Russ Magee
fad35aa4fa
Merge branch 'add-kex-kyber768'
2018-10-10 21:42:18 -07:00
Russ Magee
231ede1734
KYBER768 KEM works. :O
2018-10-10 21:12:38 -07:00
Russ Magee
de8f9552c3
Update TODO - ~/.hkexsh_id
2018-10-08 23:42:09 -07:00
Russ Magee
4c286ae6c1
Set up to handle Kyber768 KEM
2018-10-08 21:31:11 -07:00
Russ Magee
767ae7bd07
Updates to README.md
2018-10-03 22:44:27 -07:00
Russ Magee
cb7a79063e
Added validation user actually exists on system
2018-10-03 22:31:35 -07:00
Russ Magee
420e0319ca
Merge branch 'master' of ssh://blitter.com/var/git/hkexsh
2018-10-02 21:24:10 -07:00
Russ Magee
103070d00a
Made padding size random [max/2, max); use of improved goutmp host lookup
2018-10-02 21:23:45 -07:00
Russ Magee
6788fd1adf
Made padding size random (max/2, max]; use of improved goutmp host lookup
2018-10-02 11:03:10 -07:00
Russ Magee
1485e8392e
Removed moving avg chaff in favour of random-padding
2018-10-01 20:35:50 -07:00
Russ Magee
06ee94da03
Added HMAC_SHA512
2018-09-30 00:19:25 -07:00
Russ Magee
cd9f7914e0
Dial() and Accept() again conform to net.Dial(), net.Accept() return signature
2018-09-29 12:15:53 -07:00
Russ Magee
e57d97d3e6
Changed many funcs to take *hkexnet.Conn to allow tracking of packets sent, total bytes sent and experimental moving avg chaff
2018-09-26 22:57:36 -07:00
Russ Magee
b810fa7f4a
tightened up some const types
2018-09-17 23:07:04 -07:00
Russ Magee
8b0b833d6e
Split hkexsh and hkexnet consts into separate files
2018-09-17 17:27:13 -07:00
Russ Magee
869dbf6e10
Bumped version
2018-09-16 23:54:25 -07:00
Russ Magee
1da6f37ec5
Merge branch 'master' of ssh://blitter.com/var/git/hkexsh
2018-09-16 22:22:40 -07:00
Russ Magee
84e29bdf51
Fixes to authtoken/password indication at login
2018-09-16 22:22:14 -07:00
Russ Magee
2864940a8e
Fixes to authtoken/password indication at login
2018-09-16 17:56:17 -07:00
Russ Magee
d25b883873
Fixed bug in fallback from authtoken (-g) to password login
2018-09-16 17:30:02 -07:00
Russ Magee
19697d5164
Remote exit status now reflected in client->server copies
2018-09-16 17:14:50 -07:00
Russ Magee
e02764bf4b
.hkexsh_id file supports multiple authtokens (multi remote hosts, aliases for same remote host)
2018-09-14 11:58:10 -07:00