gitea/modules/util
wxiaoguang 45c15387b2
Refactor JWT secret generating & decoding code (#29172)
Old code is not consistent for generating & decoding the JWT secrets.

Now, the callers only need to use 2 consistent functions:
NewJwtSecretWithBase64 and DecodeJwtSecretBase64

And remove a non-common function Base64FixedDecode from util.go
2024-02-16 15:18:30 +00:00
..
filebuffer
rotatingfilewriter
color_test.go
color.go
error.go
file_unix_test.go
file_unix.go
file_windows.go
io_test.go
io.go
keypair_test.go
keypair.go
legacy_test.go
legacy.go
pack_test.go
pack.go
paginate_test.go
paginate.go
path_test.go
path.go Upgrade to golangci-lint@v1.55.0 (#27756) 2023-10-24 02:54:59 +00:00
remove.go
sanitize_test.go
sanitize.go
sec_to_time_test.go
sec_to_time.go
shellquote_test.go
shellquote.go
slice_test.go Replace util.SliceXxx with slices.Xxx (#26958) 2023-09-07 09:37:47 +00:00
slice.go Fix some RPM registry flaws (#28782) 2024-01-19 11:37:10 +00:00
string_test.go
string.go Add option to disable ambiguous unicode characters detection (#28454) 2023-12-17 14:38:54 +00:00
timer_test.go
timer.go
truncate_test.go
truncate.go
url.go Add RemoteAddress to mirrors (#26952) 2023-09-16 16:03:02 +00:00
util_test.go Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
util.go Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00