itdoxy-lab/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.go
color_test.go
error.go
file_unix.go
file_unix_test.go
file_windows.go
io.go
io_test.go
keypair.go
keypair_test.go
legacy.go
legacy_test.go
pack.go
pack_test.go
paginate.go
paginate_test.go
path.go
path_test.go
remove.go
sanitize.go
sanitize_test.go
sec_to_time.go
sec_to_time_test.go
shellquote.go
shellquote_test.go
slice.go Fix some RPM registry flaws (#28782) 2024-01-19 11:37:10 +00:00
slice_test.go
string.go
string_test.go
timer.go
timer_test.go
truncate.go
truncate_test.go
url.go
util.go Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00
util_test.go Refactor JWT secret generating & decoding code (#29172) 2024-02-16 15:18:30 +00:00