Commit graph

68 commits

Author SHA1 Message Date
Bolke de Bruin
b05886db73 Remove cobra
Cobra is pretty opnionated and its complexity isnt required
currently.
2022-08-11 14:25:07 +02:00
Bolke de Bruin
cd4182c1f5 Switch from viper to koanf 2022-08-11 13:58:24 +02:00
Bolke de Bruin
8ef2e3c153 Correct handshake response 2022-08-11 13:24:12 +02:00
Bolke de Bruin
b28d1787fc Allow filesystemstore for sessions (#15)
AD and other IdPs can provide long lists of group
membership. This can lead to securecookie too big
as this cannot always be stored inside a HTTP header.
Filesystem session storage removes this limitions at the
cost of not being entirely stateless anymore. It is therefore
required that clients can keep state with the rdpgw
instance.
2022-08-11 12:29:52 +02:00
Bolke de Bruin
1f7d8620d9 Debug 2022-08-10 22:47:52 +02:00
Bolke de Bruin
6a7d99cbba Fix tests 2022-08-10 22:21:58 +02:00
Bolke de Bruin
1ac36df867 Return proper error if caps don't match 2022-08-10 22:20:49 +02:00
Bolke de Bruin
b2f82c4ab9 Fix tests 2022-08-08 12:05:43 +02:00
Bolke de Bruin
9365fb03dc Fix error code 2022-08-08 11:51:35 +02:00
Bolke de Bruin
1cc667897e Fix errors and use correct error codes 2022-08-08 11:33:16 +02:00
Bolke de Bruin
dfb82889d3 Add error coes and better protocol handling 2022-08-07 12:03:44 +02:00
Bolke de Bruin
ce84fd9cf1 channel testing 2022-08-06 12:33:23 +02:00
Bolke de Bruin
b83f876687 Test 2022-08-06 11:51:14 +02:00
Bolke de Bruin
6917beb0d2 Testing 2022-08-06 11:45:48 +02:00
Bolke de Bruin
008ae03557 TLS updates 2022-08-04 21:49:59 +02:00
Bolke de Bruin
0f329f8e55 Allow disabling TLS behind a load balancer
Upgrade dependencies
2022-08-04 21:34:52 +02:00
Krzysztof Adamski
48da75b96d
Bump go to 1.17 and upgrade deps (#32)
Co-authored-by: Krzysztof Adamski <krzysztof.adamski@ing.com>
2022-07-08 09:55:10 +02:00
Bolke de Bruin
bf362b4e52 Add Makefile build
This prepares for multiple binaries and distribution builds
2021-05-17 09:53:30 +02:00