Commit graph

40 commits

Author SHA1 Message Date
localhost_frssoft
64f1f0c47c squash! Add automatic delete messages and reformat message 2023-10-02 19:05:09 +03:00
localhost_frssoft
9a79e6d7cf Add automatic delete messages and reformat message 2023-10-02 19:02:53 +03:00
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
09b949c755 another fix license... 2023-10-02 09:30:50 +03:00
localhost_frssoft
e08995d63e fix: when user on same instance as service account 2023-09-30 15:52:34 +03:00
localhost_frssoft
fd62b10c9c micro fixes 2023-09-29 04:11:18 +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
51b89003f6 addressed textures authors 2023-09-29 01:21:26 +03:00
localhost_frssoft
75c558b966 Fix license 2023-09-27 23:10:15 +00:00
localhost_frssoft
fc102dddf0 prevent flooding codes and mention spam 2023-09-27 19:47:29 +00:00
localhost_frssoft
509ef3a3b0 some fixes readme 2023-09-27 11:48:10 +00:00
localhost_frssoft
e4ae177309 squash! fork creation done 2023-09-27 10:58:45 +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
7a1827b5f7 luacheckrc fix 2023-02-02 14:37:58 +01:00
BuckarooBanzay
d140a845f1 image/issuer customization 2023-02-02 14:34:50 +01:00
BuckarooBanzay
0b6fc9269f priv revoke overhaul 2023-02-02 14:25:16 +01:00
BuckarooBanzay
4cf38c997d check if the secret is present before asking for a code 2023-01-30 19:36:03 +01:00
BuckarooBanzay
67ff44c51a saner priv handling on join 2023-01-30 18:06:06 +01:00
Buckaroo Banzai
de70d74ae9
add link to freeotp+ app 2023-01-29 17:21:45 +01:00
BuckarooBanzay
fb3e684c7b proper min engine version 2023-01-29 13:50:47 +01:00
BuckarooBanzay
a66e0f31ae sanity check for ``minetest.encode_png 2023-01-29 13:49:00 +01:00
BuckarooBanzay
72aadab7fd min version 2023-01-29 13:36:21 +01:00
BuckarooBanzay
b1bbe1f8dc better qr code 2023-01-29 13:26:24 +01:00
BuckarooBanzay
a28f9c1cb2 polish / screenshots 2023-01-29 13:16:32 +01:00
BuckarooBanzay
9f3633ea58 onboard form and join check 2023-01-29 12:13:50 +01:00
BuckarooBanzay
bb06a28048 runtime auth handler password override 2023-01-28 21:36:39 +01:00
BuckarooBanzay
9b43a014ce auth stub 2023-01-28 20:50:40 +01:00
BuckarooBanzay
5fc1459a31 onobard stub 2023-01-28 20:30:44 +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
e0d58ad2ec test code gen 2023-01-28 17:54:36 +01:00
BuckarooBanzay
1162262b9c qr code lib 2023-01-28 17:49:12 +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
64eb6077b3 proper workflow directory 2023-01-28 12:04:50 +01:00
BuckarooBanzay
7f619e4639 init 2023-01-28 12:04:14 +01:00