Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module goauthentik.io

go 1.26.0
go 1.27.0
Comment thread
emilburzo marked this conversation as resolved.
Outdated

require (
beryju.io/ldap v0.2.1
Expand Down
2 changes: 2 additions & 0 deletions internal/outpost/proxyv2/application/mode_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ func (a *Application) configureProxy() error {
}
rsp := sentry.StartSpan(context.TODO(), "authentik.outposts.proxy.application_transport")
rp := &httputil.ReverseProxy{
// This code is deprecated/replaced on main anyways, so this is fine
//nolint:staticcheck
Director: a.proxyModifyRequest(u),
Transport: web.NewTracingTransport(rsp.Context(), a.getUpstreamTransport()),
ErrorHandler: a.newProxyErrorHandler(),
Expand Down
5 changes: 2 additions & 3 deletions internal/utils/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,15 @@ import (

func GetTLSConfig() *tls.Config {
// Based on
// https://ssl-config.mozilla.org/#server=go&version=1.25&config=intermediate&guideline=5.7
// https://configurator.tlsref.org/#server=go&version=1.27&config=intermediate&hsts&guideline=6.0
tlsConfig := &tls.Config{
MinVersion: tls.VersionTLS12,
CurvePreferences: []tls.CurveID{
tls.X25519,
tls.CurveP256,
tls.CurveP384,
},
PreferServerCipherSuites: true,
CipherSuites: []uint16{},
CipherSuites: []uint16{},
}

excludedCiphers := []uint16{
Expand Down
2 changes: 2 additions & 0 deletions internal/web/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ func (ws *WebServer) configureProxy() {
ws.log.WithField("url", req.URL.String()).WithField("headers", req.Header).Trace("tracing request to backend")
}
rp := &httputil.ReverseProxy{
// This code is deprecated/replaced on main anyways, so this is fine
//nolint:staticcheck
Director: director,
Transport: ws.upstreamHttpClient().Transport,
}
Expand Down
1 change: 1 addition & 0 deletions locale/en/dictionaries/golang.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ gorm
gorm
gorm*
logger
nolint
Loading