wxiaoguang
5612cf32e5
Refactor sha1 and time-limited code ( #31023 )
...
Remove "EncodeSha1", it shouldn't be used as a general purpose hasher
(just like we have removed "EncodeMD5" in #28622 )
Rewrite the "time-limited code" related code and write better tests, the
old code doesn't seem quite right.
(cherry picked from commit fb1ad920b769799aa1287441289d15477d9878c5)
Conflicts:
modules/git/utils_test.go
trivial context conflict because sha256 testing in Forgejo has diverged
2024-05-26 18:43:30 +02:00
..
2024-01-16 08:13:07 +01:00
2024-04-28 15:39:00 +02:00
2024-03-28 10:52:51 +01:00
2024-04-28 15:39:00 +02:00
2024-03-20 08:46:28 +01:00
2024-03-20 08:46:28 +01:00
2024-02-26 22:30:27 +01:00
2023-12-13 21:02:00 +00:00
2024-02-26 22:30:26 +01:00
2023-06-13 09:02:25 +00:00
2024-03-28 05:16:51 +00:00
2024-04-07 15:40:31 +02:00
2023-12-13 21:02:00 +00:00
2024-05-05 08:38:16 +01:00
2024-04-28 15:39:00 +02:00
2024-03-20 08:46:28 +01:00
2024-04-07 15:40:31 +02:00
2024-04-21 16:28:16 +02:00
2024-04-12 13:36:31 +02:00
2024-02-14 17:19:19 +01:00
2023-05-23 16:30:19 +00:00
2024-03-28 11:14:52 +00:00
2024-05-20 13:48:50 +00:00
2024-05-20 13:48:50 +00:00
2023-12-13 21:02:00 +00:00
2024-02-05 16:09:40 +01:00
2024-02-15 16:19:36 +01:00
2023-12-13 21:02:00 +00:00
2024-05-15 16:43:16 +02:00
2024-01-19 17:05:02 +01:00
2024-05-15 16:43:16 +02:00
2024-05-25 09:43:50 +02:00
2024-03-26 08:09:36 +00:00
2024-05-05 08:38:16 +01:00
2024-05-05 08:38:16 +01:00
2024-05-05 08:38:16 +01:00
2024-05-05 08:38:16 +01:00
2023-05-26 01:04:48 +00:00
2024-05-09 13:49:37 +00:00
2024-01-19 05:49:18 +00:00
2024-04-11 17:16:26 +02:00
2024-05-09 13:49:37 +00:00
2024-02-26 22:30:27 +01:00
2024-03-20 08:46:28 +01:00
2024-01-27 21:09:51 +01:00
2023-07-12 19:07:29 +02:00
2023-12-13 21:02:00 +00:00
2023-12-13 21:02:00 +00:00
2023-12-19 07:20:47 +00:00
2023-12-19 07:20:47 +00:00
2024-01-27 21:09:51 +01:00
2024-01-27 21:09:51 +01:00
2024-03-11 23:36:59 +07:00
2024-03-20 08:46:28 +01:00
2024-03-20 08:46:28 +01:00
2023-04-22 17:56:27 -04:00
2024-04-28 15:39:00 +02:00
2024-01-23 05:40:00 +00:00
2024-03-20 08:46:28 +01:00
2024-03-20 08:46:28 +01:00
2023-12-13 21:02:00 +00:00
2024-03-20 08:46:28 +01:00
2024-02-26 14:18:33 +01:00
2024-03-28 10:52:51 +01:00
2023-05-24 19:37:36 +00:00
2024-02-26 12:52:59 +01:00
2023-12-19 07:20:47 +00:00
2023-12-13 21:02:00 +00:00
2023-12-19 07:20:47 +00:00
2023-07-27 12:47:41 +02:00
2024-03-26 19:04:26 +01:00
2023-12-19 07:20:47 +00:00
2024-02-26 22:30:25 +01:00
2024-03-26 08:09:36 +00:00
2024-03-26 08:09:36 +00:00
2023-05-04 05:08:41 +00:00
2024-03-20 08:46:28 +01:00
2024-03-20 08:46:28 +01:00
2023-12-19 07:20:47 +00:00
2024-05-12 20:03:10 +02:00
2024-02-10 10:53:43 +01:00
2024-02-10 10:53:43 +01:00
2024-02-10 10:53:43 +01:00
2024-02-10 10:53:43 +01:00
2024-04-28 15:39:00 +02:00
2024-03-26 08:09:36 +00:00
2024-04-08 12:51:27 +02:00
2023-12-13 21:02:00 +00:00
2024-02-05 16:09:42 +01:00
2023-12-13 21:02:00 +00:00
2023-12-13 21:02:00 +00:00
2024-03-02 17:58:09 +01:00
2023-12-13 21:02:00 +00:00
2024-05-05 08:38:16 +01:00
2024-02-26 22:30:25 +01:00
2023-12-13 21:02:00 +00:00
2024-05-26 18:43:30 +02:00
2024-05-26 18:43:30 +02:00