Files
k3s/pkg
Brad Davidson 8311feb0b4 Consistently use constant-time comparison of password hashes
As per https://github.com/golang/go/issues/47001 even subtle.ConstantTimeCompare should never be used with variable-length inputs, as it will return 0 if the lengths do not match. Switch to consistently using constant-time comparisons of hashes for password checks to avoid any possible side-channel leaks that could be combined with other vectors to discover password lengths.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 239021e759)
2023-05-10 15:02:29 -07:00
..
2023-05-10 15:02:29 -07:00
2022-05-11 14:39:07 -07:00
2023-05-10 15:02:29 -07:00
2019-06-30 09:30:25 -07:00
2023-05-10 15:02:29 -07:00
2021-12-21 14:23:38 -07:00
2023-05-10 15:02:29 -07:00
2022-04-13 14:48:42 -07:00
2023-05-10 15:02:29 -07:00
2023-02-10 09:34:10 -08:00
2022-12-02 00:20:37 -08:00
2023-05-10 15:02:29 -07:00
2020-07-09 11:20:06 -07:00