localhost_frssoft
77debe610f
removed qr generate png function, unused
2023-10-02 15:22:30 +03:00
localhost_frssoft
2ba6870b68
some generation code optimizations
...
passed - i_pad and o_pad can be written as just string.char(0x36):rep(64) and string.char(0x5c):rep(64) respectively.
assertion error - The loop for concatenating i_key_pad and message is pointless, you could directly do i_key_pad .. message. Same for the second concat loop.
passed - left_pad could be written as just s:rep(#str - len) .. str.
passed - The loop in generate_secret could be replaced with just buf:sub(1, 20)
Thanks https://forum.minetest.net/viewtopic.php?p=429245#p429245
2023-10-02 14:48:18 +03:00
localhost_frssoft
8bd6172234
migrate to native minetest bitwise operations (except basexx)
...
Thanks https://forum.minetest.net/viewtopic.php?p=429240#p429240
2023-10-02 11:23:32 +03:00
localhost_frssoft
e08995d63e
fix: when user on same instance as service account
2023-09-30 15:52:34 +03:00
localhost_frssoft
6b95a65a08
improved checks for input fedi handle and support instances restrictions
2023-09-29 03:50:39 +03:00
localhost_frssoft
fc102dddf0
prevent flooding codes and mention spam
2023-09-27 19:47:29 +00:00
localhost_frssoft
3466db227f
fork creation done
2023-09-27 10:57:15 +00:00
BuckarooBanzay
376d163d08
+/-30 seconds otp validity
2023-02-08 21:40:47 +01:00
BuckarooBanzay
4cf38c997d
check if the secret is present before asking for a code
2023-01-30 19:36:03 +01:00
BuckarooBanzay
b1bbe1f8dc
better qr code
2023-01-29 13:26:24 +01:00
BuckarooBanzay
9f3633ea58
onboard form and join check
2023-01-29 12:13:50 +01:00
BuckarooBanzay
14464395b5
qr formspec
2023-01-28 19:55:46 +01:00
BuckarooBanzay
10e82093b6
add otp.generate_secret()
2023-01-28 19:47:01 +01:00
BuckarooBanzay
02f90efcaa
qr code gen
2023-01-28 19:37:27 +01:00
BuckarooBanzay
54866b1f47
typo
2023-01-28 17:26:35 +01:00
BuckarooBanzay
831ba7772e
working otp code generation
2023-01-28 17:25:39 +01:00
BuckarooBanzay
7f619e4639
init
2023-01-28 12:04:14 +01:00