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 Add support for incoming emails (#22056) 2023-01-14 23:57:10 +08:00
pack.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
paginate_test.go
paginate.go
path_test.go Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
path.go
remove.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
sanitize_test.go
sanitize.go
sec_to_time_test.go
sec_to_time.go
shellquote_test.go
shellquote.go
slice_test.go
slice.go
string_test.go
string.go
timer_test.go
timer.go
truncate_test.go Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
truncate.go
url.go
util_test.go
util.go