git.iko.soy/typeable/oauth2-proxy
on master help sign in
Fixup update session state handling
4a2cf15Joel Speed
@@ -28,7 +28,6 @@ require (
28 github.com/spf13/pflag v1.0.5
28 github.com/spf13/pflag v1.0.5
29 github.com/spf13/viper v1.6.3
29 github.com/spf13/viper v1.6.3
30 github.com/stretchr/testify v1.8.0
30 github.com/stretchr/testify v1.8.0
31− github.com/vmihailenco/msgpack/v4 v4.3.12
32 github.com/vmihailenco/msgpack/v5 v5.3.5
31 github.com/vmihailenco/msgpack/v5 v5.3.5
33 golang.org/x/crypto v0.1.0
32 golang.org/x/crypto v0.1.0
34 golang.org/x/exp v0.0.0-20221019170559-20944726eadf
33 golang.org/x/exp v0.0.0-20221019170559-20944726eadf
@@ -67,7 +66,6 @@ require (
67 github.com/spf13/afero v1.1.2 // indirect
66 github.com/spf13/afero v1.1.2 // indirect
68 github.com/spf13/jwalterweatherman v1.0.0 // indirect
67 github.com/spf13/jwalterweatherman v1.0.0 // indirect
69 github.com/subosito/gotenv v1.2.0 // indirect
68 github.com/subosito/gotenv v1.2.0 // indirect
70− github.com/vmihailenco/tagparser v0.1.1 // indirect
71 github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
69 github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
72 github.com/yuin/gopher-lua v0.0.0-20210529063254-f4c35e4016d9 // indirect
70 github.com/yuin/gopher-lua v0.0.0-20210529063254-f4c35e4016d9 // indirect
73 go.opencensus.io v0.23.0 // indirect
71 go.opencensus.io v0.23.0 // indirect
go.sum−4
@@ -410,12 +410,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
410github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=
410github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=
411github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
411github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
412github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
412github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
413−github.com/vmihailenco/msgpack/v4 v4.3.12 h1:07s4sz9IReOgdikxLTKNbBdqDMLsjPKXwvCazn8G65U=
414−github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4=
415github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU=
413github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU=
416github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc=
414github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc=
417−github.com/vmihailenco/tagparser v0.1.1 h1:quXMXlA39OCbd2wAdTsGDlK9RkOk6Wuw+x37wVyIuWY=
418−github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
419github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
415github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
420github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
416github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
421github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
417github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
pkg/cookies/csrf.go+1−1
@@ -10,7 +10,7 @@ import (
10 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/apis/sessions"
10 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/apis/sessions"
11 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/clock"
11 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/clock"
12 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/encryption"
12 "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/encryption"
13− "github.com/vmihailenco/msgpack/v4"
13+ "github.com/vmihailenco/msgpack/v5"
14)
14)
15
15
16// CSRF manages various nonces stored in the CSRF cookie during the initial
16// CSRF manages various nonces stored in the CSRF cookie during the initial