Commit Graph

544 Commits

Author SHA1 Message Date
Russ Magee 6ac6f02b3b Bumped version
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-23 21:52:45 -08:00
Russ Magee f3bf6d9041 Added login timeout (30s)
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-23 21:52:20 -08:00
Russ Magee 138f855a82 Bumped version
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-21 20:48:23 -08:00
Russ Magee e9aa0072a5 Initial aead/chacha20 support (ChaCha20_12)
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-21 17:21:19 -08:00
Russ Magee 8de76520e4 Added session_test.go
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-19 13:27:56 -08:00
Russ Magee e84f432033 auth.go: added new unit tests
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-18 13:41:44 -08:00
Russ Magee 654de563dc auth.go: AuthCtx added to structure mockable entities for testing
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-18 10:53:04 -08:00
Russ Magee 733fc46d86 Added unit tests for auth.go: AuthUserByToken
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-17 23:14:37 -08:00
Russ Magee d18396f535 Added unit tests for auth.go
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-17 21:17:11 -08:00
Russ Magee e320725e07 Added unit tests for auth.go
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-17 21:16:10 -08:00
Russ Magee d4a3521437 Bumped version
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-17 00:06:38 -08:00
Russ Magee c2c43c1c50 Fix for issue #23: null panic if logger obj is null due no active syslog sink
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-17 00:02:28 -08:00
Russ Magee 9ffeab2456 Tagged version v0.8.16
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-06 19:15:52 -08:00
Russ Magee 0eb785a9dc Removed WANDERER exp c_alg
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-06 19:12:45 -08:00
Russ Magee 58652ce935 Updated go.mod deps
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-06 19:02:34 -08:00
Russ Magee 1b964a4066 Updated intf to cryptmt
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-06 18:56:36 -08:00
Russ Magee 3eee573231 Resync w/cryptmt, wanderer repos
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-02-05 21:26:03 -08:00
Russ Magee d3d7ac9aae Merge branch 'master' into xc-bigfile-EOF 2020-01-30 23:33:41 -08:00
Russ Magee 6c049dde08 More throughput-friendly hack (just delay at very end vs. each packet)
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-01-30 23:32:36 -08:00
Russ Magee 862c0c3d7f Hack to throttle data overrun (sender->rcvr) during large xc operations
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-01-30 21:14:35 -08:00
Russ Magee 15a1a39d81 Fixed xsd.initrc $ARGS passing 2020-01-30 17:38:39 -08:00
Russ Magee 977380e61f Bumped version
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-01-30 17:22:36 -08:00
Russ Magee bebfd1cb1f Removed redundant assigns of stdin/out/err to conn prior to ptmx setup 2020-01-30 17:14:56 -08:00
Russ Magee 399babd62a Removed stdout redir in push build script
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-01-30 13:01:10 -08:00
Russ Magee 0303b394c8 fixed /home/russtopia/bin:/opt/eclipse:/usr/lib/go/bin:/home/russtopia/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin in push build script
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-01-30 12:58:08 -08:00
Russ Magee 0933aa4ea5 Added lint stage to push script
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-01-30 12:55:15 -08:00
Russ Magee d3ebcab1d4 Added golangci-lint config
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-01-30 12:50:38 -08:00
Russ Magee 89b6e8bce7 Version tags now reflect mod/vendor build setup.
Switched 'make lint' to use golangci-lint as gometalinter is deprecated.

Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-01-30 12:40:18 -08:00
Russ Magee eb9ce0e0e2 Updated imports and vendor/ for local fork of schwanenlied.me crypto (chacha20, newhope, kyber)
Signed-off-by: Russ Magee <rmagee@gmail.com>
2020-01-30 12:18:39 -08:00
Russ Magee d75b419c7a Merge branch 'master' of ssh://blitter.com/var/git/xs 2020-01-29 17:25:47 -08:00
Russ Magee f5be3578a8 1/3 Updated Makefile to allow VENDOR flag (adds -vendor to version string)
2/3 Added vendor/ dir to lock down dependent pkg versions.
The author of git.schwanenlied.me/yawning/{chacha20,newhope,kyber}.git has copied
their repos to gitlab.com/yawning/ but some imports of chacha20 from newhope still
inconsistently refer to git.schwanenlied.me/, breaking build.
Licenses for chacha20 also changed from CC0 to AGPL, which may or may not be an
issue. Until the two aforementioned issues are resolved, locking to last-good
versions is probably the best way forward for now.

To build with vendored deps, use make VENDOR=1 clean all

3/3 Moved body of CI push script into bacillus/
2020-01-29 17:23:44 -08:00
Russ Magee e55b560230 Introduced bacillus ci_pushbuild script 2020-01-29 16:33:12 -08:00
Russ Magee d6cd51c79f Moved body of CI push script into project from bacillus 2020-01-29 15:57:43 -08:00
Russ Magee caac02a77b 1/2 Updated Makefile to allow VENDOR flag (adds -vendor to version string)
2/2 Added vendor/ dir to lock down dependent pkg versions.
The author of git.schwanenlied.me/yawning/{chacha20,newhope,kyber}.git has copied
their repos to gitlab.com/yawning/ but some imports of chacha20 from newhope still
inconsistently refer to git.schwanenlied.me/, breaking build.
Licenses for chacha20 also changed from CC0 to AGPL, which may or may not be an
issue. Until the two aforementioned issues are resolved, locking to last-good
versions is probably the best way forward for now.

To build with vendored deps, use make VENDOR=1 clean all
2020-01-29 13:55:38 -08:00
Russ Magee 7fe915450b Bumped tag 2020-01-24 18:50:33 -08:00
Russ Magee 3be1243bf9 Updated parms to test WANDERER alg to set sboxUpdate mode 2020-01-24 18:49:34 -08:00
Russ Magee 7ce725c7d2 Bumped version -> v0.8.10 2020-01-08 17:16:24 -08:00
Russ Magee 4e0ddf282a Comments on main() xsd 2019-12-19 20:34:05 -08:00
Russ Magee 9f956cff62 branch temp version 2019-12-19 20:04:22 -08:00
Russ Magee f8f4bcbe77 go.mod updates for gopkg.in/hlandau/passlib.v1 2019-12-19 20:03:32 -08:00
Russ Magee faf4d5c50a Add (as default) option to use system shadow passwds 2019-12-19 20:01:39 -08:00
Russ Magee 1f84bc95ff Bumped version 2019-12-15 12:27:50 -08:00
Russ Magee d4f50bfdc0 xsd: Added -aK,-aC,-aH to control accepted client proposals 2019-12-15 11:38:04 -08:00
Russ Magee 9b90c0558e Fixed leftover hkexsh -> xs refs in xspasswd 2019-12-11 17:37:56 -08:00
Russ Magee 8dbb10f324 Fixed xc mode detection
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-10-29 23:50:27 -07:00
Russ Magee b19687c80b The Great Renaming: hkexsh -> xs (Xperimental Shell)
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-10-29 23:11:03 -07:00
Russ Magee 423410bb40 WIP integrating experimental WANDERER alg 2019-09-27 09:44:57 -07:00
Russ Magee a990c5e1f3 Cleaned up flag strings
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-09-14 23:47:41 -07:00
Russ Magee 3b73c6d731 Merge branch 'master' into kcp-udp 2019-09-14 22:56:19 -07:00
Russ Magee ba52356e6c Made default deeper in init funcs HERRADURAKEX512
Signed-off-by: Russ Magee <rmagee@gmail.com>
2019-09-14 22:56:03 -07:00