tobi
365b575341
[feature] add TOTP two-factor authentication (2FA) ( #3960 )
...
* [feature] add TOTP two-factor authentication (2FA)
* use byteutil.S2B to avoid allocations when comparing + generating password hashes
* don't bother with string conversion for consts
* use io.ReadFull
* use MustGenerateSecret for backup codes
* rename util functions
2025-04-07 16:14:41 +02:00
..
2025-04-07 16:14:41 +02:00
2025-04-06 14:39:40 +02:00
2025-04-06 14:39:40 +02:00
2024-05-27 17:46:15 +02:00
2025-04-06 14:39:40 +02:00
2024-07-23 20:44:31 +01:00
2025-03-17 14:06:17 +00:00
2025-03-17 14:06:17 +00:00
2025-04-06 14:39:40 +02:00
2024-03-25 17:05:14 +00:00
2025-03-03 15:03:36 +00:00
2025-02-06 12:14:37 +01:00
2023-03-12 16:00:57 +01:00
2024-07-23 20:44:31 +01:00
2024-11-11 15:45:19 +00:00
2025-04-04 18:29:22 +02:00
2025-04-04 18:29:22 +02:00
2024-11-21 13:09:58 +00:00
2025-01-14 14:23:18 +00:00
2024-11-21 13:09:58 +00:00
2025-01-14 14:23:18 +00:00
2025-04-04 18:29:22 +02:00
2025-01-05 13:20:33 +01:00
2024-05-27 17:46:15 +02:00
2024-01-29 14:57:22 +00:00
2024-11-11 15:45:19 +00:00
2023-10-18 12:17:26 +02:00
2024-10-19 11:04:07 +02:00
2024-11-11 15:45:19 +00:00
2024-03-06 11:15:58 +01:00
2024-11-11 15:45:19 +00:00
2024-03-06 11:15:58 +01:00
2024-11-11 15:45:19 +00:00
2023-12-18 14:18:25 +00:00
2024-02-07 14:43:27 +00:00
2024-09-20 13:30:33 +00:00
2025-03-26 15:59:39 +00:00
2025-03-10 13:52:19 +01:00
2024-12-05 13:35:07 +00:00
2024-11-11 15:45:19 +00:00
2024-09-16 16:46:09 +00:00
2024-11-11 15:45:19 +00:00
2024-07-24 10:41:43 +02:00
2023-07-29 12:49:14 +02:00
2023-11-10 19:29:26 +01:00
2024-12-05 13:35:07 +00:00
2023-03-12 16:00:57 +01:00
2024-11-11 15:45:19 +00:00
2024-03-06 11:18:57 +01:00
2024-09-16 16:46:09 +00:00
2025-01-23 16:47:30 -08:00
2024-11-25 15:33:21 +00:00
2024-09-16 16:46:09 +00:00
2025-02-20 11:13:07 +01:00
2024-11-11 15:45:19 +00:00
2024-11-25 14:48:59 +01:00
2024-11-11 15:45:19 +00:00
2024-11-11 15:45:19 +00:00
2024-07-24 10:41:43 +02:00
2024-09-16 16:46:09 +00:00
2024-07-31 15:03:34 +01:00
2024-09-16 16:46:09 +00:00
2024-09-16 16:46:09 +00:00
2023-08-19 14:33:15 +02:00
2024-07-24 10:41:43 +02:00
2024-05-31 12:57:42 +02:00
2024-05-31 12:57:42 +02:00
2023-03-12 16:00:57 +01:00
2024-02-07 14:43:27 +00:00
2024-09-16 16:46:09 +00:00
2024-07-15 10:47:57 +01:00
2025-03-17 14:06:17 +00:00
2024-06-06 11:44:43 +01:00
2024-11-11 15:45:19 +00:00
2024-12-05 13:35:07 +00:00
2024-12-05 13:35:07 +00:00
2024-01-13 16:33:53 +01:00
2024-11-11 15:45:19 +00:00
2024-05-27 17:46:15 +02:00
2024-11-11 15:45:19 +00:00
2023-10-25 15:04:53 +01:00
2024-07-24 10:41:43 +02:00
2025-03-10 13:52:19 +01:00
2025-03-18 12:49:21 +01:00
2024-09-16 16:46:09 +00:00
2024-04-16 13:10:13 +02:00
2023-03-27 16:02:26 +02:00
2024-09-16 16:46:09 +00:00
2024-02-27 18:18:40 +01:00
2025-01-23 16:47:30 -08:00
2025-01-23 16:47:30 -08:00
2024-07-30 13:58:31 +02:00