mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2d9249b6d9
In PR #26786, the Go version for golangci-lint is bumped to 1.21. This causes the following error: ``` models/migrations/v1_16/v210.go:132:23: SA1019: elliptic.Marshal has been deprecated since Go 1.21: for ECDH, use the crypto/ecdh package. This function returns an encoding equivalent to that of PublicKey.Bytes in crypto/ecdh. (staticcheck) PublicKey: elliptic.Marshal(elliptic.P256(), parsed.PubKey.X, parsed.PubKey.Y), ``` The change now uses [func (*PublicKey) ECDH](https://pkg.go.dev/crypto/ecdsa#PublicKey.ECDH), which is added in Go 1.20. |
1 year ago | |
---|---|---|
.. | ||
main_test.go | ||
v189.go | 1 year ago | |
v189_test.go | ||
v190.go | 1 year ago | |
v191.go | ||
v192.go | ||
v193.go | 1 year ago | |
v193_test.go | ||
v194.go | 1 year ago | |
v195.go | 1 year ago | |
v195_test.go | ||
v196.go | 1 year ago | |
v197.go | 1 year ago | |
v198.go | 1 year ago | |
v199.go | ||
v200.go | 1 year ago | |
v201.go | ||
v202.go | 1 year ago | |
v203.go | 1 year ago | |
v204.go | 1 year ago | |
v205.go | ||
v206.go | 1 year ago | |
v207.go | ||
v208.go | ||
v209.go | ||
v210.go | 1 year ago | |
v210_test.go |