diff options
| author | Max Resnick <max@ofmax.li> | 2025-03-29 16:29:49 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2025-03-29 16:31:35 -0700 |
| commit | 6d4cd2c3353c6d94a3d29f675388e647788a83c3 (patch) | |
| tree | a3e92af5466c4cb3441ba88fbe5821c9c9baa34b /go.mod | |
| parent | 657ec55ac99aa06514710e9d72329f1d80c59118 (diff) | |
| download | go-git-server-6d4cd2c3353c6d94a3d29f675388e647788a83c3.tar.gz | |
feat: upgrade token security, upgrade go, packages, fix linting issues
Token generation changes:
1. Increasing to 32 bytes (256 bits) of entropy
2. Using crypto/rand.Read directly instead of loop
Diffstat (limited to 'go.mod')
| -rw-r--r-- | go.mod | 39 |
1 files changed, 20 insertions, 19 deletions
@@ -1,35 +1,36 @@ module git.ofmax.li/go-git-server -go 1.21 +go 1.24 require ( - github.com/casbin/casbin/v2 v2.82.0 - github.com/go-git/go-billy/v5 v5.5.0 - github.com/go-git/go-git/v5 v5.11.0 - golang.org/x/crypto v0.19.0 + github.com/casbin/casbin/v2 v2.104.0 + github.com/go-git/go-billy/v5 v5.6.2 + github.com/go-git/go-git/v5 v5.14.0 + golang.org/x/crypto v0.36.0 gopkg.in/ini.v1 v1.67.0 sigs.k8s.io/yaml v1.4.0 ) require ( - dario.cat/mergo v1.0.0 // indirect - github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/ProtonMail/go-crypto v1.0.0 // indirect - github.com/casbin/govaluate v1.1.1 // indirect - github.com/cloudflare/circl v1.3.7 // indirect - github.com/cyphar/filepath-securejoin v0.2.4 // indirect + dario.cat/mergo v1.0.1 // indirect + github.com/Microsoft/go-winio v0.6.2 // indirect + github.com/ProtonMail/go-crypto v1.1.6 // indirect + github.com/bmatcuk/doublestar/v4 v4.8.1 // indirect + github.com/casbin/govaluate v1.3.0 // indirect + github.com/cloudflare/circl v1.6.0 // indirect + github.com/cyphar/filepath-securejoin v0.4.1 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect - github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect - github.com/pjbgf/sha1cd v0.3.0 // indirect - github.com/sergi/go-diff v1.3.1 // indirect - github.com/skeema/knownhosts v1.2.1 // indirect + github.com/pjbgf/sha1cd v0.3.2 // indirect + github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect + github.com/skeema/knownhosts v1.3.1 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect - golang.org/x/mod v0.15.0 // indirect - golang.org/x/net v0.21.0 // indirect - golang.org/x/sys v0.17.0 // indirect - golang.org/x/tools v0.18.0 // indirect + golang.org/x/mod v0.24.0 // indirect + golang.org/x/net v0.38.0 // indirect + golang.org/x/sys v0.31.0 // indirect + golang.org/x/tools v0.31.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect ) |